Home | History | Annotate | Download | only in src

Lines Matching refs:spec

55 // This is more conformant to the URL spec, and there do not seem to be many
70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) {
73 if (static_cast<UCHAR>(spec[i]) >= 0x80)
96 void RunConverter(const char* spec,
103 ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16);
110 void RunConverter(const char16* spec,
114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output);
118 void DoConvertToQueryEncoding(const CHAR* spec,
122 if (IsAllASCII<CHAR, UCHAR>(spec, query)) {
124 AppendRaw8BitQueryString(&spec[query.begin], query.len, output);
132 RunConverter(spec, query, converter, &eight_bit);
137 AppendStringOfType(&spec[query.begin], query.len, CHAR_QUERY, output);
143 void DoCanonicalizeQuery(const CHAR* spec,
156 DoConvertToQueryEncoding<CHAR, UCHAR>(spec, query, converter, output);
163 void CanonicalizeQuery(const char* spec,
168 DoCanonicalizeQuery<char, unsigned char>(spec, query, converter,
172 void CanonicalizeQuery(const char16* spec,
177 DoCanonicalizeQuery<char16, char16>(spec, query, converter,