Lines Matching refs:ch
117 bool BuiltinsGlobal::IsUnescapedURI(uint16_t ch)
119 if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || (ch >= '0' && ch <= '9')) {
122 return IsInMarkURISet(ch);
125 bool BuiltinsGlobal::IsInUnescapedURISet(uint16_t ch)
127 if (ch == '#') {
130 return IsUnescapedURI(ch) || IsReservedURI(ch);
133 bool BuiltinsGlobal::IsInReservedURISet(uint16_t ch)
135 if (ch == '#') {
138 return IsReservedURI(ch);
141 bool BuiltinsGlobal::IsReservedURI(uint16_t ch)
144 std::u16string::size_type index = str.find(ch);
148 bool BuiltinsGlobal::IsInMarkURISet(uint16_t ch)
151 std::u16string::size_type index = str.find(ch);
155 bool BuiltinsGlobal::IsHexDigits(uint16_t ch)
157 return (ch >= '0' && ch <= '9') || (ch >= 'A' && ch <= 'F') || (ch >= 'a' && ch <= 'f');
339 uint16_t ch = EcmaStringAccessor(string).Get(i);
340 size_t idx = StringHelper::FindFromU16ToUpper(hexString, &ch);