Lines Matching refs:ra
6 uint32_t ra, rb; in test_prng_lg_range_u32() local
10 ra = prng_lg_range_u32(&sa, 32, atomic); in test_prng_lg_range_u32()
13 assert_u32_eq(ra, rb, in test_prng_lg_range_u32()
18 assert_u32_eq(ra, rb, in test_prng_lg_range_u32()
22 ra = prng_lg_range_u32(&sa, 32, atomic); in test_prng_lg_range_u32()
24 assert_u32_ne(ra, rb, in test_prng_lg_range_u32()
28 ra = prng_lg_range_u32(&sa, 32, atomic); in test_prng_lg_range_u32()
34 assert_u32_eq(rb, (ra >> (32 - lg_range)), in test_prng_lg_range_u32()
42 uint64_t sa, sb, ra, rb; in test_prng_lg_range_u64() local
46 ra = prng_lg_range_u64(&sa, 64); in test_prng_lg_range_u64()
49 assert_u64_eq(ra, rb, in test_prng_lg_range_u64()
54 assert_u64_eq(ra, rb, in test_prng_lg_range_u64()
58 ra = prng_lg_range_u64(&sa, 64); in test_prng_lg_range_u64()
60 assert_u64_ne(ra, rb, in test_prng_lg_range_u64()
64 ra = prng_lg_range_u64(&sa, 64); in test_prng_lg_range_u64()
70 assert_u64_eq(rb, (ra >> (64 - lg_range)), in test_prng_lg_range_u64()
79 size_t ra, rb; in test_prng_lg_range_zu() local
83 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu()
86 assert_zu_eq(ra, rb, in test_prng_lg_range_zu()
91 assert_zu_eq(ra, rb, in test_prng_lg_range_zu()
95 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu()
97 assert_zu_ne(ra, rb, in test_prng_lg_range_zu()
101 ra = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic); in test_prng_lg_range_zu()
108 assert_zu_eq(rb, (ra >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) - in test_prng_lg_range_zu()