Home
last modified time | relevance | path

Searched refs:__log2 (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/llvm/libcxx/include/__random/
H A Dgenerate_canonical.h36 const size_t __logR = __log2<uint64_t, _URNG::_Max - _URNG::_Min + uint64_t(1)>::value; in generate_canonical()
38 const size_t __logR = __log2<uint64_t, _URNG::max() - _URNG::min() + uint64_t(1)>::value; in generate_canonical()
H A Dlog2.h57 struct __log2
H A Dindependent_bits_engine.h63 static _LIBCPP_CONSTEXPR const size_t __m = __log2<_Working_result_type, _Rp>::value;
H A Duniform_int_distribution.h60 static _LIBCPP_CONSTEXPR const size_t __m = __log2<_Working_result_type, _Rp>::value;
/openbsd/lib/libc/db/hash/
H A Dhash_log2.c41 __log2(u_int32_t num) in __log2() function
H A Dextern.h54 u_int32_t __log2(u_int32_t);
H A Dhash.c289 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash()
295 hashp->BSHIFT = __log2(info->bsize); in init_hash()
341 l2 = __log2(MAXIMUM(nelem, 2)); in init_htab()
359 nsegs = 1 << __log2(nsegs); in init_htab()
810 spare_ndx = __log2(hashp->MAX_BUCKET + 1); in __expand_table()
H A Dhash.h171 (B) + hashp->HDRPAGES + ((B) ? hashp->SPARES[__log2((B)+1)-1] : 0)
/openbsd/gnu/llvm/libcxx/include/__algorithm/
H A Dsort.h622 _Number __log2 = 0;
624 __log2++;
627 return __log2;