Searched refs:RoundUpToPowerOfTwo (Results 1 – 9 of 9) 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()
206 struct RoundUpToPowerOfTwo;219 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val224 struct RoundUpToPowerOfTwo {236 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
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 };
239 Integer RoundUpToPowerOfTwo(Integer n) { in RoundUpToPowerOfTwo() function
117 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()