Home
last modified time | relevance | path

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

12

/external/strace/tests/
Dnetlink_kobject_uevent.c62 const unsigned int extra_len = LENGTH_OF(extra); in test_nlmsg_type_udev() local
65 char *const buf = tail_alloc(uh_len + extra_len); in test_nlmsg_type_udev()
66 memcpy(buf + extra_len, &uh, uh_len); in test_nlmsg_type_udev()
68 sys_send(fd, buf + extra_len, uh_len); in test_nlmsg_type_udev()
83 memcpy(buf + uh_len, extra, extra_len); in test_nlmsg_type_udev()
84 sys_send(fd, buf, uh_len + extra_len); in test_nlmsg_type_udev()
96 print_quoted_memory(buf + uh_len, extra_len); in test_nlmsg_type_udev()
98 uh_len + extra_len, errstr); in test_nlmsg_type_udev()
100 memcpy(buf + extra_len + 1, &uh, uh_len - 1); in test_nlmsg_type_udev()
101 sys_send(fd, buf + extra_len + 1, uh_len); in test_nlmsg_type_udev()
/external/strace/tests-m32/
Dnetlink_kobject_uevent.c62 const unsigned int extra_len = LENGTH_OF(extra); in test_nlmsg_type_udev() local
65 char *const buf = tail_alloc(uh_len + extra_len); in test_nlmsg_type_udev()
66 memcpy(buf + extra_len, &uh, uh_len); in test_nlmsg_type_udev()
68 sys_send(fd, buf + extra_len, uh_len); in test_nlmsg_type_udev()
83 memcpy(buf + uh_len, extra, extra_len); in test_nlmsg_type_udev()
84 sys_send(fd, buf, uh_len + extra_len); in test_nlmsg_type_udev()
96 print_quoted_memory(buf + uh_len, extra_len); in test_nlmsg_type_udev()
98 uh_len + extra_len, errstr); in test_nlmsg_type_udev()
100 memcpy(buf + extra_len + 1, &uh, uh_len - 1); in test_nlmsg_type_udev()
101 sys_send(fd, buf + extra_len + 1, uh_len); in test_nlmsg_type_udev()
/external/strace/tests-mx32/
Dnetlink_kobject_uevent.c62 const unsigned int extra_len = LENGTH_OF(extra); in test_nlmsg_type_udev() local
65 char *const buf = tail_alloc(uh_len + extra_len); in test_nlmsg_type_udev()
66 memcpy(buf + extra_len, &uh, uh_len); in test_nlmsg_type_udev()
68 sys_send(fd, buf + extra_len, uh_len); in test_nlmsg_type_udev()
83 memcpy(buf + uh_len, extra, extra_len); in test_nlmsg_type_udev()
84 sys_send(fd, buf, uh_len + extra_len); in test_nlmsg_type_udev()
96 print_quoted_memory(buf + uh_len, extra_len); in test_nlmsg_type_udev()
98 uh_len + extra_len, errstr); in test_nlmsg_type_udev()
100 memcpy(buf + extra_len + 1, &uh, uh_len - 1); in test_nlmsg_type_udev()
101 sys_send(fd, buf + extra_len + 1, uh_len); in test_nlmsg_type_udev()
/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
216 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()
192 extra, extra_len); in eap_sim_verify_mac()
205 const u8 *extra, size_t extra_len) in eap_sim_add_mac() argument
214 len[1] = extra_len; in eap_sim_add_mac()
220 extra, extra_len); in eap_sim_add_mac()
360 const u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_verify_mac_sha256() argument
379 len[1] = extra_len; in eap_sim_verify_mac_sha256()
386 extra, extra_len); in eap_sim_verify_mac_sha256()
399 u8 *mac, const u8 *extra, size_t extra_len) in eap_sim_add_mac_sha256() argument
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c313 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/bsdiff/
Dtest_utils.cc121 extra_len = file_size - kHeaderSize - ctrl_len - diff_len; in LoadFromFile()
128 bz2_extra = vector<uint8_t>(ptr, ptr + extra_len); in LoadFromFile()
Dtest_utils.h78 uint64_t extra_len = 0; member
Dpatch_writer_unittest.cc68 EXPECT_EQ(sizeof(kCompressedEmpty), patch.extra_len); in TEST_F()
/external/curl/lib/
Dcontent_encoding.c381 ssize_t extra_len; in check_gzip_header() local
386 extra_len = (data[1] << 8) | data[0]; in check_gzip_header()
388 if(len < (extra_len + 2)) in check_gzip_header()
391 len -= (extra_len + 2); in check_gzip_header()
392 data += (extra_len + 2); in check_gzip_header()
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c230 int i, payload_len, extra_len; in do_sendmsg_corked() local
234 extra_len = cfg_payload_len - (cfg_cork * payload_len); in do_sendmsg_corked()
246 msg->msg_iov[0].iov_len = payload_len + extra_len; in do_sendmsg_corked()
247 extra_len = 0; in do_sendmsg_corked()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c1362 size_t extra_len; in wpa_driver_bsd_add_scan_entry() local
1365 extra_len = 2 + sr->isr_ssid_len; in wpa_driver_bsd_add_scan_entry()
1366 extra_len += 2 + sr->isr_nrates; in wpa_driver_bsd_add_scan_entry()
1367 extra_len += 3; /* ERP IE */ in wpa_driver_bsd_add_scan_entry()
1368 extra_len += sr->isr_ie_len; in wpa_driver_bsd_add_scan_entry()
1370 result = os_zalloc(sizeof(*result) + extra_len); in wpa_driver_bsd_add_scan_entry()
Ddriver_wext.c1430 size_t extra_len; in wpa_driver_wext_add_scan_entry() local
1448 extra_len = 0; in wpa_driver_wext_add_scan_entry()
1450 extra_len += 2 + data->ssid_len; in wpa_driver_wext_add_scan_entry()
1452 extra_len += 3; in wpa_driver_wext_add_scan_entry()
1454 r = os_zalloc(sizeof(*r) + extra_len + data->ie_len); in wpa_driver_wext_add_scan_entry()
1458 r->ie_len = extra_len + data->ie_len; in wpa_driver_wext_add_scan_entry()
/external/python/cpython3/Lib/
Dgzip.py420 extra_len, = struct.unpack("<H", self._read_exact(2))
421 self._read_exact(extra_len)
/external/u-boot/lib/zlib/
Ddeflate.c515 wraplen += 2 + s->gzhead->extra_len;
640 put_byte(s, s->gzhead->extra_len & 0xff);
641 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
684 while (s->gzindex < (s->gzhead->extra_len & 0xffff)) {
700 if (s->gzindex == s->gzhead->extra_len) {
Dinflate.c445 state->head->extra_len = (unsigned)hold; in inflate()
459 len = state->head->extra_len - state->length; in inflate()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_aka.c905 size_t extra_len) in eap_aka_verify_mac() argument
909 extra_len); in eap_aka_verify_mac()
910 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len); in eap_aka_verify_mac()
/external/zlib/src/contrib/pascal/
Dzlibpas.pas56 extra_len: Integer; (* extra field length (valid if extra != Z_NULL) *)
/external/u-boot/include/u-boot/
Dzlib.h451 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
/external/wpa_supplicant_8/src/eap_peer/
Deap_aka.c817 size_t extra_len) in eap_aka_verify_mac() argument
821 extra_len); in eap_aka_verify_mac()
822 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len); in eap_aka_verify_mac()
/external/zlib/src/
Ddeflate.c682 wraplen += 2 + s->gzhead->extra_len;
890 put_byte(s, s->gzhead->extra_len & 0xff);
891 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
903 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
Dzlib.h120 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
/external/python/cpython2/Modules/zlib/
Ddeflate.c682 wraplen += 2 + s->gzhead->extra_len;
890 put_byte(s, s->gzhead->extra_len & 0xff);
891 put_byte(s, (s->gzhead->extra_len >> 8) & 0xff);
903 uInt left = (s->gzhead->extra_len & 0xffff) - s->gzindex;
Dzlib.h120 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member
/external/zlib/
Dzlib.h120 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */ member

12