reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
28 void clear() { bits_ = 0; } 29 void setAll() { bits_ = ~(basic_int_t)0; } 30 bool empty() const { return bits_ == 0; } 34 basic_int_t old = bits_; 35 bits_ |= mask(idx); 36 return bits_ != old; 41 basic_int_t old = bits_; 42 bits_ &= ~mask(idx); 43 return bits_ != old; 46 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } 50 uptr idx = LeastSignificantSetBitIndex(bits_); 57 basic_int_t old = bits_; 58 bits_ |= v.bits_; 58 bits_ |= v.bits_; 59 return bits_ != old; 64 basic_int_t old = bits_; 65 bits_ &= v.bits_; 65 bits_ &= v.bits_; 66 return bits_ != old; 71 basic_int_t old = bits_; 72 bits_ &= ~v.bits_; 72 bits_ &= ~v.bits_; 73 return bits_ != old; 76 void copyFrom(const BasicBitVector &v) { bits_ = v.bits_; } 80 return (bits_ & v.bits_) != 0; 80 return (bits_ & v.bits_) != 0;