/external/v8/src/crankshaft/ |
D | hydrogen-gvn.h | 25 SideEffects() : bits_(0) { in SideEffects() 26 DCHECK(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT); in SideEffects() 28 explicit SideEffects(GVNFlagSet flags) : bits_(flags.ToIntegral()) {} in SideEffects() 29 bool IsEmpty() const { return bits_ == 0; } in IsEmpty() 31 return (bits_ & MaskFlag(flag)) != 0; in ContainsFlag() 34 return (bits_ & MaskSpecial(special)) != 0; in ContainsSpecial() 36 bool ContainsAnyOf(SideEffects set) const { return (bits_ & set.bits_) != 0; } in ContainsAnyOf() 37 void Add(SideEffects set) { bits_ |= set.bits_; } in Add() 38 void AddSpecial(int special) { bits_ |= MaskSpecial(special); } in AddSpecial() 39 void RemoveFlag(GVNFlag flag) { bits_ &= ~MaskFlag(flag); } in RemoveFlag() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_bitvector.h | 29 void clear() { bits_ = 0; } in clear() 30 void setAll() { bits_ = ~(basic_int_t)0; } in setAll() 31 bool empty() const { return bits_ == 0; } in empty() 35 basic_int_t old = bits_; in setBit() 36 bits_ |= mask(idx); in setBit() 37 return bits_ != old; in setBit() 42 basic_int_t old = bits_; in clearBit() 43 bits_ &= ~mask(idx); in clearBit() 44 return bits_ != old; in clearBit() 47 bool getBit(uptr idx) const { return (bits_ & mask(idx)) != 0; } in getBit() [all …]
|
/external/v8/src/ |
D | bit-vector.h | 198 : it_(target->bits_ == NULL ? new (zone) BitVector(1, zone) in Iterator() 199 : target->bits_) {} in Iterator() 208 GrowableBitVector() : bits_(NULL) {} in GrowableBitVector() 210 : bits_(new (zone) BitVector(length, zone)) {} in GrowableBitVector() 214 return bits_->Contains(value); in Contains() 219 bits_->Add(value); in Add() 229 if (bits_ != NULL) bits_->Clear(); in Clear() 236 return bits_ != NULL && bits_->length() > value; in InBitsRange() 241 int new_length = bits_ == NULL ? kInitialLength : bits_->length(); in EnsureCapacity() 244 if (bits_ != NULL) new_bits->CopyFrom(*bits_); in EnsureCapacity() [all …]
|
D | safepoint-table.h | 20 SafepointEntry() : info_(0), bits_(NULL) {} in SafepointEntry() 22 SafepointEntry(unsigned info, uint8_t* bits) : info_(info), bits_(bits) { in SafepointEntry() 26 bool is_valid() const { return bits_ != NULL; } in is_valid() 29 return info_ == other.info_ && bits_ == other.bits_; in Equals() 34 bits_ = NULL; in Reset() 69 return bits_; in bits() 77 uint8_t* bits_; variable
|
D | atomic-utils.h | 107 explicit AtomicEnumSet(base::AtomicWord bits = 0) : bits_(bits) {} 116 void RemoveAll() { base::Release_Store(&bits_, 0); } 136 old = base::Acquire_Load(&bits_); \ 137 } while (base::Release_CompareAndSwap(&bits_, old, old OP NEW_VAL) != \ 162 return base::Acquire_Load(&bits_); 169 base::AtomicWord bits_;
|
D | utils.h | 949 explicit EnumSet(T bits = 0) : bits_(bits) {} 950 bool IsEmpty() const { return bits_ == 0; } 951 bool Contains(E element) const { return (bits_ & Mask(element)) != 0; } 953 return (bits_ & set.bits_) != 0; 955 void Add(E element) { bits_ |= Mask(element); } 956 void Add(const EnumSet& set) { bits_ |= set.bits_; } 957 void Remove(E element) { bits_ &= ~Mask(element); } 958 void Remove(const EnumSet& set) { bits_ &= ~set.bits_; } 959 void RemoveAll() { bits_ = 0; } 960 void Intersect(const EnumSet& set) { bits_ &= set.bits_; } [all …]
|
/external/webp/src/utils/ |
D | bit_reader_inl.h | 102 br->bits_ += BITS; in VP8LoadNewBytes() 114 if (br->bits_ < 0) { in VP8GetBit() 118 const int pos = br->bits_; in VP8GetBit() 143 br->bits_ -= shift; in VP8GetBit() 152 if (br->bits_ < 0) { in VP8GetSigned() 156 const int pos = br->bits_; in VP8GetSigned() 160 br->bits_ -= 1; in VP8GetSigned()
|
D | bit_writer.c | 260 *(vp8l_wtype_t*)bw->cur_ = (vp8l_wtype_t)WSWAP((vp8l_wtype_t)bw->bits_); in VP8LPutBitsFlushBits() 262 bw->bits_ >>= VP8L_WRITER_BITS; in VP8LPutBitsFlushBits() 271 vp8l_atype_t lbits = bw->bits_; in VP8LPutBitsInternal() 301 bw->bits_ = lbits | ((vp8l_atype_t)bits << used); in VP8LPutBitsInternal() 310 *bw->cur_++ = (uint8_t)bw->bits_; in VP8LBitWriterFinish() 311 bw->bits_ >>= 8; in VP8LBitWriterFinish()
|
D | bit_reader.c | 40 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader() 90 br->bits_ += 8; in VP8LoadFinalBytes() 94 br->bits_ += 8; in VP8LoadFinalBytes() 97 br->bits_ = 0; // This is to avoid undefined behaviour with shifts. in VP8LoadFinalBytes()
|
D | bit_writer.h | 89 vp8l_atype_t bits_; // bit accumulator member 131 bw->bits_ |= (vp8l_atype_t)bits << bw->used_; in VP8LPutBits()
|
/external/webrtc/webrtc/modules/video_coding/utility/ |
D | vp8_header_parser.cc | 29 br->bits_ += 8; in VP8LoadFinalBytes() 33 br->bits_ += 8; in VP8LoadFinalBytes() 54 br->bits_ += BITS; in VP8LoadNewBytes() 67 br->bits_ = -8; // To load the very first 8bits. in VP8InitBitReader() 75 if (br->bits_ < 0) { in VP8GetBit() 79 const int pos = br->bits_; in VP8GetBit() 94 br->bits_ -= shift; in VP8GetBit()
|
/external/opencv3/3rdparty/libwebp/utils/ |
D | bit_reader.h | 130 int bits_; // number of valid bits left member 202 br->value_ |= bits << (-br->bits_); in VP8LoadNewBytes() 206 br->bits_ += (BITS); in VP8LoadNewBytes() 213 if (br->bits_ < 0) { // Make sure we have a least BITS bits in 'value_' in VP8BitUpdate() 228 const int pos = br->bits_; in VP8BitUpdate() 249 br->bits_ -= shift; in VP8Shift() 254 br->bits_ -= shift; in VP8Shift()
|
D | bit_reader.c | 38 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader() 81 br->value_ |= (bit_t)(*br->buf_++) << ((BITS) - 8 - br->bits_); in VP8LoadFinalBytes() 85 br->bits_ += 8; in VP8LoadFinalBytes() 91 br->bits_ += 8; in VP8LoadFinalBytes()
|
/external/v8/src/compiler/ |
D | register-allocator.h | 323 return RepresentationField::decode(bits_); in representation() 326 int assigned_register() const { return AssignedRegisterField::decode(bits_); } in assigned_register() 333 bool spilled() const { return SpilledField::decode(bits_); } in spilled() 433 void set_spilled(bool value) { bits_ = SpilledField::update(bits_, value); } in set_spilled() 448 uint32_t bits_; variable 502 bool is_phi() const { return IsPhiField::decode(bits_); } in is_phi() 503 void set_is_phi(bool value) { bits_ = IsPhiField::update(bits_, value); } in set_is_phi() 505 bool is_non_loop_phi() const { return IsNonLoopPhiField::decode(bits_); } in is_non_loop_phi() 507 bits_ = IsNonLoopPhiField::update(bits_, value); in set_is_non_loop_phi() 510 bool has_slot_use() const { return HasSlotUseField::decode(bits_); } in has_slot_use() [all …]
|
D | instruction-selector.h | 108 Features() : bits_(0) {} in Features() 109 explicit Features(unsigned bits) : bits_(bits) {} in Features() 110 explicit Features(CpuFeature f) : bits_(1u << f) {} in Features() 111 Features(CpuFeature f1, CpuFeature f2) : bits_((1u << f1) | (1u << f2)) {} in Features() 113 bool Contains(CpuFeature f) const { return (bits_ & (1u << f)); } in Contains() 116 unsigned bits_;
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-internal.h | 390 fp.u_.bits_ = bits; in ReinterpretBits() 402 const Bits &bits() const { return u_.bits_; } in bits() 405 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 408 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 411 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 431 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 439 Bits bits_; // The bits that represent the number. member
|
/external/webp/src/dsp/ |
D | lossless.c | 196 const int tile_width = 1 << transform->bits_; in PredictorInverseTransform() 199 const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); in PredictorInverseTransform() 201 transform->data_ + (y >> transform->bits_) * tiles_per_row; in PredictorInverseTransform() 284 const int tile_width = 1 << transform->bits_; in ColorSpaceInverseTransform() 288 const int tiles_per_row = VP8LSubSampleSize(width, transform->bits_); in ColorSpaceInverseTransform() 291 transform->data_ + (y >> transform->bits_) * tiles_per_row; in ColorSpaceInverseTransform() 331 const int bits_per_pixel = 8 >> transform->bits_; \ 335 const int pixels_per_byte = 1 << transform->bits_; \ 386 if (in == out && transform->bits_ > 0) { in VP8LInverseTransform() 394 VP8LSubSampleSize(transform->xsize_, transform->bits_); in VP8LInverseTransform()
|
/external/webrtc/webrtc/p2p/base/ |
D | stun.cc | 645 : StunAttribute(type, SIZE), bits_(value) { in StunUInt32Attribute() 649 : StunAttribute(type, SIZE), bits_(0) { in StunUInt32Attribute() 654 return static_cast<bool>((bits_ >> index) & 0x1); in GetBit() 659 bits_ &= ~(1 << index); in SetBit() 660 bits_ |= value ? (1 << index) : 0; in SetBit() 664 if (length() != SIZE || !buf->ReadUInt32(&bits_)) in Read() 670 buf->WriteUInt32(bits_); in Write() 675 : StunAttribute(type, SIZE), bits_(value) { in StunUInt64Attribute() 679 : StunAttribute(type, SIZE), bits_(0) { in StunUInt64Attribute() 683 if (length() != SIZE || !buf->ReadUInt64(&bits_)) in Read() [all …]
|
D | stun.h | 349 uint32_t value() const { return bits_; } in value() 350 void SetValue(uint32_t bits) { bits_ = bits; } in SetValue() 359 uint32_t bits_; 372 uint64_t value() const { return bits_; } in value() 373 void SetValue(uint64_t bits) { bits_ = bits; } in SetValue() 379 uint64_t bits_;
|
/external/v8/src/arm64/ |
D | simulator-arm64.h | 214 bits_ = 0; 215 DCHECK(sizeof(argument) <= sizeof(bits_)); 216 memcpy(&bits_, &argument, sizeof(argument)); 221 DCHECK(sizeof(argument) == sizeof(bits_)); 222 memcpy(&bits_, &argument, sizeof(argument)); 232 DCHECK(sizeof(kFP64SignallingNaN) == sizeof(bits_)); 233 memcpy(&bits_, &kFP64SignallingNaN, sizeof(kFP64SignallingNaN)); 235 DCHECK(sizeof(argument) <= sizeof(bits_)); 236 memcpy(&bits_, &argument, sizeof(argument)); 244 int64_t bits() const { return bits_; } [all …]
|
/external/gtest/include/gtest/internal/ |
D | gtest-internal.h | 289 fp.u_.bits_ = bits; in ReinterpretBits() 304 const Bits &bits() const { return u_.bits_; } in bits() 307 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 310 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 313 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 333 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 341 Bits bits_; // The bits that represent the number. member
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
D | gtest-internal.h | 289 fp.u_.bits_ = bits; in ReinterpretBits() 304 const Bits &bits() const { return u_.bits_; } in bits() 307 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 310 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 313 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 333 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 341 Bits bits_; // The bits that represent the number. member
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 403 fp.u_.bits_ = bits; in ReinterpretBits() 415 const Bits &bits() const { return u_.bits_; } in bits() 418 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 421 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 424 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 444 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 452 Bits bits_; // The bits that represent the number. member
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 374 fp.u_.bits_ = bits; in ReinterpretBits() 386 const Bits &bits() const { return u_.bits_; } in bits() 389 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 392 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 395 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 415 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 423 Bits bits_; // The bits that represent the number. member
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 374 fp.u_.bits_ = bits; in ReinterpretBits() 386 const Bits &bits() const { return u_.bits_; } in bits() 389 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 392 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 395 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 415 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 423 Bits bits_; // The bits that represent the number. member
|