Home
last modified time | relevance | path

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

/external/chromium_org/url/third_party/mozilla/
Durl_parse.h231 int url_len,
234 int url_len,
242 int url_len,
246 int url_len,
252 URL_EXPORT void ParseFileURL(const char* url, int url_len, Parsed* parsed);
254 int url_len,
259 int url_len,
262 int url_len,
266 URL_EXPORT void ParseMailtoURL(const char* url, int url_len, Parsed* parsed);
268 int url_len,
[all …]
Durl_parse.cc248 int url_len, in DoExtractScheme() argument
252 while (begin < url_len && ShouldTrimFromURL(url[begin])) in DoExtractScheme()
254 if (begin == url_len) in DoExtractScheme()
258 for (int i = begin; i < url_len; i++) { in DoExtractScheme()
810 bool ExtractScheme(const char* url, int url_len, Component* scheme) { in ExtractScheme() argument
811 return DoExtractScheme(url, url_len, scheme); in ExtractScheme()
814 bool ExtractScheme(const base::char16* url, int url_len, Component* scheme) { in ExtractScheme() argument
815 return DoExtractScheme(url, url_len, scheme); in ExtractScheme()
876 void ParseStandardURL(const char* url, int url_len, Parsed* parsed) { in ParseStandardURL() argument
877 DoParseStandardURL(url, url_len, parsed); in ParseStandardURL()
[all …]
/external/chromium_org/components/visitedlink/common/
Dvisitedlink_common.cc30 size_t url_len) const { in IsVisited()
31 if (url_len == 0) in IsVisited()
35 return IsVisited(ComputeURLFingerprint(canonical_url, url_len)); in IsVisited()
80 size_t url_len, in ComputeURLFingerprint() argument
82 DCHECK(url_len > 0) << "Canonical URLs should not be empty"; in ComputeURLFingerprint()
88 base::MD5Update(&ctx, base::StringPiece(canonical_url, url_len)); in ComputeURLFingerprint()
Dvisitedlink_common.h63 size_t url_len) const { in ComputeURLFingerprint() argument
64 return ComputeURLFingerprint(canonical_url, url_len, salt_); in ComputeURLFingerprint()
70 bool IsVisited(const char* canonical_url, size_t url_len) const;
108 size_t url_len,
/external/wpa_supplicant_8/src/ap/
Dwnm_ap.c255 size_t url_len, len; in ieee802_11_send_bss_trans_mgmt_request() local
260 url_len = os_strlen(url); in ieee802_11_send_bss_trans_mgmt_request()
262 url_len = 0; in ieee802_11_send_bss_trans_mgmt_request()
264 mgmt = os_zalloc(sizeof(*mgmt) + (url_len ? 1 + url_len : 0)); in ieee802_11_send_bss_trans_mgmt_request()
280 *pos++ += url_len; in ieee802_11_send_bss_trans_mgmt_request()
281 os_memcpy(pos, url, url_len); in ieee802_11_send_bss_trans_mgmt_request()
282 pos += url_len; in ieee802_11_send_bss_trans_mgmt_request()
445 size_t url_len; in wnm_send_ess_disassoc_imminent() local
467 url_len = os_strlen(url); in wnm_send_ess_disassoc_imminent()
468 if (url_len > 255) in wnm_send_ess_disassoc_imminent()
[all …]
/external/chromium_org/url/
Durl_canon_relative.cc67 int url_len, in DoIsRelativeURL() argument
75 TrimURL(url, &begin, &url_len); in DoIsRelativeURL()
76 if (begin >= url_len) { in DoIsRelativeURL()
95 if (DoesBeginWindowsDriveSpec(url, begin, url_len) || in DoIsRelativeURL()
96 DoesBeginUNCPath(url, begin, url_len, true)) in DoIsRelativeURL()
106 !ExtractScheme(url, url_len, &scheme) || scheme.len == 0; in DoIsRelativeURL()
116 *relative_component = MakeRange(begin, url_len); in DoIsRelativeURL()
129 *relative_component = MakeRange(begin, url_len); in DoIsRelativeURL()
155 int num_slashes = CountConsecutiveSlashes(url, colon_offset + 1, url_len); in DoIsRelativeURL()
161 *relative_component = MakeRange(colon_offset + 1, url_len); in DoIsRelativeURL()
Durl_parse_file.cc214 void ParseFileURL(const char* url, int url_len, Parsed* parsed) { in ParseFileURL() argument
215 DoParseFileURL(url, url_len, parsed); in ParseFileURL()
218 void ParseFileURL(const base::char16* url, int url_len, Parsed* parsed) { in ParseFileURL() argument
219 DoParseFileURL(url, url_len, parsed); in ParseFileURL()
Durl_canon_unittest.cc254 int url_len = static_cast<int>(strlen(scheme_cases[i].input)); in TEST() local
255 Component in_comp(0, url_len); in TEST()
903 int url_len = static_cast<int>(strlen(user_info_cases[i].input)); in TEST() local
905 ParseStandardURL(user_info_cases[i].input, url_len, &parsed); in TEST()
972 int url_len = static_cast<int>(strlen(port_cases[i].input)); in TEST() local
973 Component in_comp(0, url_len); in TEST()
1313 int url_len = static_cast<int>(strlen(cases[i].input)); in TEST() local
1315 ParseStandardURL(cases[i].input, url_len, &parsed); in TEST()
1321 cases[i].input, url_len, parsed, NULL, &output, &out_parsed); in TEST()
1652 int url_len = static_cast<int>(strlen(cases[i].input)); in TEST() local
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c802 u8 url_len; in ieee802_11_rx_wnm_notif_req_wfa() local
810 url_len = *pos++; in ieee802_11_rx_wnm_notif_req_wfa()
811 if (url_len == 0) { in ieee802_11_rx_wnm_notif_req_wfa()
816 if (pos + url_len + 1 > ie_end) { in ieee802_11_rx_wnm_notif_req_wfa()
818 url_len, in ieee802_11_rx_wnm_notif_req_wfa()
822 url = os_malloc(url_len + 1); in ieee802_11_rx_wnm_notif_req_wfa()
825 os_memcpy(url, pos, url_len); in ieee802_11_rx_wnm_notif_req_wfa()
826 url[url_len] = '\0'; in ieee802_11_rx_wnm_notif_req_wfa()
827 osu_method = pos[url_len]; in ieee802_11_rx_wnm_notif_req_wfa()
840 u8 url_len; in ieee802_11_rx_wnm_notif_req_wfa() local
[all …]
/external/chromium_org/ui/base/clipboard/
Dclipboard_aura.cc358 size_t url_len) { in WriteHTML() argument
361 data->set_url(std::string(url_data, url_len)); in WriteHTML()
372 size_t url_len) { in WriteBookmark() argument
375 data->set_bookmark_url(std::string(url_data, url_len)); in WriteBookmark()
574 size_t url_len) { in WriteHTML() argument
575 ClipboardDataBuilder::WriteHTML(markup_data, markup_len, url_data, url_len); in WriteHTML()
585 size_t url_len) { in WriteBookmark() argument
586 ClipboardDataBuilder::WriteBookmark(title_data, title_len, url_data, url_len); in WriteBookmark()
Dclipboard_win.cc244 size_t url_len) { in WriteHTML() argument
248 if (url_len > 0) in WriteHTML()
249 url.assign(url_data, url_len); in WriteHTML()
264 size_t url_len) { in WriteBookmark() argument
267 bookmark.append(url_data, url_len); in WriteBookmark()
Dclipboard.h324 size_t url_len); in NON_EXPORTED_BASE()
331 size_t url_len); in NON_EXPORTED_BASE()
Dclipboard_android.cc398 size_t url_len) { in WriteHTML() argument
409 const char* url_data, size_t url_len) { in WriteBookmark() argument
410 g_map.Get().Set(kBookmarkFormat, std::string(url_data, url_len)); in WriteBookmark()
Dclipboard_mac.mm123 size_t url_len) {
142 size_t url_len) {
145 std::string url_str(url_data, url_len);
Dclipboard_aurax11.cc781 size_t url_len) { in WriteHTML() argument
802 size_t url_len) { in WriteBookmark() argument
804 base::string16 url = base::UTF8ToUTF16(std::string(url_data, url_len) + "\n"); in WriteBookmark()
/external/chromium_org/chrome/test/perf/
Durl_parse_perftest.cc27 int url_len = static_cast<int>(strlen(url));
33 url::ParseStandardURL(url, url_len, &parsed);
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c305 size_t url_len) in subscr_addr_add_url() argument
321 if (url_len < 7 || os_strncasecmp(url, "http://", 7)) in subscr_addr_add_url()
324 url_len -= 7; in subscr_addr_add_url()
327 scratch_mem = dup_binstr(url, url_len); in subscr_addr_add_url()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c652 size_t url_len; in hostapd_ctrl_iface_hs20_deauth_req() local
671 url_len = 0; in hostapd_ctrl_iface_hs20_deauth_req()
675 url_len = os_strlen(pos); in hostapd_ctrl_iface_hs20_deauth_req()
678 req = wpabuf_alloc(4 + url_len); in hostapd_ctrl_iface_hs20_deauth_req()
683 wpabuf_put_u8(req, url_len); in hostapd_ctrl_iface_hs20_deauth_req()
685 wpabuf_put_data(req, pos, url_len); in hostapd_ctrl_iface_hs20_deauth_req()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c775 size_t url_len = os_strlen(data->subscr_remediation_url); in radius_server_encapsulate_eap() local
776 buf = os_malloc(1 + url_len); in radius_server_encapsulate_eap()
782 os_memcpy(&buf[1], data->subscr_remediation_url, url_len); in radius_server_encapsulate_eap()
785 buf, 1 + url_len)) { in radius_server_encapsulate_eap()