Home
last modified time | relevance | path

Searched refs:codeFlag (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Djs_textdecoder.cpp91 UErrorCode codeFlag = U_ZERO_ERROR; in Decode() local
92 …ode(GetConverterPtr(), &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in Decode()
93 if (codeFlag != U_ZERO_ERROR) { in Decode()
99 SetBomFlag(arr, codeFlag, decArr, resultLength, omitInitialBom); in Decode()
142 UErrorCode codeFlag = U_ZERO_ERROR; in DecodeToString() local
143 …ode(GetConverterPtr(), &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in DecodeToString()
144 if (codeFlag != U_ZERO_ERROR) { in DecodeToString()
229 … void TextDecoder::SetBomFlag(const UChar *arr, const UErrorCode codeFlag, const DecodeArr decArr, in SetBomFlag() argument
235 if (U_SUCCESS(codeFlag)) { in SetBomFlag()
H A Djs_stringdecoder.cpp55 UErrorCode codeFlag = U_ZERO_ERROR; in Write() local
56 … ucnv_toUnicode(conv_, &target, target + len, &source, source + length, nullptr, flush, &codeFlag); in Write()
57 if (U_FAILURE(codeFlag)) { in Write()
60 err += u_errorName(codeFlag); in Write()
64 pendingLen_ = ucnv_toUCountPending(conv_, &codeFlag); in Write()
H A Djs_textdecoder.h150 void SetBomFlag(const UChar *arr, const UErrorCode codeFlag, const DecodeArr decArr,
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_ms_feature.cpp569 int32_t codeFlag = -1; in GetInnerBundleInfos() local
570 ReadInt32(req, &codeFlag); in GetInnerBundleInfos()
571 if (codeFlag == GET_BUNDLE_INFOS) { in GetInnerBundleInfos()
575 } else if (codeFlag == QUERY_KEEPALIVE_BUNDLE_INFOS) { in GetInnerBundleInfos()
577 } else if (codeFlag == GET_BUNDLE_INFOS_BY_METADATA) { in GetInnerBundleInfos()