Lines Matching refs:pcg32_random
70 pcg32_random (void) in pcg32_random() function
87 keylen = pcg32_random () % (sizeof (keybuf) - 1) + 1; in random_key()
91 c = pcg32_random () & 0xFF; in random_key()
141 sel = pcg32_random () % NTESTS; in main()
212 count = pcg32_random () % nelt; in ucl_test_integer()
215 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
218 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
221 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
224 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
228 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
231 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
234 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
238 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
241 cur = ((uint64_t)pcg32_random ()) << 32 | pcg32_random (); in ucl_test_integer()
258 count = pcg32_random () % nelt; in ucl_test_string()
261 while ((cur_len = pcg32_random ()) % 128 == 0); in ucl_test_string()
268 while ((cur_len = pcg32_random ()) % 512 == 0); in ucl_test_string()
274 while ((cur_len = pcg32_random ()) % 128 == 0); in ucl_test_string()
282 while ((cur_len = pcg32_random ()) % 512 == 0); in ucl_test_string()
309 count = pcg32_random () % nelt; in ucl_test_boolean()
312 ucl_array_append (res, ucl_object_frombool (pcg32_random () % 2)); in ucl_test_boolean()
328 count = pcg32_random () % nelt; in ucl_test_map()
336 sel = pcg32_random () % NTESTS; in ucl_test_map()
344 sel = pcg32_random () % NTESTS; in ucl_test_map()
398 count = pcg32_random () % nelt; in ucl_test_array()
405 sel = pcg32_random () % NTESTS; in ucl_test_array()
413 sel = pcg32_random () % NTESTS; in ucl_test_array()
454 while ((cur_len = pcg32_random ()) % 100000 == 0); in ucl_test_large_string()