Searched refs:test_random (Results 1 – 13 of 13) sorted by relevance
19 uint32_t test_random(void) { in test_random() function39 test_random(); in test_random_seed()
317 j = test_random() % (1 + i); in run_tests()367 jstep = test_random() % all_tests[i].num; in run_tests()
81 r = test_random(); in fake_rand_generate()
262 src_buf[i] = (unsigned char)(test_random() & 0xFF); in test_sstream_bulk()267 l = (test_random() % init_size) + 1; in test_sstream_bulk()288 if ((test_random() & 1) != 0) { in test_sstream_bulk()495 bulk_data[i] = (unsigned char)(test_random() & 0xFF); in test_rstream_random()502 if (test_random() % 10 == 0) in test_rstream_random()516 if (test_random() % 5 != 0) in test_rstream_random()520 off = read_off + test_random() % 50; in test_rstream_random()523 size = test_random() % 100 + 1; in test_rstream_random()553 if (test_random() % 50 == 0) in test_rstream_random()558 if (!fin_set && queued_max >= data_size - test_random() % 200) { in test_rstream_random()
73 values[i] = random ? test_random() : (size_t)(count - i); in test_size_t_priority_queue_int()99 i = test_random() % count; in test_size_t_priority_queue_int()
562 index = test_random() % TEST_MT_POOL_SZ; in do_mt_hash_work()563 behavior = (char)(test_random() % NUM_BEHAVIORS); in do_mt_hash_work()
236 buf[(size_t)test_random() % len] ^= 0xff; in on_packet_cipher_cb()
82 && (test_random() % llen) < wscnt in memoutws()
515 key[i] = test_random(); in test_bio_dgram_pair()
741 in[i] = test_random(); in test_des_key_wrap()
628 uint32_t test_random(void);
780 #define COIN_IS_HEADS (test_random() % 2)
234 if (test_random() % noise_rate != 0) { in get_noise()240 type = test_random() % NUM_NOISE_TYPES; in get_noise()257 ? (uint64_t)((test_random() % MAX_DGRAM_REINJECT) + 1) in get_noise()270 *flip = (test_random() % 255 + 1) << (test_random() % 8); in get_noise()275 *flip_offset = test_random() % (25 * (1 + long_header)); in get_noise()
Completed in 40 milliseconds