Home | History | Annotate | Download | only in test

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)
71 if (prng_rand_n (16) == 0)
257 op = op_list[prng_rand_n (ARRAY_LENGTH (op_list))];
259 if (prng_rand_n (8))
288 src_x = prng_rand_n (src_width);
289 src_y = prng_rand_n (src_height);
290 dst_x = prng_rand_n (dst_width);
291 dst_y = prng_rand_n (dst_height);
300 (prng_rand_n (4) == 0))
303 mask_fmt = prng_rand_n (2) ? PIXMAN_a8r8g8b8 : PIXMAN_a8b8g8r8;
313 else if (prng_rand_n (2))
315 if (prng_rand_n (2))
328 if (prng_rand_n (2))
331 mask_x = prng_rand_n (pixman_image_get_width (mask_img));
332 mask_y = prng_rand_n (pixman_image_get_height (mask_img));
336 w = prng_rand_n (dst_width - dst_x + 1);
337 h = prng_rand_n (dst_height - dst_y + 1);