Searched refs:RoundUpToPowerOfTwo (Results 1 - 7 of 7) sorted by relevance

/external/gemmlowp/test/
H A Dtest_math_helpers.cc77 Check(RoundUpToPowerOfTwo(RoundUpToPowerOfTwo(x) == RoundUpToPowerOfTwo(x)));
78 Check(RoundUpToPowerOfTwo(x) >= x);
79 Check(x == 0 || RoundUpToPowerOfTwo(x) < 2 * x);
80 Check((RoundUpToPowerOfTwo(x) & (RoundUpToPowerOfTwo(x) - 1)) == 0);
/external/llvm/include/llvm/ADT/
H A DSmallPtrSet.h213 /// RoundUpToPowerOfTwo - This is a helper template that rounds N up to the next
216 struct RoundUpToPowerOfTwo;
219 /// helper template used to implement RoundUpToPowerOfTwo.
229 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
234 struct RoundUpToPowerOfTwo {
306 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/gemmlowp/internal/
H A Dcommon.h218 Integer RoundUpToPowerOfTwo(Integer n) { function in namespace:gemmlowp
H A Dallocator.h108 storage_size_ = RoundUpToPowerOfTwo(reserved_bytes_);
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_tls_get_addr.cc55 new_size = RoundUpToPowerOfTwo(new_size);
H A Dsanitizer_common.h421 INLINE uptr RoundUpToPowerOfTwo(uptr size) { function in namespace:__sanitizer
496 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1);
/external/compiler-rt/lib/asan/
H A Dasan_thread.cc139 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size));

Completed in 430 milliseconds