Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_bitvector.h28 void clear() { bits_ = 0; } in clear()
29 void setAll() { bits_ = ~(basic_int_t)0; } in setAll()
30 bool empty() const { return bits_ == 0; } in empty()
34 basic_int_t old = bits_; in setBit()
35 bits_ |= mask(idx); in setBit()
36 return bits_ != old; in setBit()
41 basic_int_t old = bits_; in clearBit()
42 bits_ &= ~mask(idx); in clearBit()
43 return bits_ != old; in clearBit()
46 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit()
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h302 fp.u_.bits_ = bits; in ReinterpretBits()
312 const Bits& bits() const { return u_.bits_; } in bits()
315 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits()
318 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits()
321 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit()
341 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) <= in AlmostEquals()
349 Bits bits_; // The bits that represent the number. member