Home
last modified time | relevance | path

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

/external/jemalloc_new/include/jemalloc/internal/
Ddiv.h23 void div_init(div_info_t *div_info, size_t divisor);
26 div_compute(div_info_t *div_info, size_t n) { in div_compute() argument
34 size_t i = ((uint64_t)n * (uint64_t)div_info->magic) >> 32; in div_compute()
36 assert(i * div_info->d == n); in div_compute()
/external/jemalloc_new/src/
Ddiv.c30 div_init(div_info_t *div_info, size_t d) { in div_init() argument
51 div_info->magic = magic; in div_init()
53 div_info->d = d; in div_init()
/external/jemalloc_new/test/unit/
Ddiv.c7 div_info_t div_info; in TEST_BEGIN() local
8 div_init(&div_info, divisor); in TEST_BEGIN()
16 &div_info, dividend); in TEST_BEGIN()