Searched refs:resultLen (Results 1 - 3 of 3) sorted by relevance
/commonlibrary/ets_utils/js_util_module/util/ |
H A D | js_textdecoder.cpp | 225 size_t resultLen = target - arr; in DecodeToString() local 227 SetIgnoreBOM(arr, resultLen, omitInitialBom); in DecodeToString() 231 resultLen--; in DecodeToString() 233 napi_value resultStr = GetResultStr(env, arrDat, resultLen); in DecodeToString() 284 void TextDecoder::SetIgnoreBOM(const UChar *arr, size_t resultLen, bool &bomFlag) in SetIgnoreBOM() argument 295 if (resultLen > 0 && IsUnicode() && IsIgnoreBom()) { in SetIgnoreBOM()
|
H A D | js_stringdecoder.cpp | 68 size_t resultLen = target - arr; in Write() local 69 napi_create_string_utf16(env, reinterpret_cast<char16_t *>(arr), resultLen, &resultStr); in Write()
|
H A D | js_textdecoder.h | 139 void SetIgnoreBOM(const UChar *arr, size_t resultLen, bool& bomFlag);
|
Completed in 2 milliseconds