Lines Matching refs:output
140 CanonOutputT<OUTCHAR>* output, in DoSimpleHost() argument
155 AppendEscapedChar('%', output); in DoSimpleHost()
166 AppendEscapedChar(source, output); in DoSimpleHost()
170 AppendEscapedChar(source, output); in DoSimpleHost()
175 output->push_back(replacement); in DoSimpleHost()
181 output->push_back(static_cast<OUTCHAR>(source)); in DoSimpleHost()
190 bool DoIDNHost(const char16* src, int src_len, CanonOutput* output) { in DoIDNHost() argument
203 AppendInvalidNarrowString(src, 0, src_len, output); in DoIDNHost()
212 output, &has_non_ascii); in DoIDNHost()
221 bool has_non_ascii, bool has_escaped, CanonOutput* output) { in DoComplexHost() argument
224 int begin_length = output->length(); in DoComplexHost()
236 if (!DoSimpleHost(host, host_len, output, &has_non_ascii)) { in DoComplexHost()
250 utf8_source = &output->data()[begin_length]; in DoComplexHost()
251 utf8_source_len = output->length() - begin_length; in DoComplexHost()
269 output->set_length(begin_length); in DoComplexHost()
270 AppendInvalidNarrowString(utf8.data(), 0, utf8.length(), output); in DoComplexHost()
273 output->set_length(begin_length); in DoComplexHost()
277 return DoIDNHost(utf16.data(), utf16.length(), output); in DoComplexHost()
284 bool has_non_ascii, bool has_escaped, CanonOutput* output) { in DoComplexHost() argument
296 AppendInvalidNarrowString(host, 0, host_len, output); in DoComplexHost()
303 has_escaped, output); in DoComplexHost()
310 return DoIDNHost(host, host_len, output); in DoComplexHost()
316 CanonOutput* output, in DoHost() argument
329 const int output_begin = output->length(); in DoHost()
334 output, &has_non_ascii); in DoHost()
338 has_non_ascii, has_escaped, output); in DoHost()
349 CanonicalizeIPAddress(output->data(), in DoHost()
350 url_parse::MakeRange(output_begin, output->length()), in DoHost()
357 output->set_length(output_begin); in DoHost()
358 output->Append(canon_ip.data(), canon_ip.length()); in DoHost()
362 host_info->out_host = url_parse::MakeRange(output_begin, output->length()); in DoHost()
369 CanonOutput* output, in CanonicalizeHost() argument
372 DoHost<char, unsigned char>(spec, host, output, &host_info); in CanonicalizeHost()
379 CanonOutput* output, in CanonicalizeHost() argument
382 DoHost<char16, char16>(spec, host, output, &host_info); in CanonicalizeHost()
389 CanonOutput* output, in CanonicalizeHostVerbose() argument
391 DoHost<char, unsigned char>(spec, host, output, host_info); in CanonicalizeHostVerbose()
396 CanonOutput* output, in CanonicalizeHostVerbose() argument
398 DoHost<char16, char16>(spec, host, output, host_info); in CanonicalizeHostVerbose()