Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c1053 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/
Dp2p_parse.c428 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()
Dp2p_build.c479 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/
Dldap.c502 size_t attr_len; in Curl_ldap() local
516 attr_len = strlen(attr); in Curl_ldap()
535 (char *) attr, attr_len); in Curl_ldap()
561 dlsize += attr_len + 3; in Curl_ldap()
563 if((attr_len > 7) && in Curl_ldap()
564 (strcmp(";binary", (char *) attr + (attr_len - 7)) == 0)) { in Curl_ldap()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.c1294 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()
Dieee802_11_common.h152 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len);
/external/libpcap/
Dpcap-netfilter-linux.c144 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/
Dprobe.c689 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/
DCodeAttribute.java100 int attr_len = in.readInt(); in CodeAttribute() local
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c306 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()
/external/guice/extensions/persist/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...
/external/robolectric/v1/lib/main/
Djavassist-3.14.0-GA.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/bytecode/ javassist/ ...
/external/guice/extensions/struts2/lib/
Djavassist.jarMETA-INF/ META-INF/MANIFEST.MF javassist/ javassist/ByteArrayClassPath.class ByteArrayClassPath ...