Home
last modified time | relevance | path

Searched refs:MakeBitmask (Results 1 – 1 of 1) sorted by relevance

/external/openscreen/util/
Dyet_another_bit_vector.cc18 constexpr uint64_t MakeBitmask(int begin, int count) { in MakeBitmask() function
101 *last = MakeBitmask(0, size_ - (last_index * kBitsPerInteger)); in SetAll()
103 bits_.as_integer = MakeBitmask(0, size_); in SetAll()
140 const uint64_t outgoing_mask = MakeBitmask(0, steps); in ShiftRight()
226 MakeBitmask(begin % kBitsPerInteger, end - begin)); in CountBitsSet()
232 MakeBitmask(begin % kBitsPerInteger, kBitsPerInteger)); in CountBitsSet()
236 count += PopCount((*p) & MakeBitmask(0, end - (last * kBitsPerInteger))); in CountBitsSet()
241 count = PopCount(bits_.as_integer & MakeBitmask(begin, end - begin)); in CountBitsSet()