Searched refs:rand_len (Results 1 – 8 of 8) sorted by relevance
/external/nanopb-c/tests/fuzztest/ |
D | fuzztest.c | 57 static size_t rand_len(size_t max) in rand_len() function 119 len = rand_len(min_bytes - stream.bytes_written); in rand_fill_protobuf() 143 int l = rand_len(count - s); in rand_mess() 159 int l = rand_len((count - s) / 2); in rand_mess() 166 int l = rand_len(count - s); in rand_mess() 210 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), BUFSIZE - *msglen, 512); in do_protobuf_noise() 219 size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), BUFSIZE - *msglen, 512); in do_protobuf_noise()
|
/external/grpc-grpc/third_party/nanopb/tests/fuzztest/ |
D | fuzztest.c | 57 static size_t rand_len(size_t max) in rand_len() function 119 len = rand_len(min_bytes - stream.bytes_written); in rand_fill_protobuf() 143 int l = rand_len(count - s); in rand_mess() 159 int l = rand_len((count - s) / 2); in rand_mess() 166 int l = rand_len(count - s); in rand_mess() 210 size_t s = rand_fill_protobuf(tmp, rand_len(max_size), BUFSIZE - *msglen, 512); in do_protobuf_noise() 219 size_t s = rand_fill_protobuf(buffer + *msglen, rand_len(max_size), BUFSIZE - *msglen, 512); in do_protobuf_noise()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | s3_both.cc | 405 size_t rand_len = CBS_len(&challenge); in read_v2_client_hello() local 406 if (rand_len > SSL3_RANDOM_SIZE) { in read_v2_client_hello() 407 rand_len = SSL3_RANDOM_SIZE; in read_v2_client_hello() 411 OPENSSL_memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), in read_v2_client_hello() 412 rand_len); in read_v2_client_hello()
|
/external/boringssl/src/ssl/ |
D | s3_both.cc | 405 size_t rand_len = CBS_len(&challenge); in read_v2_client_hello() local 406 if (rand_len > SSL3_RANDOM_SIZE) { in read_v2_client_hello() 407 rand_len = SSL3_RANDOM_SIZE; in read_v2_client_hello() 411 OPENSSL_memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), in read_v2_client_hello() 412 rand_len); in read_v2_client_hello()
|
/external/rust/crates/quiche/examples/ |
D | client.c | 265 ssize_t rand_len = read(rng, &scid, sizeof(scid)); in main() local 266 if (rand_len < 0) { in main()
|
D | http3-client.c | 363 ssize_t rand_len = read(rng, &scid, sizeof(scid)); in main() local 364 if (rand_len < 0) { in main()
|
D | server.c | 163 ssize_t rand_len = read(rng, cid, cid_len); in gen_cid() local 164 if (rand_len < 0) { in gen_cid()
|
D | http3-server.c | 166 ssize_t rand_len = read(rng, cid, cid_len); in gen_cid() local 167 if (rand_len < 0) { in gen_cid()
|