Searched refs:RoundUpToPowerOfTwo (Results 1 – 17 of 17) sorted by relevance
77 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()
266 struct RoundUpToPowerOfTwo;279 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val284 struct RoundUpToPowerOfTwo {362 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
307 struct RoundUpToPowerOfTwo;320 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val325 struct RoundUpToPowerOfTwo {420 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
315 struct RoundUpToPowerOfTwo;328 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val333 struct RoundUpToPowerOfTwo {452 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
315 struct RoundUpToPowerOfTwo;328 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val333 struct RoundUpToPowerOfTwo {451 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
156 Integer RoundUpToPowerOfTwo(Integer n) { in RoundUpToPowerOfTwo() function
100 storage_size_ = RoundUpToPowerOfTwo(reserved_bytes_);
55 new_size = RoundUpToPowerOfTwo(new_size); in DTLS_Resize()
444 INLINE uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function519 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
204 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
414 inline uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function488 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
345 RoundUpToPowerOfTwo(MostSignificantSetBitIndex(max_value) + 1); in PackedCounterArray()
207 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()
421 u32 hdr_log = RZSize2Log(RoundUpToPowerOfTwo(sizeof(ChunkHeader))); in ComputeRZLog()
1133 EXPECT_EQ(8ULL * RoundUpToPowerOfTwo(i + 1), in TEST()
34621 <!-- __sanitizer::uptr __sanitizer::RoundUpToPowerOfTwo(__sanitizer::uptr) -->34622 …<function-decl name='RoundUpToPowerOfTwo' filepath='../../.././libsanitizer/sanitizer_common/sanit…
20633 …<function-decl name='RoundUpToPowerOfTwo' filepath='../../.././libsanitizer/sanitizer_common/sanit…