Home
last modified time | relevance | path

Searched refs:prng_state (Results 1 – 3 of 3) sorted by relevance

/third_party/pixman/test/
Dthread-test.c28 prng_t prng_state; member
77 arr[prng_rand_r(&info->prng_state) % ARRAY_LENGTH (arr)]
95 prng_srand_r (&info->prng_state, info->thread_no); in thread()
102 prng_randmemset_r (&info->prng_state, info->dst_buf, in thread()
104 prng_randmemset_r (&info->prng_state, src_buf, in thread()
116 rand2 = prng_rand_r (&info->prng_state) % 4; in thread()
117 rand1 = prng_rand_r (&info->prng_state) % 4; in thread()
Dutils.h21 extern prng_t *prng_state;
24 #pragma omp threadprivate(prng_state)
30 return prng_rand_r (prng_state); in prng_rand()
36 if (!prng_state) in prng_srand()
43 prng_state = &prng_state_data; in prng_srand()
45 prng_srand_r (prng_state, seed); in prng_srand()
57 prng_randmemset_r (prng_state, buffer, size, flags); in prng_randmemset()
Dutils.c39 prng_t *prng_state; variable