Searched refs:RoundUpToPowerOfTwo (Results 1 – 7 of 7) 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()
216 struct RoundUpToPowerOfTwo;229 Val = RoundUpToPowerOfTwo<(N|(N-1)) + 1>::Val234 struct RoundUpToPowerOfTwo {306 enum { SmallSizePowTwo = RoundUpToPowerOfTwo<SmallSize>::Val };
218 Integer RoundUpToPowerOfTwo(Integer n) { in RoundUpToPowerOfTwo() function
108 storage_size_ = RoundUpToPowerOfTwo(reserved_bytes_);
55 new_size = RoundUpToPowerOfTwo(new_size); in DTLS_Resize()
421 INLINE uptr RoundUpToPowerOfTwo(uptr size) { in RoundUpToPowerOfTwo() function496 uptr new_capacity = RoundUpToPowerOfTwo(size_ + 1); in push_back()
139 uptr stack_size_log = Log2(RoundUpToPowerOfTwo(stack_size)); in AsyncSignalSafeLazyInitFakeStack()