Home
last modified time | relevance | path

Searched refs:CountLeadingZeroBitsSizeT (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/
Dbits_unittest.cc143 TEST(BitsTest, CountLeadingZeroBitsSizeT) { in TEST() argument
145 EXPECT_EQ(64u, CountLeadingZeroBitsSizeT(size_t{0})); in TEST()
146 EXPECT_EQ(63u, CountLeadingZeroBitsSizeT(size_t{1})); in TEST()
147 EXPECT_EQ(32u, CountLeadingZeroBitsSizeT(size_t{1} << 31)); in TEST()
148 EXPECT_EQ(1u, CountLeadingZeroBitsSizeT(size_t{1} << 62)); in TEST()
149 EXPECT_EQ(0u, CountLeadingZeroBitsSizeT(size_t{1} << 63)); in TEST()
151 EXPECT_EQ(32u, CountLeadingZeroBitsSizeT(size_t{0})); in TEST()
152 EXPECT_EQ(31u, CountLeadingZeroBitsSizeT(size_t{1})); in TEST()
153 EXPECT_EQ(1u, CountLeadingZeroBitsSizeT(size_t{1} << 30)); in TEST()
154 EXPECT_EQ(0u, CountLeadingZeroBitsSizeT(size_t{1} << 31)); in TEST()
Dbits.h160 ALWAYS_INLINE size_t CountLeadingZeroBitsSizeT(size_t x) { in CountLeadingZeroBitsSizeT() function
/external/pdfium/third_party/base/
Dbits.h98 ALWAYS_INLINE size_t CountLeadingZeroBitsSizeT(size_t x) { in CountLeadingZeroBitsSizeT() function
104 ALWAYS_INLINE size_t CountLeadingZeroBitsSizeT(size_t x) { in CountLeadingZeroBitsSizeT() function
/external/pdfium/third_party/base/allocator/partition_allocator/
Dpartition_alloc.h771 size_t order = kBitsPerSizeT - bits::CountLeadingZeroBitsSizeT(size); in PartitionGenericSizeToBucket()