Searched refs:attr_len (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.0-release/contrib/wpa/src/p2p/
H A Dp2p_parse.c298 u16 attr_len; local
303 attr_len = WPA_GET_LE16(pos + 1);
305 pos[0], attr_len);
306 if (pos + 3 + attr_len > end) {
309 attr_len, (int) (end - pos - 3));
313 if (p2p_parse_attribute(pos[0], pos + 3, attr_len, msg))
315 pos += 3 + attr_len;
/freebsd-10.0-release/contrib/wpa/src/eap_common/
H A Deap_sim_common.c648 "attr_len=%lu)",
1054 int attr_len = 2 + len; local
1061 pad_len = (4 - attr_len % 4) % 4;
1062 attr_len += pad_len;
1063 if (wpabuf_resize(&msg->buf, attr_len))
1067 wpabuf_put_u8(msg->buf, attr_len / 4);
1078 int attr_len = 4 + len; local
1085 pad_len = (4 - attr_len % 4) % 4;
1086 attr_len += pad_len;
1087 if (wpabuf_resize(&msg->buf, attr_len))
[all...]
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-netfilter-linux.c137 int attr_len = nlh->nlmsg_len - NLMSG_ALIGN(HDR_LENGTH); local
139 while (NFA_OK(attr, attr_len)) {
161 attr = NFA_NEXT(attr, attr_len);
/freebsd-10.0-release/contrib/gcc/
H A Dtree.c3467 is_attribute_with_length_p (const char *attr, int attr_len, tree ident)
3478 if (ident_len == attr_len
3486 gcc_assert (attr[attr_len - 2] == '_');
3487 gcc_assert (attr[attr_len - 1] == '_');
3488 if (ident_len == attr_len - 4
3489 && strncmp (attr + 2, p, attr_len - 4) == 0)
3494 if (ident_len == attr_len + 4
3497 && strncmp (attr, p + 2, attr_len) == 0)
3525 size_t attr_len = strlen (attr_name);
3530 if (is_attribute_with_length_p (attr_name, attr_len, TREE_PURPOS
3446 is_attribute_with_length_p(const char *attr, int attr_len, tree ident) argument
3504 size_t attr_len = strlen (attr_name); local
3523 size_t attr_len = strlen (attr_name); local
3685 const size_t attr_len = strlen ("dllimport"); local
[all...]
/freebsd-10.0-release/contrib/wpa/src/ap/
H A Dwps_hostapd.c267 size_t attr_len)
269 size_t blen = attr_len * 2 + 1;
272 wpa_snprintf_hex(buf, blen, attr, attr_len);
266 hapd_new_ap_event(struct hostapd_data *hapd, const u8 *attr, size_t attr_len) argument

Completed in 191 milliseconds