Home
last modified time | relevance | path

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

/external/gemmlowp/test/
Dtest_math_helpers.cc77 Check(RoundUpToPowerOfTwo(RoundUpToPowerOfTwo(x) == RoundUpToPowerOfTwo(x))); in test_round_up_to_next_power_of_two()
78 Check(RoundUpToPowerOfTwo(x) >= x); in test_round_up_to_next_power_of_two()
79 Check(x == 0 || RoundUpToPowerOfTwo(x) < 2 * x); in test_round_up_to_next_power_of_two()
80 Check((RoundUpToPowerOfTwo(x) & (RoundUpToPowerOfTwo(x) - 1)) == 0); in test_round_up_to_next_power_of_two()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSmallPtrSet.h206 struct RoundUpToPowerOfTwo;
219 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
224 struct RoundUpToPowerOfTwo {
236 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/llvm/include/llvm/ADT/
DSmallPtrSet.h266 struct RoundUpToPowerOfTwo;
279 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
284 struct RoundUpToPowerOfTwo {
362 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallPtrSet.h307 struct RoundUpToPowerOfTwo;
320 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
325 struct RoundUpToPowerOfTwo {
420 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/gemmlowp/internal/
Dcommon.h239 Integer RoundUpToPowerOfTwo(Integer n) { in RoundUpToPowerOfTwo() function
Dallocator.h117 storage_size_ = RoundUpToPowerOfTwo(reserved_bytes_);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cc55 new_size = RoundUpToPowerOfTwo(new_size); in DTLS_Resize()
Dsanitizer_common.h444 INLINE uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function
519 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
/external/compiler-rt/lib/asan/
Dasan_thread.cc204 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()