Home
last modified time | relevance | path

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

12345678910>>...168

/freebsd-14.2/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-14.2/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-14.2/contrib/tcpdump/
H A Dprint-ipx.c88 length = GET_BE_U_2(ipx->length); in ipx_print()
159 length -= 2; in ipx_sap_print()
181 if (length < 2) in ipx_sap_print()
185 length -= 2; in ipx_sap_print()
193 length -= 48; in ipx_sap_print()
203 length -= 10; in ipx_sap_print()
209 if (length < 4) in ipx_sap_print()
212 length -= 4; in ipx_sap_print()
233 length -= 2; in ipx_rip_print()
238 if (length != 0) { in ipx_rip_print()
[all …]
H A Dprint-l2tp.c303 if (length < 2) { in l2tp_msgtype_print()
321 length -= 2; in l2tp_result_code_print()
324 if (length == 0) in l2tp_result_code_print()
332 length -= 2; in l2tp_result_code_print()
335 if (length == 0) in l2tp_result_code_print()
392 length -= 3; in l2tp_q931_cc_print()
466 length -= 2; in l2tp_call_errors_print()
521 length -= 2; in l2tp_accm_print()
548 length -= 2; in l2tp_ppp_discon_cc_print()
552 length -= 2; in l2tp_ppp_discon_cc_print()
[all …]
H A Dprint-ip-demux.c60 length -= advance; in ip_demux_print()
137 igrp_print(ndo, bp, length); in ip_demux_print()
141 eigrp_print(ndo, bp, length); in ip_demux_print()
145 ND_PRINT(" nd %u", length); in ip_demux_print()
149 egp_print(ndo, bp, length); in ip_demux_print()
161 igmp_print(ndo, bp, length); in ip_demux_print()
171 ip_print(ndo, bp, length); in ip_demux_print()
176 ip6_print(ndo, bp, length); in ip_demux_print()
180 rsvp_print(ndo, bp, length); in ip_demux_print()
184 gre_print(ndo, bp, length); in ip_demux_print()
[all …]
H A Dprint-udp.c100 if (length < 2) { in vat_print()
108 length, in vat_print()
114 if (length < 8) { in vat_print()
121 length - 8, in vat_print()
408 ulen = length; in udp_print()
416 if (ulen < length) in udp_print()
417 length = ulen; in udp_print()
438 wb_print(ndo, cp, length); in udp_print()
671 wb_print(ndo, cp, length); in udp_print()
727 ulen, length); in udp_print()
[all …]
H A Dprint-ether.c151 if (length < caplen) { in ether_common_print()
154 return length; in ether_common_print()
164 orig_length = length; in ether_common_print()
202 length -= 2; in ether_common_print()
240 length -= 2; in ether_common_print()
264 if (length < 4) { in ether_common_print()
283 length -= 4; in ether_common_print()
299 if (caplen > length) in ether_common_print()
300 caplen = length; in ether_common_print()
355 if (length < 2) { in ether_common_print()
[all …]
H A Dprint-fr.c119 length -= 2; in parse_q922_header()
127 length--; in parse_q922_header()
322 length -= hdr_len; in fr_print()
601 return length; in mfr_print()
627 if (length < 2) in frf15_print()
842 length--; in q933_print()
856 length--; in q933_print()
870 length--; in q933_print()
890 length--; in q933_print()
986 length--; in q933_print()
[all …]
H A Dprint-tftp.c101 if (length < 2) in tftp_print()
110 length -= 2; in tftp_print()
116 if (length == 0) in tftp_print()
126 length -= ui; in tftp_print()
129 if (length == 0) in tftp_print()
136 length -= ui; in tftp_print()
146 length -= ui; in tftp_print()
159 length -= ui; in tftp_print()
165 if (length < 2) in tftp_print()
172 if (length < 2) in tftp_print()
[all …]
H A Dprint-radius.c783 length--; in print_attr_string()
812 length--; in print_attr_string()
842 if (length < 4) in print_vendor_attr()
846 length-=4; in print_vendor_attr()
870 length-=2; in print_vendor_attr()
1054 if (length < 2 || length > 18) { in print_attr_netmask6()
1065 if (length > 2) in print_attr_netmask6()
1108 if (length < 2) { in print_attr_operator_name()
1179 if (length < 3) { in print_attr_location_data()
1412 length-=(len); in radius_attrs_print()
[all …]
H A Dprint-aodv.c190 GET_U_1(ep->length)); in aodv_extension()
199 GET_U_1(ep->length)); in aodv_extension()
215 if (length < sizeof(*ap)) in aodv_rreq()
230 i = length - sizeof(*ap); in aodv_rreq()
246 if (length < sizeof(*ap)) in aodv_rrep()
258 i = length - sizeof(*ap); in aodv_rrep()
275 if (length < sizeof(*ap)) in aodv_rerr()
281 i = length - sizeof(*ap); in aodv_rerr()
304 if (length < sizeof(*ap)) in aodv_v6_rreq()
319 i = length - sizeof(*ap); in aodv_v6_rreq()
[all …]
H A Dprint-ppp.c457 length = len; in handle_ctrl_proto()
461 if (length == 4) in handle_ctrl_proto()
597 if (length < 2) in print_lcp_config_options()
933 length = len; in handle_pap()
1013 if (length < 2) in print_ipcp_config_options()
1151 if (length < 2) in print_ip6cp_config_options()
1211 if (length < 2) in print_ccp_config_options()
1566 length--; in ppp_print()
1571 length -= 2; in ppp_print()
1695 length -= 2; in ppp_hdlc_if_print()
[all …]
H A Dprint-llc.c162 if (length < 3) { in llc_print()
165 return (length); in llc_print()
194 if (length < 4) { in llc_print()
197 return (length); in llc_print()
254 length -= hdrlen; in llc_print()
360 if (length == 0) { in llc_print()
447 et, length - 5); in snap_print()
450 length -= 5; in snap_print()
520 length -= bridge_pad; in snap_print()
594 et, length); in snap_print()
[all …]
H A Dprint-ip.c59 if (length < 3) { in ip_printroute()
63 if ((length + 1) & 3) in ip_printroute()
92 u_int length; in ip_finddst() local
102 for (; length != 0; cp += len, length -= len) { in ip_finddst()
115 if (length < len) in ip_finddst()
174 if (length < 4) { in ip_printts()
235 for (; length > 0; cp += option_len, length -= option_len) { in ip_optprint()
319 const u_int length) in ip_print() argument
347 if (len > length) { in ip_print()
354 len = length; in ip_print()
[all …]
H A Dprint-atalk.c105 return (length); in llap_print()
120 return (length); in llap_print()
143 return (length); in llap_print()
173 length); in llap_print()
315 if (length != 0) in atp_print()
335 length); in atp_print()
355 if (length) in atp_print()
434 if (length < 8) { in nbp_print()
485 length); in nbp_print()
495 u_int length; in print_cstring() local
[all …]
/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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-14.2/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>>...168