Home
last modified time | relevance | path

Searched refs:len (Results 26 – 50 of 4657) sorted by relevance

12345678910>>...187

/freebsd/contrib/tcpdump/
H A Dprint-ptp.c485 *len -= 6; in ptp_print_timestamp()
491 *len -= 4; in ptp_print_timestamp()
507 *len -= 6; in ptp_print_timestamp_identity()
513 *len -= 4; in ptp_print_timestamp_identity()
519 *len -= 8; in ptp_print_timestamp_identity()
525 *len -= 2; in ptp_print_timestamp_identity()
541 *len -= 6; in ptp_print_announce_msg()
547 *len -= 4; in ptp_print_announce_msg()
553 *len -= 2; in ptp_print_announce_msg()
559 *len -= 1; in ptp_print_announce_msg()
[all …]
H A Dprint-gre.c119 len -= 2; in gre_print_0()
126 len -= 2; in gre_print_0()
136 len -= 2; in gre_print_0()
143 len -= 2; in gre_print_0()
152 len -= 4; in gre_print_0()
161 len -= 4; in gre_print_0()
242 len -= 2; in gre_print_1()
253 len -= 2; in gre_print_1()
265 len -= 4; in gre_print_1()
275 len -= 4; in gre_print_1()
[all …]
H A Dprint-dvmrp.c85 if (len < 8) { in dvmrp_print()
94 len -= 8; in dvmrp_print()
156 if (len < 3) { in print_report()
172 len -= 3; in print_report()
206 if (len < 4) { in print_probe()
216 len -= 4; in print_probe()
218 if (len < 4) { in print_probe()
254 len -= 7; in print_neighbors()
264 len -= 4; in print_neighbors()
300 len -= 8; in print_neighbors2()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dstr2wire.h62 int sldns_str2wire_dname_buf(const char* str, uint8_t* buf, size_t* len);
83 uint8_t* sldns_str2wire_dname(const char* str, size_t* len);
104 int sldns_str2wire_rr_buf(const char* str, uint8_t* rr, size_t* len,
298 int sldns_str2wire_rdf_buf(const char* str, uint8_t* rd, size_t* len,
335 int sldns_str2wire_a_buf(const char* str, uint8_t* rd, size_t* len);
353 int sldns_str2wire_str_buf(const char* str, uint8_t* rd, size_t* len);
362 int sldns_str2wire_apl_buf(const char* str, uint8_t* rd, size_t* len);
371 int sldns_str2wire_b64_buf(const char* str, uint8_t* rd, size_t* len);
390 int sldns_str2wire_hex_buf(const char* str, uint8_t* rd, size_t* len);
435 int sldns_str2wire_alg_buf(const char* str, uint8_t* rd, size_t* len);
[all …]
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Dl13 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
4 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
11 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
22 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
23 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
24 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
51 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
[all …]
H A Dl1.b2 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -S IN
3 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1025 -> 2.2.2.2,25 PR tcp len 20 40 -A IN
7 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 1.1.1.1,1 -> 4.4.4.4,53 PR udp len 20 40 IN
8 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
9 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
10 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
18 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 40 IN
20 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2,1 -> 4.4.4.4,53 PR udp len 20 56 IN
23 01/01/1970 00:00:00.000000 anon0 @0:1 p 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
51 01/01/1970 00:00:00.000000 anon0 @-1:-1 L 2.2.2.2 -> 4.4.4.4 PR ip len 20 (20) IN
[all …]
/freebsd/tools/test/stress2/misc/
H A Drdwr.sh75 syscall, len, len, ret, ret);
83 size_t len;
104 if ((r = read(fd2, p, len)) != len)
105 er("read()", len, r);
107 if ((r = write(fd1, p, len)) != len)
108 er("write()", len, r);
110 if ((r = pread(fd2, p, len, 0)) != len)
111 er("pread()", len, r);
113 if ((r = pwrite(fd1, p, len, 0)) != len)
117 iov.iov_len = len;
[all …]
/freebsd/contrib/bearssl/inc/
H A Dbearssl_block.h840 void *data, size_t len);
851 void *data, size_t len);
1060 void *data, size_t len);
1071 void *data, size_t len);
1279 void *data, size_t len);
1290 void *data, size_t len);
1500 void *data, size_t len);
1511 void *data, size_t len);
1740 void *data, size_t len);
1751 void *data, size_t len);
[all …]
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_cts.c107 len -= residue; in cts128_cs1_encrypt()
112 return len; in cts128_cs1_encrypt()
114 in += len; in cts128_cs1_encrypt()
115 out += len; in cts128_cs1_encrypt()
145 return len; in cts128_cs1_decrypt()
149 if (len > 0) { in cts128_cs1_decrypt()
152 in += len; in cts128_cs1_decrypt()
207 return ctx->hw->cipher(ctx, out, in, len) ? len : 0; in cts128_cs3_encrypt()
217 in += len; in cts128_cs3_encrypt()
218 out += len; in cts128_cs3_encrypt()
[all …]
/freebsd/crypto/openssl/crypto/rand/
H A Drand_pool.c81 pool->len = len; in ossl_rand_pool_attach()
161 pool->len = 0; in ossl_rand_pool_reattach()
207 if (len > pool->alloc_len - pool->len) { in rand_pool_grow()
212 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow()
219 while (len > newlen - pool->len); in rand_pool_grow()
308 if (len > pool->max_len - pool->len) { in ossl_rand_pool_add()
340 memcpy(pool->buffer + pool->len, buffer, len); in ossl_rand_pool_add()
341 pool->len += len; in ossl_rand_pool_add()
365 if (len > pool->max_len - pool->len) { in ossl_rand_pool_add_begin()
401 if (len > pool->alloc_len - pool->len) { in ossl_rand_pool_add_end()
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dasn1.c17 .len = 6
22 .len = 9
27 .len = 6
32 .len = 7
37 .len = 5
42 .len = 5
47 .len = 10
62 .len = 9
67 .len = 9
72 .len = 9
[all …]
/freebsd/contrib/bc/src/
H A Dvector.c54 len = v->len + n; in bc_vec_grow()
57 if (len > SIZE_MAX / 2) cap = len; in bc_vec_grow()
127 size_t len = v->len - n; in bc_vec_npop() local
130 while (v->len > len) in bc_vec_npop()
296 assert(!v->len || !v->v[v->len - 1]); in bc_vec_string()
305 v->len = len; in bc_vec_string()
321 assert(!v->len || !v->v[v->len - 1]); in bc_vec_concat()
327 if (v->len) v->len -= 1; in bc_vec_concat()
483 size_t i, len = v->len; in bc_map_name() local
535 s->len += len; in bc_slab_add()
[all …]
/freebsd/contrib/libfido2/src/
H A Daes256.c20 if (key->len != 32) { in aes256_cbc()
24 if (in->len > UINT_MAX || in->len % 16 || in->len == 0) { in aes256_cbc()
28 out->len = in->len; in aes256_cbc()
76 secret->len); in aes256_cbc_fips()
92 cin.len = in->len - sizeof(iv); in aes256_cbc_fips()
95 key.len = secret->len - 32; in aes256_cbc_fips()
104 out->len = sizeof(iv) + cout.len; in aes256_cbc_fips()
126 if (nonce->len != 12 || key->len != 32 || aad->len > UINT_MAX) { in aes256_gcm()
128 nonce->len, key->len, aad->len); in aes256_gcm()
131 if (in->len > UINT_MAX || in->len > SIZE_MAX - 16 || in->len < 16) { in aes256_gcm()
[all …]
H A Dblob.c19 freezero(b->ptr, b->len); in fido_blob_reset()
28 if (ptr == NULL || len == 0) { in fido_blob_set()
30 (const void *)ptr, len); in fido_blob_set()
39 memcpy(b->ptr, ptr, len); in fido_blob_set()
40 b->len = len; in fido_blob_set()
55 if (SIZE_MAX - b->len < len) { in fido_blob_append()
59 if ((tmp = realloc(b->ptr, b->len + len)) == NULL) { in fido_blob_append()
64 memcpy(&b->ptr[b->len], ptr, len); in fido_blob_append()
65 b->len += len; in fido_blob_append()
91 freezero(b->ptr, b->len); in fido_free_blob_array()
[all …]
/freebsd/contrib/diff/lib/
H A Dquotesys.c38 size_t len = 0; local
50 return len;
65 len = 0;
79 len += 2;
86 quoted[len] = c;
87 len++;
96 len++;
108 len += 3;
112 len++;
122 quoted[len] = c;
[all …]
/freebsd/crypto/openssl/crypto/buffer/
H A Dbuffer.c79 str->length = len; in BUF_MEM_grow()
80 return len; in BUF_MEM_grow()
82 if (str->max >= len) { in BUF_MEM_grow()
86 return len; in BUF_MEM_grow()
100 len = 0; in BUF_MEM_grow()
107 return len; in BUF_MEM_grow()
117 memset(&str->data[len], 0, str->length - len); in BUF_MEM_grow_clean()
119 return len; in BUF_MEM_grow_clean()
124 return len; in BUF_MEM_grow_clean()
138 len = 0; in BUF_MEM_grow_clean()
[all …]
/freebsd/lib/libc/nameser/
H A Dns_print.c117 int len, x; in ns_sprintrrf() local
135 name[len] == '\0')) && name[len - 1] != '.') { in ns_sprintrrf()
138 len++; in ns_sprintrrf()
178 if (len == 0) in ns_sprintrrf()
180 rdata += len; in ns_sprintrrf()
189 if (len == 0) in ns_sprintrrf()
191 rdata += len; in ns_sprintrrf()
372 if (len < 0) in ns_sprintrrf()
481 if (len < 0) in ns_sprintrrf()
551 if (len < 0) in ns_sprintrrf()
[all …]
/freebsd/contrib/libucl/src/
H A Ducl_msgpack.c113 len = 1; in ucl_emitter_print_int_msgpack()
117 len = 2; in ucl_emitter_print_int_msgpack()
124 len = 3; in ucl_emitter_print_int_msgpack()
131 len = 5; in ucl_emitter_print_int_msgpack()
138 len = 9; in ucl_emitter_print_int_msgpack()
149 len = 1; in ucl_emitter_print_int_msgpack()
796 parser->stack->e.len = len; in ucl_msgpack_get_container()
890 len = cur->e.len; in ucl_msgpack_get_next_container()
1005 len = obj_parser->len; in ucl_msgpack_consume()
1404 obj->len = len; in ucl_msgpack_parse_string()
[all …]
/freebsd/sys/crypto/openssl/amd64/
H A Dossl_aes_gcm.c104 alen += len; in gcm_aad_avx512()
119 --len; in gcm_aad_avx512()
302 --len; in gcm_aad_aesni()
315 len -= i; in gcm_aad_aesni()
317 if (len) { in gcm_aad_aesni()
407 --len; in gcm_encrypt_ctr32()
429 len -= i; in gcm_encrypt_ctr32()
437 if (len) { in gcm_encrypt_ctr32()
563 --len; in gcm_decrypt_ctr32()
595 len -= i; in gcm_decrypt_ctr32()
[all …]
/freebsd/lib/libipsec/
H A Dpfkey.c338 int len; in pfkey_send_getspi() local
441 len = pfkey_send(so, newmsg, len); in pfkey_send_getspi()
465 int len; in pfkey_send_update() local
489 int len; in pfkey_send_add() local
509 int len; in pfkey_send_delete() local
589 len = pfkey_send(so, newmsg, len); in pfkey_send_delete_all()
1198 len = pfkey_send(so, newmsg, len); in pfkey_send_x1()
1279 len = pfkey_send(so, newmsg, len); in pfkey_send_x2()
1340 len = pfkey_send(so, newmsg, len); in pfkey_send_x3()
1428 len = pfkey_send(so, newmsg, len); in pfkey_send_x4()
[all …]
/freebsd/lib/libusb/
H A Dlibusb20_desc.c96 pcdesc.len = in libusb20_parse_config_desc()
365 len -= 1; in libusb20_me_encode()
385 len -= 2; in libusb20_me_encode()
406 len -= 4; in libusb20_me_encode()
432 len -= 8; in libusb20_me_encode()
589 len = 0; in libusb20_me_decode()
608 len = 0; in libusb20_me_decode()
628 len = 0; in libusb20_me_decode()
651 len = 0; in libusb20_me_decode()
722 len = 0; in libusb20_me_decode()
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dmutator_aux.c37 while (len--) in consume()
68 size_t len; in unpack_string() local
75 v[len] = '\0'; in unpack_string()
149 blob->len = LLVMFuzzerMutate((uint8_t *)blob->body, blob->len, in mutate_blob()
177 n = len; in buf_read()
190 consume(ptr, len); in buf_write()
197 return (int)len; in buf_write()
218 assert(len >= CTAP_MIN_REPORT_LEN && len <= CTAP_MAX_REPORT_LEN); in hid_read()
251 assert(len > 0 && len <= 264); in nfc_read()
260 assert(len > 0 && len <= 256 + 2); in nfc_write()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dcodec.c43 size_t *len) in krb5_decode_EncTicketPart() argument
54 size_t *len) in krb5_encode_EncTicketPart() argument
65 size_t *len) in krb5_decode_EncASRepPart() argument
76 size_t *len) in krb5_encode_EncASRepPart() argument
87 size_t *len) in krb5_decode_EncTGSRepPart() argument
109 size_t *len) in krb5_decode_EncAPRepPart() argument
120 size_t *len) in krb5_encode_EncAPRepPart() argument
175 size_t *len) in krb5_decode_ETYPE_INFO() argument
186 size_t *len) in krb5_encode_ETYPE_INFO() argument
197 size_t *len) in krb5_decode_ETYPE_INFO2() argument
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c67 len--; in chacha_cipher()
71 if (len == 0) in chacha_cipher()
83 len -= rem; in chacha_cipher()
108 len -= blocks; in chacha_cipher()
176 actx->len.aad = 0; in chacha20_poly1305_init_key()
177 actx->len.text = 0; in chacha20_poly1305_init_key()
358 return len; in chacha20_poly1305_tls_cipher()
381 actx->len.aad = actx->len.text = 0; in chacha20_poly1305_cipher()
394 actx->len.aad += len; in chacha20_poly1305_cipher()
396 return len; in chacha20_poly1305_cipher()
[all …]
/freebsd/contrib/openbsm/libbsm/
H A Dbsm_io.c1336 READ_TOKEN_U_INT16(buf, len, tok->tt.arg32.len, tok->len, err); in fetch_arg32_tok()
1387 READ_TOKEN_U_INT16(buf, len, tok->tt.arg64.len, tok->len, err); in fetch_arg64_tok()
1876 if (++tok->len >= (u_int32_t)len) in fetch_execarg_tok()
1934 if (++tok->len >= (u_int32_t)len) in fetch_execenv_tok()
1989 READ_TOKEN_U_INT16(buf, len, tok->tt.file.len, tok->len, err); in fetch_file_tok()
1993 SET_PTR((char*)buf, len, tok->tt.file.name, tok->tt.file.len, tok->len, in fetch_file_tok()
2475 READ_TOKEN_U_INT16(buf, len, tok->tt.path.len, tok->len, err); in fetch_path_tok()
2479 SET_PTR((char*)buf, len, tok->tt.path.path, tok->tt.path.len, tok->len, in fetch_path_tok()
3915 READ_TOKEN_U_INT16(buf, len, tok->tt.text.len, tok->len, err); in fetch_text_tok()
3919 SET_PTR((char*)buf, len, tok->tt.text.text, tok->tt.text.len, tok->len, in fetch_text_tok()
[all …]

12345678910>>...187