Home
last modified time | relevance | path

Searched refs:url_len (Results 1 – 9 of 9) sorted by relevance

/external/chromium/googleurl/src/
Durl_parse.h220 GURL_API void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
221 GURL_API void ParseStandardURL(const char16* url, int url_len, Parsed* parsed);
227 GURL_API void ParsePathURL(const char* url, int url_len, Parsed* parsed);
228 GURL_API void ParsePathURL(const char16* url, int url_len, Parsed* parsed);
232 GURL_API void ParseFileURL(const char* url, int url_len, Parsed* parsed);
233 GURL_API void ParseFileURL(const char16* url, int url_len, Parsed* parsed);
236 GURL_API void ParseMailtoURL(const char* url, int url_len, Parsed* parsed);
237 GURL_API void ParseMailtoURL(const char16* url, int url_len, Parsed* parsed);
261 GURL_API bool ExtractScheme(const char* url, int url_len, Component* scheme);
262 GURL_API bool ExtractScheme(const char16* url, int url_len, Component* scheme);
Durl_parse.cc246 int url_len, in DoExtractScheme() argument
250 while (begin < url_len && ShouldTrimFromURL(url[begin])) in DoExtractScheme()
252 if (begin == url_len) in DoExtractScheme()
256 for (int i = begin; i < url_len; i++) { in DoExtractScheme()
640 bool ExtractScheme(const char* url, int url_len, Component* scheme) { in ExtractScheme() argument
641 return DoExtractScheme(url, url_len, scheme); in ExtractScheme()
644 bool ExtractScheme(const char16* url, int url_len, Component* scheme) { in ExtractScheme() argument
645 return DoExtractScheme(url, url_len, scheme); in ExtractScheme()
706 void ParseStandardURL(const char* url, int url_len, Parsed* parsed) { in ParseStandardURL() argument
707 DoParseStandardURL(url, url_len, parsed); in ParseStandardURL()
[all …]
Durl_canon_relative.cc90 int url_len, in DoIsRelativeURL() argument
98 url_parse::TrimURL(url, &begin, &url_len); in DoIsRelativeURL()
99 if (begin >= url_len) { in DoIsRelativeURL()
118 if (url_parse::DoesBeginWindowsDriveSpec(url, begin, url_len) || in DoIsRelativeURL()
119 url_parse::DoesBeginUNCPath(url, begin, url_len, true)) in DoIsRelativeURL()
128 if (!url_parse::ExtractScheme(url, url_len, &scheme) || scheme.len == 0) { in DoIsRelativeURL()
133 *relative_component = url_parse::MakeRange(begin, url_len); in DoIsRelativeURL()
142 *relative_component = url_parse::MakeRange(begin, url_len); in DoIsRelativeURL()
163 url_len); in DoIsRelativeURL()
169 *relative_component = url_parse::MakeRange(colon_offset + 1, url_len); in DoIsRelativeURL()
Durl_parse_file.cc235 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { in ParseFileURL() argument
236 DoParseFileURL(url, url_len, parsed); in ParseFileURL()
239 void ParseFileURL(const char16* url, int url_len, Parsed* parsed) { in ParseFileURL() argument
240 DoParseFileURL(url, url_len, parsed); in ParseFileURL()
Durl_canon_unittest.cc335 int url_len = static_cast<int>(strlen(scheme_cases[i].input)); in TEST() local
336 url_parse::Component in_comp(0, url_len); in TEST()
850 int url_len = static_cast<int>(strlen(user_info_cases[i].input)); in TEST() local
852 url_parse::ParseStandardURL(user_info_cases[i].input, url_len, &parsed); in TEST()
916 int url_len = static_cast<int>(strlen(port_cases[i].input)); in TEST() local
917 url_parse::Component in_comp(0, url_len); in TEST()
1277 int url_len = static_cast<int>(strlen(cases[i].input)); in TEST() local
1279 url_parse::ParseStandardURL(cases[i].input, url_len, &parsed); in TEST()
1285 cases[i].input, url_len, parsed, NULL, &output, &out_parsed); in TEST()
1564 int url_len = static_cast<int>(strlen(cases[i].input)); in TEST() local
[all …]
/external/chromium/chrome/common/
Dvisitedlink_common.cc28 size_t url_len) const { in IsVisited()
29 if (url_len == 0) in IsVisited()
33 return IsVisited(ComputeURLFingerprint(canonical_url, url_len)); in IsVisited()
78 size_t url_len, in ComputeURLFingerprint() argument
80 DCHECK(url_len > 0) << "Canonical URLs should not be empty"; in ComputeURLFingerprint()
85 MD5Update(&ctx, canonical_url, url_len * sizeof(char)); in ComputeURLFingerprint()
Dvisitedlink_common.h62 size_t url_len) const { in ComputeURLFingerprint() argument
63 return ComputeURLFingerprint(canonical_url, url_len, salt_); in ComputeURLFingerprint()
69 bool IsVisited(const char* canonical_url, size_t url_len) const;
107 size_t url_len,
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c303 size_t url_len) in subscr_addr_add_url() argument
319 if (url_len < 7 || os_strncasecmp(url, "http://", 7)) in subscr_addr_add_url()
322 url_len -= 7; in subscr_addr_add_url()
325 alloc_len = 2 * (url_len + 1); in subscr_addr_add_url()
330 os_strncpy(mem, url, url_len); in subscr_addr_add_url()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c531 size_t url_len; in hostapd_ctrl_iface_ess_disassoc() local
539 url_len = os_strlen(url); in hostapd_ctrl_iface_ess_disassoc()
540 if (url_len > 255) in hostapd_ctrl_iface_ess_disassoc()
561 *pos++ = url_len; in hostapd_ctrl_iface_ess_disassoc()
562 os_memcpy(pos, url, url_len); in hostapd_ctrl_iface_ess_disassoc()
563 pos += url_len; in hostapd_ctrl_iface_ess_disassoc()