Lines Matching refs:str
107 std::u16string str(u";/?:@&=+$,"); in IsReservedURI() local
108 std::u16string::size_type index = str.find(ch); in IsReservedURI()
114 std::u16string str(u"-_.!~*'()"); in IsInMarkURISet() local
115 std::u16string::size_type index = str.find(ch); in IsInMarkURISet()
191 JSTaggedValue BuiltinsGlobal::Encode(JSThread *thread, const JSHandle<EcmaString> &str, judgURIFunc… in Encode() argument
194 uint32_t strLen = str->GetLength(); in Encode()
215 uint16_t cc = str->At(k); in Encode()
243 uint16_t kc = str->At(k); in Encode()
270 resStr.append(StringHelper::StringToU16string(tmpStr.str())); in Encode()
290 JSTaggedValue BuiltinsGlobal::Decode(JSThread *thread, const JSHandle<EcmaString> &str, judgURIFunc… in Decode() argument
293 [[maybe_unused]] uint32_t strLen = str->GetLength(); in Decode()
322 uint16_t cc = str->At(k); in Decode()
340 if (!(IsHexDigits(str->At(k + 1)) && IsHexDigits(str->At(k + 2)))) { // 2: means plus 2 in Decode()
345 uint16_t frontChar = str->At(k + 1); in Decode()
346 uint16_t behindChar = str->At(k + 2); // 2: means plus 2 in Decode()
357 …sStr = StringHelper::StringToU16string(StringHelper::SubString(thread, str, start, k - start + 1)); in Decode()
404 uint16_t codeUnit = str->At(k); in Decode()
412 … if (!(IsHexDigits(str->At(k + 1)) && IsHexDigits(str->At(k + 2)))) { // 2: means plus 2 in Decode()
417 uint16_t frontChart = str->At(k + 1); in Decode()
418 uint16_t behindChart = str->At(k + 2); // 2: means plus 2 in Decode()
444 … StringHelper::StringToU16string(StringHelper::SubString(thread, str, start, k - start + 1)); in Decode()