Searched refs:CountBitsInMask (Results 1 – 3 of 3) sorted by relevance
149 VerifyOrQuit(CountBitsInMask<uint8_t>(0) == 0); in TestNumUtils()150 VerifyOrQuit(CountBitsInMask<uint8_t>(1) == 1); in TestNumUtils()151 VerifyOrQuit(CountBitsInMask<uint8_t>(2) == 1); in TestNumUtils()152 VerifyOrQuit(CountBitsInMask<uint8_t>(3) == 2); in TestNumUtils()153 VerifyOrQuit(CountBitsInMask<uint8_t>(4) == 1); in TestNumUtils()154 VerifyOrQuit(CountBitsInMask<uint8_t>(7) == 3); in TestNumUtils()155 VerifyOrQuit(CountBitsInMask<uint8_t>(11) == 3); in TestNumUtils()156 VerifyOrQuit(CountBitsInMask<uint8_t>(15) == 4); in TestNumUtils()157 VerifyOrQuit(CountBitsInMask<uint8_t>(0x11) == 2); in TestNumUtils()158 VerifyOrQuit(CountBitsInMask<uint8_t>(0xef) == 7); in TestNumUtils()[all …]
231 template <typename UintType> uint8_t CountBitsInMask(UintType aMask) in CountBitsInMask() function
154 count += CountBitsInMask(byte); in GetNumberOfAllocatedIds()