Home
last modified time | relevance | path

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

/external/openscreen/third_party/mozilla/
Durl_parse.h219 void ParseStandardURL(const char* url, int url_len, Parsed* parsed);
226 int url_len,
232 void ParseFileURL(const char* url, int url_len, Parsed* parsed);
235 void ParseFileSystemURL(const char* url, int url_len, Parsed* parsed);
238 void ParseMailtoURL(const char* url, int url_len, Parsed* parsed);
262 bool ExtractScheme(const char* url, int url_len, Component* scheme);
Durl_parse.cc247 bool DoExtractScheme(const char* url, int url_len, Component* scheme) { 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()
788 bool ExtractScheme(const char* url, int url_len, Component* scheme) { in ExtractScheme() argument
789 return DoExtractScheme(url, url_len, scheme); in ExtractScheme()
824 void ParseStandardURL(const char* url, int url_len, Parsed* parsed) { in ParseStandardURL() argument
825 DoParseStandardURL(url, url_len, parsed); in ParseStandardURL()
829 int url_len, in ParsePathURL() argument
832 DoParsePathURL(url, url_len, trim_path_end, parsed); in ParsePathURL()
[all …]
Durl_parse_internal.cc84 void ParseFileURL(const char* url, int url_len, Parsed* parsed) {} in ParseFileURL() argument
/external/wpa_supplicant_8/src/ap/
Dhs20.c194 size_t url_len; in hs20_send_wnm_notification_t_c() local
201 url_len = os_strlen(url); in hs20_send_wnm_notification_t_c()
202 if (5 + url_len > 255) { in hs20_send_wnm_notification_t_c()
209 buf = wpabuf_alloc(4 + 7 + url_len); in hs20_send_wnm_notification_t_c()
220 wpabuf_put_u8(buf, 4 + 1 + url_len); in hs20_send_wnm_notification_t_c()
223 wpabuf_put_u8(buf, url_len); in hs20_send_wnm_notification_t_c()
Dwnm_ap.c745 size_t url_len; in wnm_send_ess_disassoc_imminent() local
767 url_len = os_strlen(url); in wnm_send_ess_disassoc_imminent()
768 if (url_len > 255) in wnm_send_ess_disassoc_imminent()
770 *pos++ = url_len; in wnm_send_ess_disassoc_imminent()
771 os_memcpy(pos, url, url_len); in wnm_send_ess_disassoc_imminent()
772 pos += url_len; in wnm_send_ess_disassoc_imminent()
797 size_t url_len; in wnm_send_bss_tm_req() local
829 url_len = os_strlen(url); in wnm_send_bss_tm_req()
830 if (url_len > 255) { in wnm_send_bss_tm_req()
835 *pos++ = url_len; in wnm_send_bss_tm_req()
[all …]
Dap_config.h215 u8 url_len; member
Dgas_serv.c349 wpabuf_put_u8(buf, 1 + url->url_len); in anqp_add_venue_url()
351 wpabuf_put_data(buf, url->url, url->url_len); in anqp_add_venue_url()
/external/wpa_supplicant_8/wpa_supplicant/
Dwnm_sta.c1699 u8 url_len; in ieee802_11_rx_wnm_notif_req_wfa() local
1707 url_len = *pos++; in ieee802_11_rx_wnm_notif_req_wfa()
1708 if (url_len == 0) { in ieee802_11_rx_wnm_notif_req_wfa()
1713 if (url_len + 1 > ie_end - pos) { in ieee802_11_rx_wnm_notif_req_wfa()
1715 url_len, in ieee802_11_rx_wnm_notif_req_wfa()
1719 url = os_malloc(url_len + 1); in ieee802_11_rx_wnm_notif_req_wfa()
1722 os_memcpy(url, pos, url_len); in ieee802_11_rx_wnm_notif_req_wfa()
1723 url[url_len] = '\0'; in ieee802_11_rx_wnm_notif_req_wfa()
1724 osu_method = pos[url_len]; in ieee802_11_rx_wnm_notif_req_wfa()
1737 u8 url_len; in ieee802_11_rx_wnm_notif_req_wfa() local
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c316 size_t url_len) in subscr_addr_add_url() argument
335 if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) { in subscr_addr_add_url()
340 url_len -= 7; in subscr_addr_add_url()
343 scratch_mem = dup_binstr(url, url_len); in subscr_addr_add_url()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c993 size_t url_len = os_strlen(data->subscr_remediation_url); in radius_server_encapsulate_eap() local
994 buf = os_malloc(1 + url_len); in radius_server_encapsulate_eap()
1000 os_memcpy(&buf[1], data->subscr_remediation_url, url_len); in radius_server_encapsulate_eap()
1003 buf, 1 + url_len)) { in radius_server_encapsulate_eap()
1019 size_t prefix_len, url_len; in radius_server_encapsulate_eap() local
1036 url_len = prefix_len + 2 * HS20_MOBILE_ID_HASH_LEN; in radius_server_encapsulate_eap()
1037 buf = os_malloc(1 + url_len + 1); in radius_server_encapsulate_eap()
1052 buf, 1 + url_len)) { in radius_server_encapsulate_eap()
1062 size_t url_len; in radius_server_encapsulate_eap() local
1085 url_len = os_strlen(url) + ETH_ALEN * 3 - 1 - 3; in radius_server_encapsulate_eap()
[all …]
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c627 size_t url_len; in hostapd_ctrl_iface_hs20_deauth_req() local
646 url_len = 0; in hostapd_ctrl_iface_hs20_deauth_req()
650 url_len = os_strlen(pos); in hostapd_ctrl_iface_hs20_deauth_req()
653 req = wpabuf_alloc(4 + url_len); in hostapd_ctrl_iface_hs20_deauth_req()
658 wpabuf_put_u8(req, url_len); in hostapd_ctrl_iface_hs20_deauth_req()
660 wpabuf_put_data(req, pos, url_len); in hostapd_ctrl_iface_hs20_deauth_req()
Dconfig_file.c1371 url->url_len = nlen; in parse_venue_url()