Log2Ceiling 35 base/bits.h inline int Log2Ceiling(uint32 n) { Log2Ceiling 30 base/bits_unittest.cc TEST(BitsTest, Log2Ceiling) { Log2Ceiling 31 base/bits_unittest.cc EXPECT_EQ(-1, Log2Ceiling(0)); Log2Ceiling 32 base/bits_unittest.cc EXPECT_EQ(0, Log2Ceiling(1)); Log2Ceiling 33 base/bits_unittest.cc EXPECT_EQ(1, Log2Ceiling(2)); Log2Ceiling 34 base/bits_unittest.cc EXPECT_EQ(2, Log2Ceiling(3)); Log2Ceiling 35 base/bits_unittest.cc EXPECT_EQ(2, Log2Ceiling(4)); Log2Ceiling 38 base/bits_unittest.cc EXPECT_EQ(i, Log2Ceiling(value)); Log2Ceiling 39 base/bits_unittest.cc EXPECT_EQ(i + 1, Log2Ceiling(value + 1)); Log2Ceiling 40 base/bits_unittest.cc EXPECT_EQ(i + 1, Log2Ceiling(value + 2)); Log2Ceiling 41 base/bits_unittest.cc EXPECT_EQ(i, Log2Ceiling(value - 1)); Log2Ceiling 42 base/bits_unittest.cc EXPECT_EQ(i, Log2Ceiling(value - 2)); Log2Ceiling 44 base/bits_unittest.cc EXPECT_EQ(32, Log2Ceiling(0xffffffffU)); Log2Ceiling 374 content/renderer/media/buffered_resource_loader.cc int max_enum = base::bits::Log2Ceiling(kMaxReason); Log2Ceiling 141 gpu/command_buffer/client/transfer_buffer.cc return (dimension == 0) ? 0 : 1 << Log2Ceiling(dimension);