Lines Matching defs:query
35 // IE is very permissive for query parameters specified in links on the page
45 // server's job to make sense of this invalid query.
52 // Our query canonicalization
70 bool IsAllASCII(const CHAR* spec, const url_parse::Component& query) {
71 int end = query.end();
72 for (int i = query.begin; i < end; i++) {
97 const url_parse::Component& query,
103 ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16);
111 const url_parse::Component& query,
114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output);
119 const url_parse::Component& query,
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);
144 const url_parse::Component& query,
148 if (query.len < 0) {
156 DoConvertToQueryEncoding<CHAR, UCHAR>(spec, query, converter, output);
164 const url_parse::Component& query,
168 DoCanonicalizeQuery<char, unsigned char>(spec, query, converter,
173 const url_parse::Component& query,
177 DoCanonicalizeQuery<char16, char16>(spec, query, converter,
182 const url_parse::Component& query,
185 DoConvertToQueryEncoding<char16, char16>(input, query,