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

/external/chromium/googleurl/src/
H A Durl_canon_host.cc139 int host_len,
145 for (int i = 0; i < host_len; ++i) {
150 if (!DecodeEscaped(host, &i, host_len,
220 bool DoComplexHost(const char* host, int host_len, argument
236 if (!DoSimpleHost(host, host_len, output, &has_non_ascii)) {
257 utf8_source_len = host_len;
283 bool DoComplexHost(const char16* host, int host_len, argument
295 if (!ConvertUTF16ToUTF8(host, host_len, &utf8)) {
296 AppendInvalidNarrowString(host, 0, host_len, output);
310 return DoIDNHost(host, host_len, outpu
138 DoSimpleHost(const INCHAR* host, int host_len, CanonOutputT<OUTCHAR>* output, bool* has_non_ascii) argument
[all...]
H A Durl_parse_file.cc84 int host_len = spec_len - after_slashes; local
85 if (host_len)
86 parsed->host = Component(after_slashes, host_len);
110 int host_len = next_slash - after_slashes; local
111 if (host_len)
H A Dgurl.cc415 int host_len = parsed_.host.len; local
418 host_len--;
422 if (host_len < domain_len)
427 host_len - domain_len;
438 if ('.' != lower_ascii_domain[0] && host_len > domain_len &&
H A Durl_canon_unittest.cc411 int host_len = static_cast<int>(strlen(host_cases[i].input8)); local
412 url_parse::Component in_comp(0, host_len);
432 int host_len = static_cast<int>(input16.length()); local
433 url_parse::Component in_comp(0, host_len);
455 int host_len = static_cast<int>(strlen(host_cases[i].input8)); local
456 url_parse::Component in_comp(0, host_len);
480 int host_len = static_cast<int>(input16.length()); local
481 url_parse::Component in_comp(0, host_len);
/external/iproute2/ip/
H A Diprule.c51 int host_len = -1; local
67 host_len = 32;
69 host_len = 128;
71 host_len = 16;
73 host_len = 80;
87 if (r->rtm_src_len != host_len) {
108 if (r->rtm_dst_len != host_len) {
H A Dipaddrlabel.c62 int host_len = -1; local
76 host_len = 32;
78 host_len = 128;
H A Diproute.c129 int host_len = -1; local
149 host_len = 128;
151 host_len = 32;
153 host_len = 16;
155 host_len = 80;
230 memcpy(&via.data, RTA_DATA(tb[RTA_GATEWAY]), host_len/8);
236 memcpy(&prefsrc.data, RTA_DATA(tb[RTA_PREFSRC]), host_len/8);
307 if (r->rtm_dst_len != host_len) {
327 if (r->rtm_src_len != host_len) {
349 if (tb[RTA_GATEWAY] && filter.rvia.bitlen != host_len) {
[all...]
/external/chromium/net/http/
H A Dhttp_auth_handler_ntlm_portable.cc482 uint32 domain_len, user_len, host_len; local
531 host_len = ucs_host_buf.length() * 2;
538 host_len = hostname.length();
544 *out_len = NTLM_TYPE3_HEADER_LEN + host_len + domain_len + user_len +
599 offset = NTLM_TYPE3_HEADER_LEN + domain_len + user_len + host_len;
620 cursor = WriteSecBuf(cursor, host_len, offset);
621 memcpy(static_cast<uint8*>(*out_buf) + offset, host_ptr, host_len);
/external/chromium/net/base/
H A Dnet_util.h155 size_t host_len,
H A Dnet_util.cc850 size_t host_len,
855 input16.reserve(host_len);
856 std::copy(host, host + host_len, std::back_inserter(input16));
849 IDNToUnicode(const char* host, size_t host_len, const std::wstring& languages, size_t* offset_for_adjustment) argument

Completed in 55 milliseconds