Home
last modified time | relevance | path

Searched refs:host_len (Results 1 – 10 of 10) sorted by relevance

/external/chromium/googleurl/src/
Durl_canon_host.cc139 int host_len, in DoSimpleHost() argument
145 for (int i = 0; i < host_len; ++i) { in DoSimpleHost()
150 if (!DecodeEscaped(host, &i, host_len, in DoSimpleHost()
220 bool DoComplexHost(const char* host, int host_len, in DoComplexHost() argument
236 if (!DoSimpleHost(host, host_len, output, &has_non_ascii)) { in DoComplexHost()
257 utf8_source_len = host_len; in DoComplexHost()
283 bool DoComplexHost(const char16* host, int host_len, in DoComplexHost() argument
295 if (!ConvertUTF16ToUTF8(host, host_len, &utf8)) { in DoComplexHost()
296 AppendInvalidNarrowString(host, 0, host_len, output); in DoComplexHost()
310 return DoIDNHost(host, host_len, output); in DoComplexHost()
Durl_parse_file.cc84 int host_len = spec_len - after_slashes; in DoParseUNC() local
85 if (host_len) in DoParseUNC()
86 parsed->host = Component(after_slashes, host_len); in DoParseUNC()
110 int host_len = next_slash - after_slashes; in DoParseUNC() local
111 if (host_len) in DoParseUNC()
Dgurl.cc422 int host_len = parsed_.host.len; in DomainIs() local
425 host_len--; in DomainIs()
429 if (host_len < domain_len) in DomainIs()
434 host_len - domain_len; in DomainIs()
445 if ('.' != lower_ascii_domain[0] && host_len > domain_len && in DomainIs()
Durl_canon_unittest.cc449 int host_len = static_cast<int>(strlen(host_cases[i].input8)); in TEST() local
450 url_parse::Component in_comp(0, host_len); in TEST()
470 int host_len = static_cast<int>(input16.length()); in TEST() local
471 url_parse::Component in_comp(0, host_len); in TEST()
493 int host_len = static_cast<int>(strlen(host_cases[i].input8)); in TEST() local
494 url_parse::Component in_comp(0, host_len); in TEST()
518 int host_len = static_cast<int>(input16.length()); in TEST() local
519 url_parse::Component in_comp(0, host_len); in TEST()
/external/iproute2/ip/
Diprule.c51 int host_len = -1; in print_rule() local
67 host_len = 32; in print_rule()
69 host_len = 128; in print_rule()
71 host_len = 16; in print_rule()
73 host_len = 80; in print_rule()
87 if (r->rtm_src_len != host_len) { in print_rule()
108 if (r->rtm_dst_len != host_len) { in print_rule()
Dipaddrlabel.c62 int host_len = -1; in print_addrlabel() local
76 host_len = 32; in print_addrlabel()
78 host_len = 128; in print_addrlabel()
Diproute.c129 int host_len = -1; in print_route() local
149 host_len = 128; in print_route()
151 host_len = 32; in print_route()
153 host_len = 16; in print_route()
155 host_len = 80; in print_route()
223 memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8); in print_route()
229 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8); in print_route()
300 if (r->rtm_dst_len != host_len) { in print_route()
320 if (r->rtm_src_len != host_len) { in print_route()
342 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) { in print_route()
[all …]
/external/chromium/net/http/
Dhttp_auth_handler_ntlm_portable.cc482 uint32 domain_len, user_len, host_len; in GenerateType3Msg() local
531 host_len = ucs_host_buf.length() * 2; in GenerateType3Msg()
538 host_len = hostname.length(); in GenerateType3Msg()
544 *out_len = NTLM_TYPE3_HEADER_LEN + host_len + domain_len + user_len + in GenerateType3Msg()
599 offset = NTLM_TYPE3_HEADER_LEN + domain_len + user_len + host_len; in GenerateType3Msg()
620 cursor = WriteSecBuf(cursor, host_len, offset); in GenerateType3Msg()
621 memcpy(static_cast<uint8*>(*out_buf) + offset, host_ptr, host_len); in GenerateType3Msg()
/external/chromium/net/base/
Dnet_util.h208 size_t host_len,
213 size_t host_len,
Dnet_util.cc1282 size_t host_len, in IDNToUnicodeWithOffsets() argument
1287 input16.reserve(host_len); in IDNToUnicodeWithOffsets()
1288 input16.insert(input16.end(), host, host + host_len); in IDNToUnicodeWithOffsets()
1332 size_t host_len, in IDNToUnicode() argument
1339 IDNToUnicodeWithOffsets(host, host_len, languages, &offsets); in IDNToUnicode()