Searched refs:WORD_BITS (Results 1 – 2 of 2) sorted by relevance
144 WORD_BITS = 8*WORD_BYTES, enumerator145 NUM_WORDS = 128 / WORD_BITS148 DE_STATIC_ASSERT(128 % WORD_BITS == 0);161 const int wordNdx = ndx / WORD_BITS; in setBit()162 const int bitNdx = ndx % WORD_BITS; in setBit()176 const int word0Ndx = low / WORD_BITS; in setBits()177 const int word1Ndx = high / WORD_BITS; in setBits()178 const int lowNdxInW0 = low % WORD_BITS; in setBits()186 const int highNdxInW1 = high % WORD_BITS; in setBits()187 const int numBitsToSetInW0 = WORD_BITS - lowNdxInW0; in setBits()
1068 WORD_BITS = 8*WORD_BYTES, enumerator1069 NUM_WORDS = 128 / WORD_BITS1072 DE_STATIC_ASSERT(128 % WORD_BITS == 0);1088 return (m_words[ndx / WORD_BITS] >> (ndx % WORD_BITS)) & 1; in getBit()1100 const int word0Ndx = low / WORD_BITS; in getBits()1101 const int word1Ndx = high / WORD_BITS; in getBits()1106 return (m_words[word0Ndx] & ((((Word)1 << high%WORD_BITS << 1) - 1))) >> ((Word)low % WORD_BITS); in getBits()1111 return (deUint32)(m_words[word0Ndx] >> (low%WORD_BITS)) | in getBits()1112 …(deUint32)((m_words[word1Ndx] & (((Word)1 << high%WORD_BITS << 1) - 1)) << (high-low - high%WORD_B… in getBits()