Lines Matching refs:TextDecoder
34 TextDecoder::TextDecoder(const std::string &buff, std::vector<int> optionVec) in TextDecoder() function in OHOS::Util::TextDecoder
58 napi_value TextDecoder::Decode(napi_env env, napi_value src, bool iflag) in Decode()
115 napi_value TextDecoder::DecodeToString(napi_env env, napi_value src, bool iflag) in DecodeToString()
168 napi_value TextDecoder::GetEncoding(napi_env env) const in GetEncoding()
176 napi_value TextDecoder::GetFatal(napi_env env) const in GetFatal()
190 napi_value TextDecoder::GetIgnoreBOM(napi_env env) const in GetIgnoreBOM()
204 size_t TextDecoder::GetMinByteSize() const in GetMinByteSize()
213 void TextDecoder::Reset() const in Reset()
221 void TextDecoder::FreedMemory(UChar *&pData) in FreedMemory()
229 … void TextDecoder::SetBomFlag(const UChar *arr, const UErrorCode codeFlag, const DecodeArr decArr, in SetBomFlag()
246 void TextDecoder::SetIgnoreBOM(const UChar *arr, size_t resultLen, bool &bomFlag) in SetIgnoreBOM()
263 napi_value TextDecoder::ThrowError(napi_env env, const char* errMessage) in ThrowError()
283 const char* TextDecoder::ReplaceNull(void *data, size_t length) const in ReplaceNull()