Searched refs:BITCOUNT (Results 1 – 2 of 2) sorted by relevance
532 template<int BITCOUNT>535 ImU32 Storage[(BITCOUNT + 31) >> 5];539 …bool TestBit(int n) const { IM_ASSERT(n < BITCOUNT); return ImBitArrayTestBit(St… in TestBit()540 …void SetBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArraySetBit(Storage, n… in SetBit()541 …void ClearBit(int n) { IM_ASSERT(n < BITCOUNT); ImBitArrayClearBit(Storage,… in ClearBit()
7199 #define BITCOUNT(x) (((BCX(x) + (BCX(x) >> 4)) & 0x0F0F0F0F) % 255) macro7209 *(lut + i) = 8 - BITCOUNT(i);