Lines Matching refs:prng_rand_n
171 if (n > N_MOST_LIKELY_FORMATS && prng_rand_n (4) != 0) in random_format()
174 return allowed_formats[prng_rand_n (n)]; in random_format()
209 if (prng_rand_n (2)) in create_solid_image()
233 *buffer = prng_rand_n (2) ? 0xFFFFFFFFu : 0; in create_solid_image()
255 color.alpha = prng_rand_n (UINT16_MAX + 1); in create_solid_image()
256 color.red = prng_rand_n (UINT16_MAX + 1); in create_solid_image()
257 color.green = prng_rand_n (UINT16_MAX + 1); in create_solid_image()
258 color.blue = prng_rand_n (UINT16_MAX + 1); in create_solid_image()
284 op = op_list[prng_rand_n (ARRAY_LENGTH (op_list))]; in test_solid()
287 switch (prng_rand_n (3)) in test_solid()
306 ca = prng_rand_n (2); in test_solid()