/external/syslinux/core/fs/ntfs/ |
D | ntfs.c | 46 static int parse_data_run(const void *stream, uint32_t *offset, uint8_t *attr_len, struct mapping_c… 201 uint8_t *attr_len = NULL; in ntfs_mft_record_lookup_any() local 220 attr_len = (uint8_t *)attr + attr->len; in ntfs_mft_record_lookup_any() 223 err = parse_data_run(stream, &attr_offset, attr_len, &chunk); in ntfs_mft_record_lookup_any() 338 uint8_t *attr_len, struct mapping_chunk *chunk) in parse_data_run() argument 350 (void)attr_len; in parse_data_run() 357 if (buf > attr_len || !*buf) { in parse_data_run() 411 uint8_t *attr_len; in ntfs_attr_list_lookup() local 449 attr_len = (uint8_t *)attr + attr->len; in ntfs_attr_list_lookup() 452 err = parse_data_run(stream, &offset, attr_len, &chunk); in ntfs_attr_list_lookup() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 1050 int attr_len = 2 + len; in eap_sim_msg_add_full() local 1057 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full() 1058 attr_len += pad_len; in eap_sim_msg_add_full() 1059 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full() 1063 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add_full() 1074 int attr_len = 4 + len; in eap_sim_msg_add() local 1081 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add() 1082 attr_len += pad_len; in eap_sim_msg_add() 1083 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add() 1087 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add()
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 1344 size_t len[2], siv_len, attr_len; in dpp_auth_init() local 1397 attr_len = 2 * (4 + SHA256_MAC_LEN) + 4 + wpabuf_len(pi) + in dpp_auth_init() 1399 msg = dpp_alloc_msg(DPP_PA_AUTHENTICATION_REQ, attr_len); in dpp_auth_init() 1876 size_t len[2], siv_len, attr_len; in dpp_auth_build_resp() local 1941 attr_len = 4 + 1 + 2 * (4 + SHA256_MAC_LEN) + in dpp_auth_build_resp() 1943 msg = dpp_alloc_msg(DPP_PA_AUTHENTICATION_RESP, attr_len); in dpp_auth_build_resp() 2055 size_t len[2], siv_len, attr_len; in dpp_auth_build_resp_status() local 2061 attr_len = 4 + 1 + 2 * (4 + SHA256_MAC_LEN) + 4 + sizeof(wrapped_data); in dpp_auth_build_resp_status() 2062 msg = dpp_alloc_msg(DPP_PA_AUTHENTICATION_RESP, attr_len); in dpp_auth_build_resp_status() 2160 size_t attr_len; in dpp_auth_req_rx() local [all …]
|
D | dpp.h | 228 const u8 *attr_start, size_t attr_len); 232 const u8 *attr_start, size_t attr_len); 239 size_t attr_len);
|
D | ieee802_11_common.c | 1470 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len) in mbo_add_ie() argument 1476 if (len < 6 + attr_len) { in mbo_add_ie() 1479 len, attr_len); in mbo_add_ie() 1484 *buf++ = attr_len + 4; in mbo_add_ie() 1488 os_memcpy(buf, attr, attr_len); in mbo_add_ie() 1490 return 6 + attr_len; in mbo_add_ie()
|
D | ieee802_11_common.h | 181 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len);
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_parse.c | 428 u16 attr_len; in p2p_parse_p2p_ie() local 436 attr_len = WPA_GET_LE16(pos); in p2p_parse_p2p_ie() 439 id, attr_len); in p2p_parse_p2p_ie() 440 if (attr_len > end - pos) { in p2p_parse_p2p_ie() 443 attr_len, (int) (end - pos)); in p2p_parse_p2p_ie() 447 if (p2p_parse_attribute(id, pos, attr_len, msg)) in p2p_parse_p2p_ie() 449 pos += attr_len; in p2p_parse_p2p_ie()
|
D | p2p_build.c | 479 size_t *total_len, u8 *attr_len) in p2p_buf_add_service_info() argument 589 WPA_PUT_LE16(attr_len, (u16) *total_len); in p2p_buf_add_service_info() 602 u8 *pos, *attr_len, *ie_len = NULL; in p2p_buf_add_service_instance() local 626 attr_len = wpabuf_put(tmp_buf, sizeof(u16)); in p2p_buf_add_service_instance() 627 WPA_PUT_LE16(attr_len, (u16) total_len); in p2p_buf_add_service_instance() 634 &ie_len, &pos, &total_len, attr_len); in p2p_buf_add_service_instance() 652 attr_len)) in p2p_buf_add_service_instance()
|
/external/curl/lib/ |
D | ldap.c | 574 size_t attr_len; in Curl_ldap() local 588 attr_len = strlen(attr); in Curl_ldap() 607 (char *) attr, attr_len); in Curl_ldap() 633 dlsize += attr_len + 3; in Curl_ldap() 635 if((attr_len > 7) && in Curl_ldap() 636 (strcmp(";binary", (char *) attr + (attr_len - 7)) == 0)) { in Curl_ldap()
|
/external/scapy/scapy/contrib/ |
D | bgp.py | 1070 attr_len = 0 1072 attr_len = struct.unpack("!H", remain[2:4])[0] 1073 current = remain[:4 + attr_len] 1074 remain = remain[4 + attr_len:] 1076 attr_len = orb(remain[2]) 1077 current = remain[:3 + attr_len] 1078 remain = remain[3 + attr_len:] 2063 if self.attr_len is None:
|
/external/scapy/scapy/layers/ |
D | radius.py | 1074 attr_len = orb(remain[1]) 1075 current = remain[:attr_len] 1076 remain = remain[attr_len:]
|
/external/libpcap/ |
D | pcap-netfilter-linux.c | 147 int attr_len = nlh->nlmsg_len - NLMSG_ALIGN(HDR_LENGTH); in netfilter_read_linux() local 149 while (NFA_OK(attr, attr_len)) { in netfilter_read_linux() 171 attr = NFA_NEXT(attr, attr_len); in netfilter_read_linux()
|
/external/e2fsprogs/lib/blkid/ |
D | probe.c | 691 int mft_record_size, attr_off, attr_len; in probe_ntfs() local 754 attr_len = blkid_le16(attr->len); in probe_ntfs() 759 attr_off += attr_len; in probe_ntfs() 762 (attr_len == 0)) in probe_ntfs()
|
/external/javassist/src/main/javassist/bytecode/ |
D | CodeAttribute.java | 100 int attr_len = in.readInt(); in CodeAttribute() local
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 300 size_t attr_len) in hapd_new_ap_event() argument 302 size_t blen = attr_len * 2 + 1; in hapd_new_ap_event() 305 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
|