Searched refs:rand_len (Results 1 – 3 of 3) 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/boringssl/src/ssl/ |
D | s3_both.cc | 403 size_t rand_len = CBS_len(&challenge); in read_v2_client_hello() local 404 if (rand_len > SSL3_RANDOM_SIZE) { in read_v2_client_hello() 405 rand_len = SSL3_RANDOM_SIZE; in read_v2_client_hello() 409 OPENSSL_memcpy(random + (SSL3_RANDOM_SIZE - rand_len), CBS_data(&challenge), in read_v2_client_hello() 410 rand_len); in read_v2_client_hello()
|