Searched refs:IsPowerOfTwoDeprecatedDoNotUse (Results 1 – 2 of 2) sorted by relevance
121 EXPECT_FALSE(IsPowerOfTwoDeprecatedDoNotUse(-1)); in TEST()125 EXPECT_FALSE(IsPowerOfTwoDeprecatedDoNotUse(val - 1)); in TEST()126 EXPECT_TRUE(IsPowerOfTwoDeprecatedDoNotUse(val)); in TEST()127 EXPECT_FALSE(IsPowerOfTwoDeprecatedDoNotUse(val + 1)); in TEST()130 EXPECT_FALSE(IsPowerOfTwoDeprecatedDoNotUse(int64_t{1} << 63)); in TEST()
47 constexpr bool IsPowerOfTwoDeprecatedDoNotUse(T value) { in IsPowerOfTwoDeprecatedDoNotUse() function72 DCHECK(IsPowerOfTwoDeprecatedDoNotUse(alignment)); in AlignDownDeprecatedDoNotUse()100 DCHECK(IsPowerOfTwoDeprecatedDoNotUse(alignment)); in AlignUpDeprecatedDoNotUse()