Home
last modified time | relevance | path

Searched refs:RoundUpToPowerOfTwo (Results 1 – 17 of 17) 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/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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallPtrSet.h315 struct RoundUpToPowerOfTwo;
328 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
333 struct RoundUpToPowerOfTwo {
452 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/llvm-project/llvm/include/llvm/ADT/
DSmallPtrSet.h315 struct RoundUpToPowerOfTwo;
328 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val
333 struct RoundUpToPowerOfTwo {
451 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
/external/gemmlowp/internal/
Dcommon.h156 Integer RoundUpToPowerOfTwo(Integer n) { in RoundUpToPowerOfTwo() function
Dallocator.h100 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()
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h414 inline uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function
488 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
Dsanitizer_allocator_primary64.h345 RoundUpToPowerOfTwo(MostSignificantSetBitIndex(max_value) + 1); in PackedCounterArray()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_thread.cpp207 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
Dasan_allocator.cpp421 u32 hdr_log = RZSize2Log(RoundUpToPowerOfTwo(sizeof(ChunkHeader))); in ComputeRZLog()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp1133 EXPECT_EQ(8ULL * RoundUpToPowerOfTwo(i + 1), in TEST()
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi34621 <!-- __sanitizer::uptr __sanitizer::RoundUpToPowerOfTwo(__sanitizer::uptr) -->
34622 …<function-decl name='RoundUpToPowerOfTwo' filepath='../../.././libsanitizer/sanitizer_common/sanit…
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi20633 …<function-decl name='RoundUpToPowerOfTwo' filepath='../../.././libsanitizer/sanitizer_common/sanit…