| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | attribs.h | 105 extern tree private_lookup_attribute (const char *attr_name, size_t attr_len, 168 size_t attr_len = strlen (attr_name); in lookup_attribute() local 172 return private_lookup_attribute (attr_name, attr_len, list); in lookup_attribute() 190 size_t attr_len = strlen (attr_name); in lookup_attribute_by_prefix() local 195 if (attr_len > ident_len) in lookup_attribute_by_prefix() 202 gcc_checking_assert (attr_len == 0 || p[0] != '_'); in lookup_attribute_by_prefix() 204 if (strncmp (attr_name, p, attr_len) == 0) in lookup_attribute_by_prefix()
|
| HD | multiple_target.c | 340 int attr_len = get_attr_len (arglist); in expand_target_clones() local 343 if (attr_len == -1) in expand_target_clones() 367 char *attr_str = XNEWVEC (char, attr_len); in expand_target_clones()
|
| HD | attribs.c | 1799 private_lookup_attribute (const char *attr_name, size_t attr_len, tree list) in private_lookup_attribute() argument 1805 if (cmp_attribs (attr_name, attr_len, IDENTIFIER_POINTER (attr), in private_lookup_attribute()
|
| /dragonfly/contrib/wpa_supplicant/src/common/ |
| HD | dpp.c | 1681 size_t len[2], siv_len, attr_len; in dpp_auth_build_req() local 1685 attr_len = 2 * (4 + SHA256_MAC_LEN) + 4 + (pi ? wpabuf_len(pi) : 0) + in dpp_auth_build_req() 1688 attr_len += 4 + 2; in dpp_auth_build_req() 1690 attr_len += 5; in dpp_auth_build_req() 1694 attr_len += 5; in dpp_auth_build_req() 1696 msg = dpp_alloc_msg(DPP_PA_AUTHENTICATION_REQ, attr_len); in dpp_auth_build_req() 1858 size_t len[2], siv_len, attr_len; in dpp_auth_build_resp() local 1865 attr_len = 4 + 1 + 2 * (4 + SHA256_MAC_LEN) + in dpp_auth_build_resp() 1868 attr_len += 5; in dpp_auth_build_resp() 1872 attr_len += 5; in dpp_auth_build_resp() [all …]
|
| HD | dpp.h | 410 size_t attr_len); 413 const u8 *attr_start, size_t attr_len); 417 const u8 *attr_start, size_t attr_len); 434 size_t attr_len); 439 const u8 *attr_start, size_t attr_len);
|
| HD | ieee802_11_common.c | 1697 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len) in mbo_add_ie() argument 1703 if (len < 6 + attr_len) { in mbo_add_ie() 1706 len, attr_len); in mbo_add_ie() 1711 *buf++ = attr_len + 4; in mbo_add_ie() 1715 os_memcpy(buf, attr, attr_len); in mbo_add_ie() 1717 return 6 + attr_len; in mbo_add_ie()
|
| HD | ieee802_11_common.h | 210 size_t mbo_add_ie(u8 *buf, size_t len, const u8 *attr, size_t attr_len);
|
| /dragonfly/contrib/wpa_supplicant/src/eap_common/ |
| HD | eap_sim_common.c | 1055 int attr_len = 2 + len; in eap_sim_msg_add_full() local 1062 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add_full() 1063 attr_len += pad_len; in eap_sim_msg_add_full() 1064 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add_full() 1068 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add_full() 1079 int attr_len = 4 + len; in eap_sim_msg_add() local 1086 pad_len = (4 - attr_len % 4) % 4; in eap_sim_msg_add() 1087 attr_len += pad_len; in eap_sim_msg_add() 1088 if (wpabuf_resize(&msg->buf, attr_len)) in eap_sim_msg_add() 1092 wpabuf_put_u8(msg->buf, attr_len / 4); in eap_sim_msg_add()
|
| /dragonfly/contrib/wpa_supplicant/src/p2p/ |
| HD | 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()
|
| HD | 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()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | tree.c | 5245 private_is_attribute_p (const char *attr_name, size_t attr_len, const_tree ident) in private_is_attribute_p() argument 5249 if (ident_len == attr_len) in private_is_attribute_p() 5254 else if (ident_len == attr_len + 4) in private_is_attribute_p() 5261 && strncmp (attr_name, p + 2, attr_len) == 0) in private_is_attribute_p() 5271 private_lookup_attribute (const char *attr_name, size_t attr_len, tree list) in private_lookup_attribute() argument 5277 if (ident_len == attr_len) in private_lookup_attribute() 5285 else if (ident_len == attr_len + 4) in private_lookup_attribute() 5290 && strncmp (attr_name, p + 2, attr_len) == 0) in private_lookup_attribute() 5329 size_t attr_len = IDENTIFIER_LENGTH (attr_identifier); in lookup_ident_attribute() local 5332 if (ident_len == attr_len + 4) in lookup_ident_attribute() [all …]
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | readelf.c | 13969 bfd_vma attr_len; in process_attributes() local 13979 attr_len = byte_get (p, 4); in process_attributes() 13982 if (attr_len > section_len) in process_attributes() 13985 (unsigned) attr_len, (unsigned) section_len); in process_attributes() 13986 attr_len = section_len; in process_attributes() 13989 else if (attr_len < 5) in process_attributes() 13991 error (_("Attribute length of %u is too small\n"), (unsigned) attr_len); in process_attributes() 13995 section_len -= attr_len; in process_attributes() 13996 attr_len -= 4; in process_attributes() 13998 namelen = strnlen ((char *) p, attr_len) + 1; in process_attributes() [all …]
|
| /dragonfly/contrib/wpa_supplicant/src/ap/ |
| HD | 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()
|
| /dragonfly/contrib/binutils-2.34/binutils/ |
| HD | readelf.c | 15999 bfd_vma attr_len; in process_attributes() local 16010 attr_len = byte_get (p, 4); in process_attributes() 16013 if (attr_len > section_len) in process_attributes() 16016 (unsigned) attr_len, (unsigned) section_len); in process_attributes() 16017 attr_len = section_len; in process_attributes() 16021 else if (attr_len < 5) in process_attributes() 16023 error (_("Attribute length of %u is too small\n"), (unsigned) attr_len); in process_attributes() 16028 section_len -= attr_len; in process_attributes() 16029 attr_len -= 4; in process_attributes() 16031 namelen = strnlen ((char *) p, attr_len) + 1; in process_attributes() [all …]
|