Lines Matching defs:ndx
49 inline deUint32 getBit (deUint32 src, int ndx)
51 DE_ASSERT(de::inBounds(ndx, 0, 32));
52 return (src >> ndx) & 1;
67 inline bool isBitSet (deUint32 src, int ndx)
69 return getBit(src, ndx) != 0;
215 deUint32 getBit (int ndx) const
217 DE_ASSERT(de::inBounds(ndx, 0, 128));
218 return (m_words[ndx / WORD_BITS] >> (ndx % WORD_BITS)) & 1;
246 bool isBitSet (int ndx) const
248 DE_ASSERT(de::inBounds(ndx, 0, 128));
249 return getBit(ndx) != 0;
1634 void setBit (int ndx, deUint32 val)
1636 DE_ASSERT(de::inBounds(ndx, 0, 128));
1638 const int wordNdx = ndx / WORD_BITS;
1639 const int bitNdx = ndx % WORD_BITS;
2903 for (size_t ndx = 0; ndx < numBlocks; ndx++)
2904 block.assignToMemory(&dst[ndx * BLOCK_SIZE_BYTES]);