Home
last modified time | relevance | path

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

12345678910>>...136

/freebsd-12.1/contrib/gcclibs/libiberty/
H A Ddyn-string.c176 ds->length = 0; in dyn_string_clear()
195 dest->length = src->length; in dyn_string_copy()
213 dest->length = length; in dyn_string_copy_cstr()
259 dest->length += src->length; in dyn_string_insert()
274 if (dyn_string_resize (dest, dest->length + length) == NULL) in dyn_string_insert_cstr()
282 dest->length += length; in dyn_string_insert_cstr()
314 if (dyn_string_resize (dest, dest->length + s->length) == 0) in dyn_string_append()
317 dest->length += s->length; in dyn_string_append()
370 if (start > end || start > src->length || end > src->length) in dyn_string_substring()
382 dest->length = length; in dyn_string_substring()
[all …]
/freebsd-12.1/contrib/binutils/libiberty/
H A Ddyn-string.c176 ds->length = 0; in dyn_string_clear()
195 dest->length = src->length; in dyn_string_copy()
213 dest->length = length; in dyn_string_copy_cstr()
259 dest->length += src->length; in dyn_string_insert()
274 if (dyn_string_resize (dest, dest->length + length) == NULL) in dyn_string_insert_cstr()
282 dest->length += length; in dyn_string_insert_cstr()
314 if (dyn_string_resize (dest, dest->length + s->length) == 0) in dyn_string_append()
317 dest->length += s->length; in dyn_string_append()
370 if (start > end || start > src->length || end > src->length) in dyn_string_substring()
382 dest->length = length; in dyn_string_substring()
[all …]
/freebsd-12.1/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.c88 to->length = from->length; in der_copy_printable_string()
89 to->data = malloc(to->length + 1); in der_copy_printable_string()
107 to->length = from->length; in der_copy_bmp_string()
119 to->length = from->length; in der_copy_universal_string()
137 to->length = from->length; in der_copy_octet_string()
138 to->data = malloc(to->length); in der_copy_octet_string()
148 to->length = from->length; in der_copy_heim_integer()
149 to->data = malloc(to->length); in der_copy_heim_integer()
160 to->length = from->length; in der_copy_oid()
174 len = (from->length + 7) / 8; in der_copy_bit_string()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Dprint-l2tp.c304 if (length < 2) { in l2tp_msgtype_print()
324 length -= 2; in l2tp_result_code_print()
327 if (length == 0) in l2tp_result_code_print()
335 length -= 2; in l2tp_result_code_print()
338 if (length == 0) in l2tp_result_code_print()
399 length -= 3; in l2tp_q931_cc_print()
482 length -= 2; in l2tp_call_errors_print()
544 length -= 2; in l2tp_accm_print()
575 length -= 2; in l2tp_ppp_discon_cc_print()
579 length -= 2; in l2tp_ppp_discon_cc_print()
[all …]
H A Dprint-ether.c108 length = length_type; in ether_hdr_print()
116 length = length_type; in ether_hdr_print()
148 if (length < ETHER_HDRLEN) { in ether_print()
150 return (length); in ether_print()
158 orig_length = length; in ether_print()
160 length -= ETHER_HDRLEN; in ether_print()
198 if (length < 4) { in ether_print()
200 return (hdrlen + length); in ether_print()
212 length -= 4; in ether_print()
337 ip6_print(ndo, p, length); in ethertype_print()
[all …]
H A Dprint-fr.c124 length -= 2; in parse_q922_addr()
132 length--; in parse_q922_addr()
227 if ((length = fr_print(ndo, p, length)) == 0) in fr_if_print()
383 if ((length = mfr_print(ndo, p, length)) == 0) in mfr_if_print()
576 return length; in mfr_print()
817 length--; in q933_print()
831 length--; in q933_print()
845 length--; in q933_print()
865 length--; in q933_print()
962 length--; in q933_print()
[all …]
H A Dprint-ipx.c89 ND_TCHECK(ipx->length); in ipx_print()
90 length = EXTRACT_16BITS(&ipx->length); in ipx_print()
95 ND_PRINT((ndo, "[|ipx %d]", length)); in ipx_print()
117 ND_PRINT((ndo, "ipx-ncp %d", length)); in ipx_decode()
128 ipx_netbios_print(ndo, datap, length); in ipx_decode()
141 eigrp_print(ndo, datap, length); in ipx_decode()
157 length -= 2; in ipx_sap_print()
189 length -= 64; in ipx_sap_print()
209 length -= 2; in ipx_rip_print()
214 if (length > 0) { in ipx_rip_print()
[all …]
H A Dprint-aodv.c190 if (ep->length < 4) { 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()
335 if (length < sizeof(*ap)) in aodv_v6_rrep()
[all …]
H A Dprint-ppp.c443 if (length <= 4) in handle_ctrl_proto()
518 if (length < 6) in handle_ctrl_proto()
586 if (length < 2) in print_lcp_config_options()
948 length = len; in handle_pap()
1031 if (length < 2) in print_ipcp_config_options()
1167 if (length < 2) in print_ip6cp_config_options()
1227 if (length < 2) in print_ccp_config_options()
1559 length--; in ppp_print()
1565 length -= 2; in ppp_print()
1676 length -= 2; in ppp_hdlc_if_print()
[all …]
H A Dprint-udp.c412 length -= sizeof(struct udphdr); in udp_print()
413 if (ulen < length) in udp_print()
414 length = ulen; in udp_print()
472 tftp_print(ndo, cp, length); in udp_print()
483 radius_print(ndo, cp, length); in udp_print()
498 lmp_print(ndo, cp, length); in udp_print()
691 llap_print(ndo, cp, length); in udp_print()
693 if (ulen > length) in udp_print()
695 ulen, length)); in udp_print()
700 if (ulen > length) in udp_print()
[all …]
H A Dprint-tftp.c102 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()
149 length -= ui; in tftp_print()
163 length -= ui; in tftp_print()
169 if (length < 2) in tftp_print()
177 if (length < 2) in tftp_print()
[all …]
H A Dprint-arcnet.c136 length)); in arcnet_print()
145 length)); in arcnet_print()
152 length)); in arcnet_print()
160 (flag + 3) / 2, length)); in arcnet_print()
165 flag/2 + 1, length)); in arcnet_print()
178 u_int length = h->len; in arcnet_if_print() local
235 length -= archdrlen; in arcnet_if_print()
266 u_int length = h->len; in arcnet_linux_if_print() local
301 length -= archdrlen; in arcnet_linux_if_print()
331 ip6_print(ndo, p, length); in arcnet_encap_print()
[all …]
H A Dprint-llc.c163 if (length < 3) { in llc_print()
166 return (length); in llc_print()
195 if (length < 4) { in llc_print()
198 return (length); in llc_print()
255 length -= hdrlen; in llc_print()
361 if (length == 0) { in llc_print()
445 et, length - 5)); in snap_print()
448 length -= 5; in snap_print()
518 length -= bridge_pad; in snap_print()
592 et, length)); in snap_print()
[all …]
H A Dprint-atalk.c105 return (length); in llap_print()
120 return (length); in llap_print()
132 length -= ddpSSize; in llap_print()
140 return (length); in llap_print()
154 length -= ddpSize; in llap_print()
204 length -= ddpSize; in atalk_print()
305 if (length != 0) in atp_print()
344 if (length) in atp_print()
424 if (length < 8) { in nbp_print()
486 length = *cp++; in print_cstring()
[all …]
/freebsd-12.1/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-12.1/sys/dev/sfxge/common/
H A Def10_tlv_layout.h116 uint32_t length; member
138 uint32_t length; member
155 uint32_t length; member
174 uint32_t length; member
192 uint32_t length; member
212 uint32_t length; member
220 uint32_t length; member
237 uint32_t length; member
245 uint32_t length; member
262 uint32_t length; member
[all …]
/freebsd-12.1/lib/libc/tests/sys/
H A Dqueue_test.c61 length++; in ATF_TC_BODY()
81 length++; in ATF_TC_BODY()
104 length++; in ATF_TC_BODY()
119 length = 0; in ATF_TC_BODY()
124 length++; in ATF_TC_BODY()
133 length = 0; in ATF_TC_BODY()
138 length++; in ATF_TC_BODY()
170 length++; in ATF_TC_BODY()
187 length++; in ATF_TC_BODY()
210 length++; in ATF_TC_BODY()
[all …]
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_ild.c326 return length + 1; in imm_dec()
333 length += ild->imm1_bytes; in imm_dec()
334 length += ild->imm2_bytes; in imm_dec()
338 return length; in imm_dec()
427 ild->disp_pos = length; in disp_dec()
515 b = get_byte(ild, length); in opcode_dec()
529 m = get_byte(ild, length); in opcode_dec()
672 return prefix_next(ild, length, get_byte(ild, length)); in prefix_rex()
723 length += 2; in prefix_vex_c5()
773 length += 3; in prefix_vex_c4()
[all …]
/freebsd-12.1/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-12.1/contrib/gdb/gdb/
H A Dminimon.h177 INT32 length; member
186 INT32 length; member
198 INT32 length; member
205 INT32 length; member
212 INT32 length; member
219 INT32 length; member
229 INT32 length; member
240 INT32 length; member
251 INT32 length; member
262 INT32 length; member
[all …]
/freebsd-12.1/contrib/ntp/lib/isc/
H A Dhex.c68 if (source->length != 0 && in isc_hex_totext()
92 ctx->length = length; in hex_decode_init()
108 if (ctx->length >= 0) { in hex_decode_char()
109 if (ctx->length == 0) in hex_decode_char()
112 ctx->length -= 1; in hex_decode_char()
121 if (ctx->length > 0) in hex_decode_finish()
137 while (ctx.length != 0) { in isc_hex_tobuffer()
140 if (length > 0) in isc_hex_tobuffer()
152 if (ctx.length < 0) in isc_hex_tobuffer()
183 if (l > region.length) in str_totext()
[all …]
H A Dbase32.c68 if (source->length == 1) { in base32_totext()
115 if (source->length > 0) in base32_totext()
155 ctx->length = length; in base32_decode_init()
234 if (ctx->length >= 0) { in base32_decode_char()
235 if (n > ctx->length) in base32_decode_char()
238 ctx->length -= n; in base32_decode_char()
247 if (ctx->length > 0) in base32_decode_finish()
256 int length) in base32_tobuffer() argument
268 if (length > 0) in base32_tobuffer()
355 if (l > region.length) in str_totext()
[all …]
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_entry_sparse.c54 la_int64_t offset, la_int64_t length) in archive_entry_sparse_add_entry() argument
58 if (offset < 0 || length < 0) in archive_entry_sparse_add_entry()
61 if (offset > INT64_MAX - length || in archive_entry_sparse_add_entry()
66 if (sp->offset + sp->length > offset) in archive_entry_sparse_add_entry()
69 if (sp->offset + sp->length == offset) { in archive_entry_sparse_add_entry()
70 if (sp->offset + sp->length + length < 0) in archive_entry_sparse_add_entry()
75 sp->length += length; in archive_entry_sparse_add_entry()
85 sp->length = length; in archive_entry_sparse_add_entry()
138 la_int64_t *offset, la_int64_t *length) in archive_entry_sparse_next() argument
142 *length = entry->sparse_p->length; in archive_entry_sparse_next()
[all …]

12345678910>>...136