Lines Matching refs:rb
6 uint32_t sa, sb, ra, rb;
12 rb = prng_lg_range_u32(&sa, 32, atomic);
13 assert_u32_eq(ra, rb,
17 rb = prng_lg_range_u32(&sb, 32, atomic);
18 assert_u32_eq(ra, rb,
23 rb = prng_lg_range_u32(&sa, 32, atomic);
24 assert_u32_ne(ra, rb,
31 rb = prng_lg_range_u32(&sb, lg_range, atomic);
32 assert_u32_eq((rb & (UINT32_C(0xffffffff) << lg_range)),
34 assert_u32_eq(rb, (ra >> (32 - lg_range)),
43 uint64_t sa, sb, ra, rb;
49 rb = prng_lg_range_u64(&sa, 64);
50 assert_u64_eq(ra, rb,
54 rb = prng_lg_range_u64(&sb, 64);
55 assert_u64_eq(ra, rb,
60 rb = prng_lg_range_u64(&sa, 64);
61 assert_u64_ne(ra, rb,
68 rb = prng_lg_range_u64(&sb, lg_range);
69 assert_u64_eq((rb & (UINT64_C(0xffffffffffffffff) << lg_range)),
71 assert_u64_eq(rb, (ra >> (64 - lg_range)),
80 size_t sa, sb, ra, rb;
86 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic);
87 assert_zu_eq(ra, rb,
91 rb = prng_lg_range_zu(&sb, ZU(1) << (3 + LG_SIZEOF_PTR), atomic);
92 assert_zu_eq(ra, rb,
97 rb = prng_lg_range_zu(&sa, ZU(1) << (3 + LG_SIZEOF_PTR), atomic);
98 assert_zu_ne(ra, rb,
106 rb = prng_lg_range_zu(&sb, lg_range, atomic);
107 assert_zu_eq((rb & (SIZE_T_MAX << lg_range)),
109 assert_zu_eq(rb, (ra >> ((ZU(1) << (3 + LG_SIZEOF_PTR)) -