Lines Matching refs:prng_rand_n
36 if (n > N_MOST_LIKELY_FORMATS && prng_rand_n (4) != 0)
38 fmt = allowed_formats[prng_rand_n (n)];
40 width = prng_rand_n (max_width) + 1;
41 height = prng_rand_n (max_height) + 1;
43 prng_rand_n (max_extra_stride + 1);
49 if (prng_rand_n (4) == 0)
61 if (prng_rand_n (4) == 0)
78 if (prng_rand_n (16) == 0)
266 op = op_list[prng_rand_n (ARRAY_LENGTH (op_list))];
268 if (prng_rand_n (8))
296 src_x = prng_rand_n (src_width);
297 src_y = prng_rand_n (src_height);
298 dst_x = prng_rand_n (dst_width);
299 dst_y = prng_rand_n (dst_height);
308 (prng_rand_n (4) == 0))
311 mask_fmt = prng_rand_n (2) ? PIXMAN_a8r8g8b8 : PIXMAN_a8b8g8r8;
321 else if (prng_rand_n (2))
323 if (prng_rand_n (2))
336 if (prng_rand_n (2))
339 mask_x = prng_rand_n (pixman_image_get_width (mask_img));
340 mask_y = prng_rand_n (pixman_image_get_height (mask_img));
344 w = prng_rand_n (dst_width - dst_x + 1);
345 h = prng_rand_n (dst_height - dst_y + 1);