Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 2922) sorted by relevance

12345678910>>...117

/freebsd/contrib/bc/tests/bc/
H A Dlength.txt1 length(0)
2 length(0.0000)
5 length(1)
6 length(12)
7 length(123)
8 length(1234)
9 length(12345)
15 length(1.0)
16 length(12.0)
25 length(.1)
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dder_cmp.c39 if (p->length != q->length) in der_heim_oid_cmp()
40 return p->length - q->length; in der_heim_oid_cmp()
50 if (p->length != q->length) in der_heim_octet_string_cmp()
51 return p->length - q->length; in der_heim_octet_string_cmp()
74 if (p->length != q->length) in der_heim_bit_string_cmp()
75 return p->length - q->length; in der_heim_bit_string_cmp()
96 if (p->length != q->length) in der_heim_integer_cmp()
97 return p->length - q->length; in der_heim_integer_cmp()
104 if (p->length != q->length) in der_heim_bmp_string_cmp()
105 return p->length - q->length; in der_heim_bmp_string_cmp()
[all …]
H A Dder_copy.c102 to->length = from->length; in der_copy_printable_string()
103 to->data = malloc(to->length + 1); in der_copy_printable_string()
121 to->length = from->length; in der_copy_bmp_string()
133 to->length = from->length; in der_copy_universal_string()
151 to->length = from->length; in der_copy_octet_string()
156 to->data = malloc(to->length); in der_copy_octet_string()
166 to->length = from->length; in der_copy_heim_integer()
167 to->data = malloc(to->length); in der_copy_heim_integer()
178 to->length = from->length; in der_copy_oid()
192 len = (from->length + 7) / 8; in der_copy_bit_string()
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-ipx.c90 length = GET_BE_U_2(ipx->length); in ipx_print()
161 length -= 2; in ipx_sap_print()
183 if (length < 2) in ipx_sap_print()
187 length -= 2; in ipx_sap_print()
195 length -= 48; in ipx_sap_print()
205 length -= 10; in ipx_sap_print()
211 if (length < 4) in ipx_sap_print()
214 length -= 4; in ipx_sap_print()
235 length -= 2; in ipx_rip_print()
240 if (length != 0) { in ipx_rip_print()
[all …]
H A Dprint-l2tp.c305 if (length < 2) { in l2tp_msgtype_print()
323 length -= 2; in l2tp_result_code_print()
326 if (length == 0) in l2tp_result_code_print()
334 length -= 2; in l2tp_result_code_print()
337 if (length == 0) in l2tp_result_code_print()
394 length -= 3; in l2tp_q931_cc_print()
468 length -= 2; in l2tp_call_errors_print()
523 length -= 2; in l2tp_accm_print()
550 length -= 2; in l2tp_ppp_discon_cc_print()
554 length -= 2; in l2tp_ppp_discon_cc_print()
[all …]
H A Dprint-ip-demux.c62 length -= advance; in ip_demux_print()
139 igrp_print(ndo, bp, length); in ip_demux_print()
143 eigrp_print(ndo, bp, length); in ip_demux_print()
147 ND_PRINT(" nd %u", length); in ip_demux_print()
151 egp_print(ndo, bp, length); in ip_demux_print()
163 igmp_print(ndo, bp, length); in ip_demux_print()
173 ip_print(ndo, bp, length); in ip_demux_print()
178 ip6_print(ndo, bp, length); in ip_demux_print()
182 rsvp_print(ndo, bp, length); in ip_demux_print()
186 gre_print(ndo, bp, length); in ip_demux_print()
[all …]
H A Dprint-udp.c102 if (length < 2) { in vat_print()
110 length, in vat_print()
116 if (length < 8) { in vat_print()
123 length - 8, in vat_print()
410 ulen = length; in udp_print()
418 if (ulen < length) in udp_print()
419 length = ulen; in udp_print()
440 wb_print(ndo, cp, length); in udp_print()
656 wb_print(ndo, cp, length); in udp_print()
728 ulen, length); in udp_print()
[all …]
H A Dprint-ether.c153 if (length < caplen) { in ether_common_print()
156 return length; in ether_common_print()
166 orig_length = length; in ether_common_print()
204 length -= 2; in ether_common_print()
242 length -= 2; in ether_common_print()
266 if (length < 4) { in ether_common_print()
285 length -= 4; in ether_common_print()
301 if (caplen > length) in ether_common_print()
302 caplen = length; in ether_common_print()
357 if (length < 2) { in ether_common_print()
[all …]
H A Dprint-fr.c121 length -= 2; in parse_q922_header()
129 length--; in parse_q922_header()
324 length -= hdr_len; in fr_print()
596 return length; in mfr_print()
622 if (length < 2) in frf15_print()
837 length--; in q933_print()
851 length--; in q933_print()
865 length--; in q933_print()
885 length--; in q933_print()
981 length--; in q933_print()
[all …]
H A Dprint-tftp.c103 if (length < 2) in tftp_print()
112 length -= 2; in tftp_print()
118 if (length == 0) in tftp_print()
128 length -= ui; in tftp_print()
131 if (length == 0) in tftp_print()
138 length -= ui; in tftp_print()
148 length -= ui; in tftp_print()
161 length -= ui; in tftp_print()
167 if (length < 2) in tftp_print()
174 if (length < 2) in tftp_print()
[all …]
H A Dprint-aodv.c192 GET_U_1(ep->length)); in aodv_extension()
201 GET_U_1(ep->length)); in aodv_extension()
217 if (length < sizeof(*ap)) in aodv_rreq()
232 i = length - sizeof(*ap); in aodv_rreq()
248 if (length < sizeof(*ap)) in aodv_rrep()
260 i = length - sizeof(*ap); in aodv_rrep()
277 if (length < sizeof(*ap)) in aodv_rerr()
283 i = length - sizeof(*ap); in aodv_rerr()
306 if (length < sizeof(*ap)) in aodv_v6_rreq()
321 i = length - sizeof(*ap); in aodv_v6_rreq()
[all …]
H A Dprint-radius.c846 if (length < 4) in print_vendor_attr()
850 length-=4; in print_vendor_attr()
876 length-=2; in print_vendor_attr()
905 if (length != 4) in print_attr_num()
1020 if (length != 4) in print_attr_address()
1071 if (length < 2 || length > 18) in print_attr_netmask6()
1084 if (length > 2) in print_attr_netmask6()
1129 if (length < 2) in print_attr_operator_name()
1154 if (length < 21) in print_attr_location_information()
1202 if (length < 3) in print_attr_location_data()
[all …]
H A Dprint-ppp.c455 length = len; in handle_ctrl_proto()
459 if (length == 4) in handle_ctrl_proto()
595 if (length < 2) in print_lcp_config_options()
932 length = len; in handle_pap()
1012 if (length < 2) in print_ipcp_config_options()
1150 if (length < 2) in print_ip6cp_config_options()
1210 if (length < 2) in print_ccp_config_options()
1564 length--; in ppp_print()
1569 length -= 2; in ppp_print()
1693 length -= 2; in ppp_hdlc_if_print()
[all …]
H A Dprint-llc.c164 if (length < 3) { in llc_print()
167 return (length); in llc_print()
196 if (length < 4) { in llc_print()
199 return (length); in llc_print()
256 length -= hdrlen; in llc_print()
362 if (length == 0) { in llc_print()
449 et, length - 5); in snap_print()
452 length -= 5; in snap_print()
522 length -= bridge_pad; in snap_print()
596 et, length); in snap_print()
[all …]
H A Dprint-ip.c61 if (length < 3) { in ip_printroute()
65 if ((length + 1) & 3) in ip_printroute()
94 u_int length; in ip_finddst() local
104 for (; length != 0; cp += len, length -= len) { in ip_finddst()
117 if (length < len) in ip_finddst()
176 if (length < 4) { in ip_printts()
237 for (; length > 0; cp += option_len, length -= option_len) { in ip_optprint()
321 u_int length) in ip_print() argument
358 if (length < len) in ip_print()
360 len - length); in ip_print()
[all …]
H A Dprint-atalk.c107 return (length); in llap_print()
122 return (length); in llap_print()
145 return (length); in llap_print()
175 length); in llap_print()
317 if (length != 0) in atp_print()
337 length); in atp_print()
357 if (length) in atp_print()
436 if (length < 8) { in nbp_print()
487 length); in nbp_print()
497 u_int length; in print_cstring() local
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dcodec.c41 size_t length, in krb5_decode_EncTicketPart() argument
52 size_t length, in krb5_encode_EncTicketPart() argument
63 size_t length, in krb5_decode_EncASRepPart() argument
74 size_t length, in krb5_encode_EncASRepPart() argument
85 size_t length, in krb5_decode_EncTGSRepPart() argument
107 size_t length, in krb5_decode_EncAPRepPart() argument
118 size_t length, in krb5_encode_EncAPRepPart() argument
173 size_t length, in krb5_decode_ETYPE_INFO() argument
184 size_t length, in krb5_encode_ETYPE_INFO() argument
195 size_t length, in krb5_decode_ETYPE_INFO2() argument
[all …]
H A Daes-test.c301 cipher->length, in krb_enc()
309 if (decrypt.length != clear->length || in krb_enc()
334 len = clear->length; in krb_enc_iov2()
388 p = q = emalloc(iov[1].data.length + iov[2].data.length); in krb_enc_iov2()
398 iov[1].data.length += iov[2].data.length; in krb_enc_iov2()
411 if (clear->length != iov[1].data.length) in krb_enc_iov2()
462 if (clear->length != iov[2].data.length) in krb_enc_iov()
541 if (decrypt.length != clear->length || in krb_enc_mit()
708 assert(iov[1].data.length == in.length); in iov_test()
770 assert(iov[1].data.length == in.length); in iov_test()
[all …]
/freebsd/sys/dev/sfxge/common/
H A Def10_tlv_layout.h118 uint32_t length; member
139 uint32_t length; member
155 uint32_t length; member
172 uint32_t length; member
189 uint32_t length; member
208 uint32_t length; member
216 uint32_t length; member
232 uint32_t length; member
240 uint32_t length; member
256 uint32_t length; member
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4.c501 U32 length = 0; in read_variable_length() local
505 return length; in read_variable_length()
510 length += s; in read_variable_length()
513 return length; in read_variable_length()
517 return length; in read_variable_length()
566 size_t length; in LZ4_decompress_generic() local
679 length = MIN(length, (size_t)(oend-op)); in LZ4_decompress_generic()
736 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
741 op += length; ip += length; in LZ4_decompress_generic()
778 cpy = op+length; in LZ4_decompress_generic()
[all …]
/freebsd/lib/libc/tests/sys/
H A Dqueue_test.c58 length++; in ATF_TC_BODY()
78 length++; in ATF_TC_BODY()
101 length++; in ATF_TC_BODY()
116 length = 0; in ATF_TC_BODY()
121 length++; in ATF_TC_BODY()
130 length = 0; in ATF_TC_BODY()
135 length++; in ATF_TC_BODY()
167 length++; in ATF_TC_BODY()
184 length++; in ATF_TC_BODY()
207 length++; in ATF_TC_BODY()
[all …]
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c86 if (b->initiator_address.length) in hash_input_chan_bindings()
94 if (b->acceptor_address.length) in hash_input_chan_bindings()
97 b->acceptor_address.length); in hash_input_chan_bindings()
100 if (b->application_data.length) in hash_input_chan_bindings()
131 result->checksum.length = 24 + 4 + fwd_data->length; in _gsskrb5_create_8003_checksum()
133 result->checksum.length = 24; in _gsskrb5_create_8003_checksum()
160 p += fwd_data->length; in _gsskrb5_create_8003_checksum()
181 OM_uint32 length; in _gsskrb5_verify_8003_checksum() local
193 if(length != sizeof(hash)) { in _gsskrb5_verify_8003_checksum()
218 if(cksum->checksum.length < 28) { in _gsskrb5_verify_8003_checksum()
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_ild.c287 return length + 1; in imm_dec()
294 length += ild->imm1_bytes; in imm_dec()
295 length += ild->imm2_bytes; in imm_dec()
299 return length; in imm_dec()
388 ild->disp_pos = length; in disp_dec()
476 b = get_byte(ild, length); in opcode_dec()
490 m = get_byte(ild, length); in opcode_dec()
918 return prefix_next(ild, length, get_byte(ild, length)); in prefix_rex()
969 length += 2; in prefix_vex_c5()
1019 length += 3; in prefix_vex_c4()
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Dasn1_lib.c205 if (length <= 127) { in asn1_put_length()
208 len = length; in asn1_put_length()
215 length >>= 8; in asn1_put_length()
226 if (length < 0) in ASN1_object_size()
248 return ret + length; in ASN1_object_size()
316 str->length = len; in ASN1_STRING_set()
338 str->length = len; in ASN1_STRING_set0()
389 i = (a->length - b->length); in ASN1_STRING_cmp()
404 return x->length; in ASN1_STRING_length()
410 x->length = len; in ASN1_STRING_length_set()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry_sparse.c53 la_int64_t offset, la_int64_t length) in archive_entry_sparse_add_entry() argument
57 if (offset < 0 || length < 0) in archive_entry_sparse_add_entry()
60 if (offset > INT64_MAX - length || in archive_entry_sparse_add_entry()
65 if (sp->offset + sp->length > offset) in archive_entry_sparse_add_entry()
68 if (sp->offset + sp->length == offset) { in archive_entry_sparse_add_entry()
69 if (sp->offset + sp->length + length < 0) in archive_entry_sparse_add_entry()
74 sp->length += length; in archive_entry_sparse_add_entry()
84 sp->length = length; in archive_entry_sparse_add_entry()
137 la_int64_t *offset, la_int64_t *length) in archive_entry_sparse_next() argument
141 *length = entry->sparse_p->length; in archive_entry_sparse_next()
[all …]

12345678910>>...117