/freebsd/sys/dev/ocs_fc/ |
H A D | ocs_vpd.h | 153 int sublen; in ocs_find_vpd() local 162 sublen = vpdnext(&vpdbuf); in ocs_find_vpd() 165 len -= (sublen + 3); in ocs_find_vpd() 170 for (i = 0; i < sublen; i++) { in ocs_find_vpd() 176 for (i = 0; i < sublen; i++) { in ocs_find_vpd() 187 for (i = 0; i < sublen; i++) { in ocs_find_vpd()
|
/freebsd/contrib/tcpdump/ |
H A D | print-babel.c | 300 uint8_t subtype, sublen; in subtlvs_print() local 315 sublen = GET_U_1(cp); in subtlvs_print() 317 if(cp + sublen > ep) in subtlvs_print() 323 cp += sublen; in subtlvs_print() 327 if (sublen == 0) { in subtlvs_print() 332 while (sublen) { in subtlvs_print() 337 sublen--; in subtlvs_print() 346 if(sublen < 4) in subtlvs_print() 351 if(sublen < 8) in subtlvs_print() 359 cp += sublen; in subtlvs_print() [all …]
|
H A D | print-lldp.c | 659 u_int sublen; in lldp_private_8021_print() local 697 sublen = GET_U_1(tptr + 6); in lldp_private_8021_print() 698 if (tlv_len < 7+sublen) { in lldp_private_8021_print() 702 nd_printjnp(ndo, tptr + 7, sublen); in lldp_private_8021_print() 708 sublen = GET_U_1(tptr + 4); in lldp_private_8021_print() 709 if (tlv_len < 5+sublen) { in lldp_private_8021_print() 713 nd_printjnp(ndo, tptr + 5, sublen); in lldp_private_8021_print() 799 sublen=tlv_len-5; in lldp_private_8021_print() 800 if(sublen%3!=0){ in lldp_private_8021_print() 805 while(i<sublen) { in lldp_private_8021_print() [all …]
|
H A D | print-isoclns.c | 2269 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local 2336 sublen=GET_U_1(tptr); in isis_print_extd_ip_reach() 2338 processed+=sublen+1; in isis_print_extd_ip_reach() 2339 ND_PRINT(" (%u)", sublen); /* print out subTLV length */ in isis_print_extd_ip_reach() 2341 while (sublen>0) { in isis_print_extd_ip_reach() 2350 sublen-=(subtlvlen+2); in isis_print_extd_ip_reach()
|
/freebsd/contrib/sqlite3/tea/win/ |
H A D | nmakehlp.c | 755 int sublen; in LocateDependencyHelper() local 762 sublen = strlen(finfo.cFileName); in LocateDependencyHelper() 763 if ((dirlen+1+sublen+1+keylen+1) > sizeof(path)) in LocateDependencyHelper() 765 strncpy(path+dirlen+1, finfo.cFileName, sublen); in LocateDependencyHelper() 766 path[dirlen+1+sublen] = '\\'; in LocateDependencyHelper() 767 strncpy(path+dirlen+1+sublen+1, keypath, keylen+1); in LocateDependencyHelper() 770 path[dirlen+1+sublen] = '\0'; in LocateDependencyHelper()
|
/freebsd/contrib/mandoc/ |
H A D | eqn_parse.h | 35 int sublen; /* End of rightmost substitution, so far. */ member
|
H A D | eqn.c | 388 if (ep->end - ep->data >= ep->sublen) in eqn_next() 448 ep->sublen += diff; in eqn_next() 455 if (ep->sublen < newlen) in eqn_next() 456 ep->sublen = newlen; in eqn_next() 683 ep->sublen = 0; in eqn_parse()
|
/freebsd/contrib/wpa/src/radius/ |
H A D | radius_server.c | 799 u8 *buf, *pos, *end, type, sublen; in radius_server_hs20_missing_sim_pps() local 817 sublen = *pos++; in radius_server_hs20_missing_sim_pps() 818 if (sublen < 2) in radius_server_hs20_missing_sim_pps() 820 sublen -= 2; /* skip header */ in radius_server_hs20_missing_sim_pps() 821 if (pos + sublen > end) in radius_server_hs20_missing_sim_pps() 827 RADIUS_DUMP("HS2.0 mobile device version", pos, sublen); in radius_server_hs20_missing_sim_pps() 828 if (sublen < 1 + 2) in radius_server_hs20_missing_sim_pps() 1316 u8 *buf, *pos, *end, type, sublen, *timestamp = NULL; in radius_server_hs20_t_c_check() local 1333 sublen = *pos++; in radius_server_hs20_t_c_check() 1334 if (sublen < 2) in radius_server_hs20_t_c_check() [all …]
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_1x.c | 1890 u8 *buf, *pos, *end, type, sublen; in ieee802_1x_check_hs20() local 1911 sublen = *pos++; in ieee802_1x_check_hs20() 1912 if (sublen < 2) in ieee802_1x_check_hs20() 1914 sublen -= 2; /* skip header */ in ieee802_1x_check_hs20() 1915 if (pos + sublen > end) in ieee802_1x_check_hs20() 1920 ieee802_1x_hs20_sub_rem(sta, pos, sublen); in ieee802_1x_check_hs20() 1923 ieee802_1x_hs20_deauth_req(hapd, sta, pos, sublen); in ieee802_1x_check_hs20() 1926 ieee802_1x_hs20_session_info(hapd, sta, pos, sublen, in ieee802_1x_check_hs20() 1930 ieee802_1x_hs20_t_c_filtering(hapd, sta, pos, sublen); in ieee802_1x_check_hs20() 1933 ieee802_1x_hs20_t_c_url(hapd, sta, pos, sublen); in ieee802_1x_check_hs20()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_ahci.c | 804 unsigned int sublen; in read_prdt() local 808 sublen = MIN(len, dbcsz); in read_prdt() 809 memcpy(to, ptr, sublen); in read_prdt() 810 len -= sublen; in read_prdt() 811 to += sublen; in read_prdt() 966 int sublen; in write_prdt() local 970 sublen = MIN(len, dbcsz); in write_prdt() 971 memcpy(ptr, from, sublen); in write_prdt() 972 len -= sublen; in write_prdt() 973 from += sublen; in write_prdt()
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_dcb.c | 449 u16 len, tlvlen, sublen, typelength; in i40e_parse_cee_tlv() local 473 sublen = (u16)((typelength & in i40e_parse_cee_tlv() 495 sublen); in i40e_parse_cee_tlv()
|
/freebsd/sys/dev/ice/ |
H A D | ice_dcb.c | 671 u16 sublen; in ice_parse_cee_tlv() local 674 sublen = ((typelen & ICE_LLDP_TLV_LEN_M) >> ICE_LLDP_TLV_LEN_S); in ice_parse_cee_tlv() 694 sublen); in ice_parse_cee_tlv()
|
/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 4501 size_t len, seclen, nlen, sublen; in dump_attributes() local 4551 sublen = re->dw_decode(&p, 4); in dump_attributes() 4552 if (sublen > seclen) { in dump_attributes() 4557 seclen -= sublen; in dump_attributes() 4571 dump_arm_attributes(re, p, sp + sublen); in dump_attributes() 4575 sp + sublen); in dump_attributes() 4577 dump_ppc_attributes(p, sp + sublen); in dump_attributes() 4578 p = sp + sublen; in dump_attributes()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 4741 size_t sublen = dtrace_strlen(substr, size); local 4753 if (!dtrace_canload((uintptr_t)substr, sublen + 1, mstate, 4765 if (sublen == 0 && len == 0) { 4828 if (sublen == 0) 4840 if (sublen == 0) 4851 if (dtrace_strncmp(addr, substr, sublen) == 0) {
|