Home
last modified time | relevance | path

Searched refs:ScanReverse (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/common/
Dmathutil_unittest.cpp295 TEST(MathUtilTest, ScanReverse) in TEST() argument
297 EXPECT_EQ(0ul, gl::ScanReverse(1u)); in TEST()
298 EXPECT_EQ(16ul, gl::ScanReverse(static_cast<uint64_t>(0x00010030ull))); in TEST()
299 EXPECT_EQ(31ul, gl::ScanReverse(static_cast<uint64_t>(0x80000000ull))); in TEST()
301 EXPECT_EQ(32ul, gl::ScanReverse(static_cast<uint64_t>(0x100000000ull))); in TEST()
302 EXPECT_EQ(48ul, gl::ScanReverse(static_cast<uint64_t>(0x0001080000000000ull))); in TEST()
303 EXPECT_EQ(63ul, gl::ScanReverse(static_cast<uint64_t>(0x8000000000000000ull))); in TEST()
Dmathutil.h1134 inline unsigned long ScanReverse(uint32_t bits) in ScanReverse() function
1143 inline unsigned long ScanReverse(uint64_t bits) in ScanReverse() function
1185 inline unsigned long ScanReverse(uint32_t bits) in ScanReverse() function
1191 inline unsigned long ScanReverse(uint64_t bits) in ScanReverse() function
1220 inline unsigned long ScanReverse(uint8_t bits) in ScanReverse() function
1222 return ScanReverse(static_cast<uint32_t>(bits)); in ScanReverse()
1225 inline unsigned long ScanReverse(uint16_t bits) in ScanReverse() function
1227 return ScanReverse(static_cast<uint32_t>(bits)); in ScanReverse()
1256 return static_cast<int>(ScanReverse(bits)); in FindMSB()
Dbitset_utils.h394 return static_cast<ParamT>(gl::ScanReverse(mBits)); in last()