Searched refs:BLOCK_BIT_SIZE (Results 1 – 1 of 1) sorted by relevance
104 BLOCK_BIT_SIZE = 8 * sizeof(deUint32) enumerator108 : m_data(divRoundUp<size_t>(size, (size_t)BLOCK_BIT_SIZE), value ? ~0x0u : 0x0u) in BitVector()114 return (m_data[ndx / BLOCK_BIT_SIZE] & (0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE))) != 0; in get()120 m_data[ndx / BLOCK_BIT_SIZE] |= 0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE); in set()122 m_data[ndx / BLOCK_BIT_SIZE] &= ~(0x1u << (deUint32)(ndx % BLOCK_BIT_SIZE)); in set()129 for (; (ndx < offset + count) && ((ndx % BLOCK_BIT_SIZE) != 0); ndx++) in setRange()137 const size_t endOfFullBlockNdx = roundDownToMultiple<size_t>(offset + count, BLOCK_BIT_SIZE); in setRange()141 deMemset(&m_data[ndx / BLOCK_BIT_SIZE], (value ? 0xFF : 0x0), (endOfFullBlockNdx - ndx) / 8); in setRange()158 for (; ndx < offset + count && (ndx % BLOCK_BIT_SIZE) != 0; ndx++) in vectorAnd()165 for (; ndx < roundDownToMultiple<size_t>(offset + count, BLOCK_BIT_SIZE); ndx += BLOCK_BIT_SIZE) in vectorAnd()[all …]