/external/chromium_org/v8/src/ |
D | hydrogen-gvn.h | 26 SideEffects() : bits_(0) { in SideEffects() 27 DCHECK(kNumberOfFlags + kNumberOfSpecials == sizeof(bits_) * CHAR_BIT); in SideEffects() 29 explicit SideEffects(GVNFlagSet flags) : bits_(flags.ToIntegral()) {} in SideEffects() 30 bool IsEmpty() const { return bits_ == 0; } in IsEmpty() 32 return (bits_ & MaskFlag(flag)) != 0; in ContainsFlag() 35 return (bits_ & MaskSpecial(special)) != 0; in ContainsSpecial() 37 bool ContainsAnyOf(SideEffects set) const { return (bits_ & set.bits_) != 0; } in ContainsAnyOf() 38 void Add(SideEffects set) { bits_ |= set.bits_; } in Add() 39 void AddSpecial(int special) { bits_ |= MaskSpecial(special); } in AddSpecial() 40 void RemoveFlag(GVNFlag flag) { bits_ &= ~MaskFlag(flag); } in RemoveFlag() [all …]
|
D | data-flow.h | 198 : it_(target->bits_ == NULL in Iterator() 200 : 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() 228 void Clear() { if (bits_ != NULL) bits_->Clear(); } in Clear() 234 return bits_ != NULL && bits_->length() > value; in InBitsRange() 239 int new_length = bits_ == NULL ? kInitialLength : bits_->length(); in EnsureCapacity() 242 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 | utils.h | 849 explicit EnumSet(T bits = 0) : bits_(bits) {} 850 bool IsEmpty() const { return bits_ == 0; } 851 bool Contains(E element) const { return (bits_ & Mask(element)) != 0; } 853 return (bits_ & set.bits_) != 0; 855 void Add(E element) { bits_ |= Mask(element); } 856 void Add(const EnumSet& set) { bits_ |= set.bits_; } 857 void Remove(E element) { bits_ &= ~Mask(element); } 858 void Remove(const EnumSet& set) { bits_ &= ~set.bits_; } 859 void RemoveAll() { bits_ = 0; } 860 void Intersect(const EnumSet& set) { bits_ &= set.bits_; } [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/chromium_org/third_party/libwebp/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_reader.c | 32 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader() 80 br->bits_ += 8; in VP8LoadFinalBytes() 84 br->bits_ += 8; in VP8LoadFinalBytes()
|
D | bit_writer.c | 258 vp8l_atype_t lbits = bw->bits_; in VP8LWriteBits() 289 bw->bits_ = lbits | ((vp8l_atype_t)bits << used); in VP8LWriteBits() 298 *bw->cur_++ = (uint8_t)bw->bits_; in VP8LBitWriterFinish() 299 bw->bits_ >>= 8; in VP8LBitWriterFinish()
|
/external/webp/src/utils/ |
D | bit_reader_inl.h | 101 br->bits_ += BITS; in VP8LoadNewBytes() 113 if (br->bits_ < 0) { in VP8GetBit() 117 const int pos = br->bits_; in VP8GetBit() 142 br->bits_ -= shift; in VP8GetBit() 151 if (br->bits_ < 0) { in VP8GetSigned() 155 const int pos = br->bits_; in VP8GetSigned() 159 br->bits_ -= 1; in VP8GetSigned()
|
D | bit_reader.c | 32 br->bits_ = -8; // to load the very first 8bits in VP8InitBitReader() 80 br->bits_ += 8; in VP8LoadFinalBytes() 84 br->bits_ += 8; in VP8LoadFinalBytes()
|
D | bit_writer.c | 258 vp8l_atype_t lbits = bw->bits_; in VP8LWriteBits() 289 bw->bits_ = lbits | ((vp8l_atype_t)bits << used); in VP8LWriteBits() 298 *bw->cur_++ = (uint8_t)bw->bits_; in VP8LBitWriterFinish() 299 bw->bits_ >>= 8; in VP8LBitWriterFinish()
|
/external/chromium_org/content/browser/speech/ |
D | audio_encoder.cc | 122 SpeexBits bits_; member in content::__anon05c6c40b0111::SpeexEncoder 133 memset(&bits_, 0, sizeof(bits_)); in SpeexEncoder() 134 speex_bits_init(&bits_); in SpeexEncoder() 147 speex_bits_destroy(&bits_); in ~SpeexEncoder() 158 speex_bits_reset(&bits_); in Encode() 159 speex_encode_int(encoder_state_, src_buffer + i, &bits_); in Encode() 163 int frame_length = speex_bits_write(&bits_, encoded_frame_data_ + 1, in Encode()
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
D | bitvect.c | 41 #define bits_(BitVector) *(BitVector-3) macro 537 bits_(newaddr) = bits; in BitVector_Resize() 564 return( BitVector_Create(bits_(addr),true) ); in BitVector_Shadow() 572 bits = bits_(addr); in BitVector_Clone() 588 bitsX = bits_(X); in BitVector_Concat() 589 bitsY = bits_(Y); in BitVector_Concat() 671 N_word bits = bits_(addr); in BitVector_Primes() 700 N_word bits = bits_(X); in BitVector_Reverse() 708 else if (bits == bits_(Y)) in BitVector_Reverse() 741 N_word bits = bits_(addr); in BitVector_Interval_Empty() [all …]
|
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
D | entropy_encode.h | 66 uint16_t bits_[kSize]; member 79 memset(code->bits_, 0, sizeof(code->bits_)); in BuildEntropyCode() 98 ConvertBitDepthsToSymbols(&code->depth_[0], alphabet_size, &code->bits_[0]); in BuildEntropyCode()
|
/external/chromium_org/v8/src/compiler/ |
D | instruction-selector.h | 67 Features() : bits_(0) {} in Features() 68 explicit Features(unsigned bits) : bits_(bits) {} in Features() 69 explicit Features(CpuFeature f) : bits_(1u << f) {} in Features() 70 Features(CpuFeature f1, CpuFeature f2) : bits_((1u << f1) | (1u << f2)) {} in Features() 72 bool Contains(CpuFeature f) const { return (bits_ & (1u << f)); } in Contains() 75 unsigned bits_;
|
/external/openfst/src/extensions/ngram/ |
D | bitmap-index.cc | 68 return sum + __builtin_popcountll(bits_[end_word] & in Rank1() 88 int nth = nth_bit(bits_[offset], rembits); in Select1() 111 int nth = nth_bit(~bits_[offset], remzeros); in Select0() 126 bits_ = bits; in BuildIndex() 145 block_popcount += __builtin_popcountll(bits_[j] & mask); in BuildIndex()
|
/external/openfst/src/include/fst/extensions/ngram/ |
D | bitmap-index.h | 47 BitmapIndex() : bits_(NULL), size_(0) { } in BitmapIndex() 50 return (bits_[index >> kStorageLogBitSize] & in Get() 168 const uint64* bits_; variable
|
/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/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | stun.cc | 660 : StunAttribute(type, SIZE), bits_(value) { in StunUInt32Attribute() 664 : StunAttribute(type, SIZE), bits_(0) { in StunUInt32Attribute() 669 return static_cast<bool>((bits_ >> index) & 0x1); in GetBit() 674 bits_ &= ~(1 << index); in SetBit() 675 bits_ |= value ? (1 << index) : 0; in SetBit() 679 if (length() != SIZE || !buf->ReadUInt32(&bits_)) in Read() 685 buf->WriteUInt32(bits_); in Write() 690 : StunAttribute(type, SIZE), bits_(value) { in StunUInt64Attribute() 694 : StunAttribute(type, SIZE), bits_(0) { in StunUInt64Attribute() 698 if (length() != SIZE || !buf->ReadUInt64(&bits_)) in Read() [all …]
|
D | stun.h | 364 uint32 value() const { return bits_; } in value() 365 void SetValue(uint32 bits) { bits_ = bits; } in SetValue() 374 uint32 bits_; 387 uint64 value() const { return bits_; } in value() 388 void SetValue(uint64 bits) { bits_ = bits; } in SetValue() 394 uint64 bits_;
|
/external/chromium_org/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/chromium_org/third_party/mesa/src/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/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/chromium_org/testing/gtest/include/gtest/internal/ |
D | gtest-internal.h | 321 fp.u_.bits_ = bits; in ReinterpretBits() 336 const Bits &bits() const { return u_.bits_; } in bits() 339 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 342 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 345 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() 365 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_) in AlmostEquals() 373 Bits bits_; // The bits that represent the number. member
|