Home
last modified time | relevance | path

Searched refs:extra_len (Results 1 – 25 of 25) sorted by relevance

/external/chromium/base/debug/
Dtrace_event_win.cc47 size_t extra_len) { in TraceEvent() argument
78 event.SetField(2, extra_len + 1, extra); in TraceEvent()
101 size_t extra_len) { in Trace() argument
107 if (extra_len == -1) in Trace()
108 extra_len = (extra == NULL) ? 0 : strlen(extra); in Trace()
110 provider->TraceEvent(name, name_len, type, id, extra, extra_len); in Trace()
Dtrace_event_win.h69 size_t extra_len);
107 size_t extra_len);
Dtrace_event_win_unittest.cc166 size_t extra_len) { in ExpectEvent() argument
171 str.sputn(extra, extra_len + 1); in ExpectEvent()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h87 const u8 *mac, const u8 *extra, size_t extra_len);
89 const u8 *extra, size_t extra_len);
100 size_t extra_len);
102 u8 *mac, const u8 *extra, size_t extra_len);
128 size_t extra_len) in eap_sim_verify_mac_sha256() argument
215 const u8 *extra, size_t extra_len);
Deap_sim_common.c166 const u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_verify_mac() argument
185 len[1] = extra_len; in eap_sim_verify_mac()
193 extra, extra_len); in eap_sim_verify_mac()
206 const u8 *extra, size_t extra_len) in eap_sim_add_mac() argument
215 len[1] = extra_len; in eap_sim_add_mac()
221 extra, extra_len); in eap_sim_add_mac()
361 const u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_verify_mac_sha256() argument
380 len[1] = extra_len; in eap_sim_verify_mac_sha256()
388 extra, extra_len); in eap_sim_verify_mac_sha256()
401 u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_add_mac_sha256() argument
[all …]
/external/wpa_supplicant_8/src/rsn_supp/
Dpeerkey.h47 struct wpa_eapol_key *key, size_t extra_len,
70 struct wpa_eapol_key *key, size_t extra_len, in peerkey_rx_eapol_smk() argument
Dpeerkey.c176 const struct wpa_eapol_key *key, size_t extra_len, int ver) in wpa_supplicant_process_smk_m2() argument
193 if (wpa_supplicant_parse_ies((const u8 *) (key + 1), extra_len, &kde) < in wpa_supplicant_process_smk_m2()
514 const struct wpa_eapol_key *key, size_t extra_len, int ver) in wpa_supplicant_process_smk_m45() argument
527 if (wpa_supplicant_parse_ies((const u8 *) (key + 1), extra_len, &kde) < in wpa_supplicant_process_smk_m45()
596 const struct wpa_eapol_key *key, size_t extra_len) in wpa_supplicant_process_smk_error() argument
611 if (wpa_supplicant_parse_ies((const u8 *) (key + 1), extra_len, &kde) < in wpa_supplicant_process_smk_error()
1146 struct wpa_eapol_key *key, size_t extra_len, in peerkey_rx_eapol_smk() argument
1151 wpa_supplicant_process_smk_error(sm, src_addr, key, extra_len); in peerkey_rx_eapol_smk()
1154 wpa_supplicant_process_smk_m2(sm, src_addr, key, extra_len, in peerkey_rx_eapol_smk()
1158 wpa_supplicant_process_smk_m45(sm, src_addr, key, extra_len, in peerkey_rx_eapol_smk()
Dwpa.c1197 size_t extra_len, u16 ver, in wpa_supplicant_process_1_of_2_wpa() argument
1205 if (keydatalen > extra_len) { in wpa_supplicant_process_1_of_2_wpa()
1209 (unsigned long) keydatalen, (unsigned long) extra_len); in wpa_supplicant_process_1_of_2_wpa()
1315 int extra_len, u16 ver) in wpa_supplicant_process_1_of_2() argument
1337 key_info, extra_len, in wpa_supplicant_process_1_of_2()
1555 size_t plen, data_len, extra_len; in wpa_sm_rx_eapol() local
1755 extra_len = data_len - sizeof(*hdr) - sizeof(*key); in wpa_sm_rx_eapol()
1757 if (WPA_GET_BE16(key->key_data_length) > extra_len) { in wpa_sm_rx_eapol()
1761 (unsigned long) extra_len); in wpa_sm_rx_eapol()
1764 extra_len = WPA_GET_BE16(key->key_data_length); in wpa_sm_rx_eapol()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c315 size_t extra_len = 0; in web_connection_parse_get() local
332 extra_len = 3000; in web_connection_parse_get()
334 extra_len += os_strlen(iface->wps->friendly_name); in web_connection_parse_get()
336 extra_len += os_strlen(iface->wps->manufacturer_url); in web_connection_parse_get()
338 extra_len += os_strlen(iface->wps->model_description); in web_connection_parse_get()
340 extra_len += os_strlen(iface->wps->model_url); in web_connection_parse_get()
342 extra_len += os_strlen(iface->wps->upc); in web_connection_parse_get()
346 extra_len = os_strlen(wps_scpd_xml); in web_connection_parse_get()
368 buf = wpabuf_alloc(1000 + extra_len); in web_connection_parse_get()
/external/chromium/third_party/libjingle/source/talk/base/
Dschanneladapter.cc351 size_t data_len = 0, extra_len = 0; in DecryptData() local
359 extra_len += in_buf[i].cbBuffer; in DecryptData()
366 if (extra_len) { in DecryptData()
367 size_t consumed = inbuf.size() - extra_len; in DecryptData()
368 memmove(&inbuf[0], &inbuf[consumed], extra_len); in DecryptData()
369 inbuf.resize(extra_len); in DecryptData()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c1281 size_t extra_len; in wpa_driver_bsd_add_scan_entry() local
1284 extra_len = 2 + sr->isr_ssid_len; in wpa_driver_bsd_add_scan_entry()
1285 extra_len += 2 + sr->isr_nrates; in wpa_driver_bsd_add_scan_entry()
1286 extra_len += 3; /* ERP IE */ in wpa_driver_bsd_add_scan_entry()
1287 extra_len += sr->isr_ie_len; in wpa_driver_bsd_add_scan_entry()
1289 result = os_zalloc(sizeof(*result) + extra_len); in wpa_driver_bsd_add_scan_entry()
Ddriver_hostap.c143 u16 fc, extra_len, type, stype; in handle_frame() local
173 extra_len = WPA_GET_LE16(pos); in handle_frame()
174 printf("extra data in frame (elen=%d)\n", extra_len); in handle_frame()
175 if ((size_t) extra_len + 2 > len) { in handle_frame()
179 len -= extra_len + 2; in handle_frame()
Ddriver_wext.c1365 size_t extra_len; in wpa_driver_wext_add_scan_entry() local
1383 extra_len = 0; in wpa_driver_wext_add_scan_entry()
1385 extra_len += 2 + data->ssid_len; in wpa_driver_wext_add_scan_entry()
1387 extra_len += 3; in wpa_driver_wext_add_scan_entry()
1389 r = os_zalloc(sizeof(*r) + extra_len + data->ie_len); in wpa_driver_wext_add_scan_entry()
1393 r->ie_len = extra_len + data->ie_len; in wpa_driver_wext_add_scan_entry()
/external/zlib/src/
Ddeflate.c593 wraplen += 2 + s->gzhead->extra_len;
723 put_byte(s, s->gzhead->extra_len & 0xff);
724 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
767 while (s->gzindex < (s->gzhead->extra_len & 0xffff)) {
783 if (s->gzindex == s->gzhead->extra_len) {
Dzlib.h118 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
Dinflate.c725 state->head->extra_len = (unsigned)hold;
739 len = state->head->extra_len - state->length;
/external/zlib/src/contrib/pascal/
Dzlibpas.pas56 extra_len: Integer; (* extra field length (valid if extra != Z_NULL) *)
/external/wpa_supplicant_8/src/eap_server/
Deap_server_aka.c901 size_t extra_len) in eap_aka_verify_mac() argument
905 extra_len); in eap_aka_verify_mac()
906 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len); in eap_aka_verify_mac()
/external/qemu/distrib/zlib-1.2.3/
Ddeflate.c612 put_byte(s, s->gzhead->extra_len & 0xff);
613 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
656 while (s->gzindex < (s->gzhead->extra_len & 0xffff)) {
672 if (s->gzindex == s->gzhead->extra_len) {
Dzlib.h115 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
Dinflate.c673 state->head->extra_len = (unsigned)hold;
687 len = state->head->extra_len - state->length;
/external/open-vcdiff/src/zlib/
Dzlib.h115 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
/external/chromium/sdch/open-vcdiff/src/
Dzlib.h115 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
/external/wpa_supplicant_8/src/eap_peer/
Deap_aka.c681 size_t extra_len) in eap_aka_verify_mac() argument
685 extra_len); in eap_aka_verify_mac()
686 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len); in eap_aka_verify_mac()
/external/zlib/
Dzlib.h118 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member