Searched refs:lg_range (Results 1 - 2 of 2) sorted by relevance
/external/jemalloc/include/jemalloc/internal/ |
H A D | prng.h | 46 uint32_t prng_lg_range_u32(uint32_t *state, unsigned lg_range, 48 uint64_t prng_lg_range_u64(uint64_t *state, unsigned lg_range); 49 size_t prng_lg_range_zu(size_t *state, unsigned lg_range, bool atomic); 85 prng_lg_range_u32(uint32_t *state, unsigned lg_range, bool atomic) argument 89 assert(lg_range > 0); 90 assert(lg_range <= 32); 103 ret = state1 >> (32 - lg_range); 110 prng_lg_range_u64(uint64_t *state, unsigned lg_range) argument 114 assert(lg_range > 0); 115 assert(lg_range < 125 prng_lg_range_zu(size_t *state, unsigned lg_range, bool atomic) argument 152 unsigned lg_range; local 171 unsigned lg_range; local 190 unsigned lg_range; local [all...] |
/external/jemalloc/test/unit/ |
H A D | prng.c | 7 unsigned lg_range; local 29 for (lg_range = 31; lg_range > 0; lg_range--) { 31 rb = prng_lg_range_u32(&sb, lg_range, atomic); 32 assert_u32_eq((rb & (UINT32_C(0xffffffff) << lg_range)), 33 0, "High order bits should be 0, lg_range=%u", lg_range); 34 assert_u32_eq(rb, (ra >> (32 - lg_range)), 36 "lg_range 44 unsigned lg_range; local 81 unsigned lg_range; local [all...] |
Completed in 93 milliseconds