Lines Matching refs:m_
1516 Mask() : m_(0) {}
1517 Mask(const Mask &m) : m_(m.m_) { }
1518 explicit Mask(uintptr_t m) : m_(m) { }
1519 INLINE bool Get(uintptr_t idx) const { return m_ & (kOne << idx); }
1520 INLINE void Set(uintptr_t idx) { m_ |= kOne << idx; }
1521 INLINE void Clear(uintptr_t idx) { m_ &= ~(kOne << idx); }
1522 INLINE bool Empty() const {return m_ == 0; }
1531 res = m_;
1532 m_ = 0;
1536 res = m_ & mask;
1537 m_ &= ~mask;
1551 m_ = ~0;
1555 m_ |= mask;
1565 return m_;
1569 return m_ & mask;
1575 DCHECK(m_);
1578 ret = __builtin_ctzl(m_);
1582 _BitScanReverse(&index, m_);
1593 return __builtin_popcountl(m_);
1600 void Subtract(Mask m) { m_ &= ~m.m_; }
1601 void Union(Mask m) { m_ |= m.m_; }
1603 static Mask Intersection(Mask m1, Mask m2) { return Mask(m1.m_ & m2.m_); }
1606 void Clear() { m_ = 0; }
1627 uintptr_t m_;