Lines Matching refs:WORD_BITS
198 WORD_BITS = 8*WORD_BYTES, enumerator
199 NUM_WORDS = 128 / WORD_BITS
202 DE_STATIC_ASSERT(128 % WORD_BITS == 0);
218 return (m_words[ndx / WORD_BITS] >> (ndx % WORD_BITS)) & 1; in getBit()
230 const int word0Ndx = low / WORD_BITS; in getBits()
231 const int word1Ndx = high / WORD_BITS; in getBits()
236 … (deUint32)((m_words[word0Ndx] & ((((Word)1 << high%WORD_BITS << 1) - 1))) >> ((Word)low % WORD_BI… in getBits()
241 return (deUint32)(m_words[word0Ndx] >> (low%WORD_BITS)) | in getBits()
242 …(deUint32)((m_words[word1Ndx] & (((Word)1 << high%WORD_BITS << 1) - 1)) << (high-low - high%WORD_B… in getBits()
1595 WORD_BITS = 8*WORD_BYTES, enumerator
1596 NUM_WORDS = 128 / WORD_BITS
1599 DE_STATIC_ASSERT(128 % WORD_BITS == 0);
1612 const int wordNdx = ndx / WORD_BITS; in setBit()
1613 const int bitNdx = ndx % WORD_BITS; in setBit()
1627 const int word0Ndx = low / WORD_BITS; in setBits()
1628 const int word1Ndx = high / WORD_BITS; in setBits()
1629 const int lowNdxInW0 = low % WORD_BITS; in setBits()
1637 const int highNdxInW1 = high % WORD_BITS; in setBits()
1638 const int numBitsToSetInW0 = WORD_BITS - lowNdxInW0; in setBits()