Searched refs:bitmasks (Results 1 – 3 of 3) sorted by relevance
117 static bool IsSingleBit(uint32_t bitmasks, uint32_t bitfield) { in IsSingleBit() argument120 while (test_bit <= bitmasks && test_bit <= bitfield) { in IsSingleBit()121 if (bitfield & test_bit && bitmasks & test_bit) { in IsSingleBit()
86 std::vector<T> ExtractValuesFromBitmask(T bitmasks, uint32_t bitfield, in ExtractValuesFromBitmask() argument93 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask()95 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask()96 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask()
89 std::vector<T> ExtractValuesFromBitmask(T bitmasks, uint32_t bitfield, in ExtractValuesFromBitmask() argument96 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask()98 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask()99 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask()