Lines Matching refs:prng_rand_n
157 f >>= 31 - 16 + prng_rand_n (2 * LOG2_MAX_FACTOR + 1) - LOG2_MAX_FACTOR; in random_scale_factor()
198 if (prng_rand_n (2)) in random_offset()
204 if (prng_rand_n (2)) in random_offset()
208 offset += prng_rand_n (32); in random_offset()
211 if (prng_rand_n (2)) in random_offset()
302 left_align = prng_rand_n (2); in test_cover()
303 top_align = prng_rand_n (2); in test_cover()
304 bilinear = prng_rand_n (2); in test_cover()
307 op = op_list[prng_rand_n (ARRAY_LENGTH (op_list))]; in test_cover()
309 dst_fmt = img_fmt_list[prng_rand_n (ARRAY_LENGTH (img_fmt_list))]; in test_cover()
317 src_fmt_index = prng_rand_n (ARRAY_LENGTH (img_fmt_list)); in test_cover()
329 if (prng_rand_n (2)) in test_cover()
335 else if (prng_rand_n (2)) in test_cover()