Searched refs:test_bit (Results 1 – 2 of 2) sorted by relevance
117 uint32_t test_bit = 0x00000001; in IsSingleBit() local118 while (test_bit <= bitmasks && test_bit <= bitfield) { in IsSingleBit()119 if (bitfield & test_bit && bitmasks & test_bit) { in IsSingleBit()123 if (test_bit == 0x80000000) break; in IsSingleBit()124 test_bit <<= 1; in IsSingleBit()
91 uint32_t test_bit = 0x00000001; in ExtractValuesFromBitmask() local92 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask()93 if ((bitfield & test_bit)) { in ExtractValuesFromBitmask()94 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask()95 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask()96 retval.push_back(static_cast<T>(test_bit)); in ExtractValuesFromBitmask()99 if (test_bit == 0x80000000) { in ExtractValuesFromBitmask()102 test_bit <<= 1; in ExtractValuesFromBitmask()