/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 1053 int attr_len = 2 + len; in eap_sim_msg_add_full() local 1060 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full() 1061 attr_len += pad_len; in eap_sim_msg_add_full() 1062 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full() 1066 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add_full() 1077 int attr_len = 4 + len; in eap_sim_msg_add() local 1084 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add() 1085 attr_len += pad_len; in eap_sim_msg_add() 1086 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add() 1090 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add()
|
/external/wpa_supplicant_8/src/p2p/ |
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()
|
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()
|
/external/curl/lib/ |
D | ldap.c | 501 size_t attr_len; in Curl_ldap() local 515 attr_len = strlen(attr); in Curl_ldap() 534 (char *) attr, attr_len); in Curl_ldap() 560 dlsize += attr_len + 3; in Curl_ldap() 562 if((attr_len > 7) && in Curl_ldap() 563 (strcmp(";binary", (char *) attr + (attr_len - 7)) == 0)) { in Curl_ldap()
|
/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.c | 1294 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len) in mbo_add_ie() argument 1300 if (len < 6 + attr_len) { in mbo_add_ie() 1303 len, attr_len); in mbo_add_ie() 1308 *buf++ = attr_len + 4; in mbo_add_ie() 1312 os_memcpy(buf, attr, attr_len); in mbo_add_ie() 1314 return 6 + attr_len; in mbo_add_ie()
|
D | ieee802_11_common.h | 152 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len);
|
/external/libpcap/ |
D | pcap-netfilter-linux.c | 144 int attr_len = nlh->nlmsg_len - NLMSG_ALIGN(HDR_LENGTH); in netfilter_read_linux() local 146 while (NFA_OK(attr, attr_len)) { in netfilter_read_linux() 168 attr = NFA_NEXT(attr, attr_len); in netfilter_read_linux()
|
/external/e2fsprogs/lib/blkid/ |
D | probe.c | 689 int mft_record_size, attr_off, attr_len; in probe_ntfs() local 752 attr_len = blkid_le16(attr->len); in probe_ntfs() 757 attr_off += attr_len; in probe_ntfs() 760 (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 | 306 size_t attr_len) in hapd_new_ap_event() argument 308 size_t blen = attr_len * 2 + 1; in hapd_new_ap_event() 311 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
|