Home
last modified time | relevance | path

Searched refs:attr_len (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c298 u16 attr_len; in p2p_parse_p2p_ie() local
303 attr_len = WPA_GET_LE16(pos + 1); in p2p_parse_p2p_ie()
305 pos[0], attr_len); in p2p_parse_p2p_ie()
306 if (pos + 3 + attr_len > end) { in p2p_parse_p2p_ie()
309 attr_len, (int) (end - pos - 3)); in p2p_parse_p2p_ie()
313 if (p2p_parse_attribute(pos[0], pos + 3, attr_len, msg)) in p2p_parse_p2p_ie()
315 pos += 3 + attr_len; in p2p_parse_p2p_ie()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_sim_common.c1059 int attr_len = 2 + len; in eap_sim_msg_add_full() local
1066 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full()
1067 attr_len += pad_len; in eap_sim_msg_add_full()
1068 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full()
1072 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add_full()
1083 int attr_len = 4 + len; in eap_sim_msg_add() local
1090 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add()
1091 attr_len += pad_len; in eap_sim_msg_add()
1092 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add()
1096 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1054 int attr_len = 2 + len; in eap_sim_msg_add_full() local
1061 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full()
1062 attr_len += pad_len; in eap_sim_msg_add_full()
1063 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full()
1067 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add_full()
1078 int attr_len = 4 + len; in eap_sim_msg_add() local
1085 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add()
1086 attr_len += pad_len; in eap_sim_msg_add()
1087 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add()
1091 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add()
/external/e2fsprogs/lib/blkid/
Dprobe.c691 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/wpa_supplicant_8/src/ap/
Dwps_hostapd.c258 size_t attr_len) in hapd_new_ap_event() argument
260 size_t blen = attr_len * 2 + 1; in hapd_new_ap_event()
263 wpa_snprintf_hex(buf, blen, attr, attr_len); in hapd_new_ap_event()
/external/javassist/src/main/javassist/bytecode/
DCodeAttribute.java100 int attr_len = in.readInt(); in CodeAttribute() local