/external/v8/src/base/ |
D | flags.h | 30 Flags() : mask_(0) {} in Flags() 32 : mask_(static_cast<S>(flag)) {} in Flags() 33 explicit Flags(mask_type mask) : mask_(static_cast<S>(mask)) {} in Flags() 36 return mask_ == static_cast<S>(flag); 39 return mask_ != static_cast<S>(flag); 43 mask_ &= flags.mask_; 47 mask_ |= flags.mask_; 51 mask_ ^= flags.mask_; 67 Flags operator~() const { return Flags(~mask_); } 69 operator mask_type() const { return mask_; } in mask_type() [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | cleartest.cc | 14 ClearTest() : mask_(0) {} in ClearTest() 23 GLbitfield mask_; member in glbench::ClearTest 29 GLbitfield mask = mask_; in TestFunc() 40 mask_ = GL_COLOR_BUFFER_BIT; in Run() 43 mask_ = GL_DEPTH_BUFFER_BIT; in Run() 46 mask_ = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT; in Run() 50 mask_ = GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT; in Run() 54 mask_ = GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT; in Run()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | cpu_set.h | 51 my_memset(mask_, 0, sizeof(mask_)); in CpuSet() 115 mask_[nn] &= other.mask_[nn]; in IntersectWith() 122 result += __builtin_popcount(mask_[nn]); in GetCount() 131 mask_[nn / kMaskWordBits] |= (1U << (nn % kMaskWordBits)); in SetBit() 139 MaskWordType mask_[kMaskWordCount]; variable
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 65 size_t bucket_count() const { return mask_ + 1; } in bucket_count() 105 swap(mask_, x.mask_); in swap() 127 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in Find() 152 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in FindOrInsert() 193 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in Prefetch() 231 size_t mask_; // (# of entries in table) - 1 variable 255 mask_ = capacity - 1; in Init() 304 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in FreshInsert() 323 return (i + num_probes) & mask_; in NextIndex()
|
/external/libvpx/libvpx/test/ |
D | dct32x32_test.cc | 91 mask_ = (1 << bit_depth_) - 1; in SetUp() 99 int mask_; member in __anon9a4988d50111::Trans32x32Test 127 src16[j] = rnd.Rand16() & mask_; in TEST_P() 128 dst16[j] = rnd.Rand16() & mask_; in TEST_P() 179 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P() 209 input_extreme_block[j] = rnd.Rand8() & 1 ? mask_ : -mask_; in TEST_P() 212 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = mask_; in TEST_P() 214 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = -mask_; in TEST_P() 263 src16[j] = rnd.Rand16() & mask_; in TEST_P() 264 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
|
D | fdct8x8_test.cc | 154 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck() 155 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck() 186 ((rnd.Rand16() & mask_) >> 4) - ((rnd.Rand16() & mask_) >> 4); in RunSignBiasCheck() 235 src16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck() 236 dst16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck() 320 src16[j] = mask_; in RunExtremalCheck() 324 dst16[j] = mask_; in RunExtremalCheck() 326 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck() 327 dst16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck() 399 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunInvAccuracyCheck() [all …]
|
D | dct16x16_test.cc | 342 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck() 343 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck() 390 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck() 412 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck() 415 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = mask_; in RunMemCheck() 417 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = -mask_; in RunMemCheck() 449 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunQuantCheck() 452 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = mask_; in RunQuantCheck() 455 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = -mask_; in RunQuantCheck() 517 src16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck() [all …]
|
D | sad_test.cc | 86 mask_ = (1 << bit_depth_) - 1; in SetUp() 215 data16[h * stride + w] = rnd_.Rand16() & mask_; in FillRandom() 222 uint32_t mask_; member in __anon64ad09700111::SADTestBase 314 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 319 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 355 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 360 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 400 FillConstant(GetReference(0), reference_stride_, mask_); in TEST_P() 401 FillConstant(GetReference(1), reference_stride_, mask_); in TEST_P() 402 FillConstant(GetReference(2), reference_stride_, mask_); in TEST_P() [all …]
|
D | lpf_test.cc | 136 mask_ = (1 << bit_depth_) - 1; in SetUp() 143 int mask_; member in __anone4bb779a0111::Loop8Test6Param 155 mask_ = (1 << bit_depth_) - 1; in SetUp() 162 int mask_; member in __anone4bb779a0111::Loop8Test9Param 189 InitInput(s, ref_s, &rnd, *limit, mask_, p, i); in TEST_P() 250 s[j] = rnd.Rand16() & mask_; in TEST_P() 312 InitInput(s, ref_s, &rnd, limit, mask_, p, i); in TEST_P() 375 s[j] = rnd.Rand16() & mask_; in TEST_P()
|
D | partial_idct_test.cc | 72 mask_ = (1 << bit_depth_) - 1; in SetUp() 117 output_block_[j] = output_block_ref_[j] = rnd_.Rand16() & mask_; in InitMem() 125 output[j] = output_ref[j] = rnd_.Rand16() & mask_; in InitMem() 187 int mask_; member in __anonaa553dc80111::PartialIDctTest 206 input_extreme_block[k] = mask_; in TEST_P() 210 input_extreme_block[k] = -mask_; in TEST_P() 214 input_extreme_block[k] = rnd_.Rand8() % 2 ? mask_ : -mask_; in TEST_P() 220 input_extreme_block[k] = (i & (1 << k)) ? mask_ : -mask_; in TEST_P()
|
D | vp9_intrapred_test.cc | 61 above_row_[x] = mask_; in RunTest() 63 above_row_[x] = rnd.Rand16() & mask_; in RunTest() 71 left_col_[y] = mask_; in RunTest() 73 left_col_[y] = rnd.Rand16() & mask_; in RunTest() 86 mask_ = (1 << params_.bit_depth) - 1; in SetUp() 110 int mask_; member in __anonb3344e1f0111::IntraPredTest
|
D | convolve_test.cc | 406 mask_ = (1 << UUT_->use_highbd_) - 1; in SetUp() 408 mask_ = 255; in SetUp() 425 input16_[i] = mask_; in SetUp() 430 input16_[i] = prng.Rand16() & mask_; in SetUp() 528 int mask_; member in __anon44feeae40111::ConvolveTest 844 r = prng.Rand16() & mask_; in TEST_P() 923 r = prng.Rand16() & mask_; in TEST_P() 940 ((seed_val >> (axis ? y : x)) & 1) * mask_); in TEST_P()
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.h | 120 const uint32 mask_; 125 constexpr DataTypeSet(const DataTypeSet& other) : mask_(other.mask_) {} 126 explicit constexpr DataTypeSet(uint32 mask) : mask_(mask) {} 130 ((mask_ >> static_cast<uint32>(dt)) & 1u) != 0u; 146 uint32 remaining_mask = set_.mask_ >> pos_; 192 if (mask_ != 0) { 193 return Iterator(*this, ctz_uint32(mask_)); 202 if (mask_ != 0) { 203 return Iterator(*this, kNumBits - clz_uint32(mask_)); 211 return __builtin_popcount(mask_); [all …]
|
/external/v8/src/ |
D | identity-map.cc | 32 mask_ = 0; in Clear() 52 int start = Hash(address) & mask_; in ScanKeysFor() 68 int start = Hash(address) & mask_; in InsertKey() 71 for (int index = start; --limit > 0; index = (index + 1) & mask_) { in InsertKey() 102 next_index = (next_index + 1) & mask_; in DeleteIndex() 106 int expected_index = Hash(key) & mask_; in DeleteIndex() 162 mask_ = kInitialIdentityMapSize - 1; in GetEntry() 237 int pos = Hash(keys_[i]) & mask_; in Rehash() 264 mask_ = capacity_ - 1; in Resize()
|
D | identity-map.h | 38 mask_(0), in IdentityMapBase() 74 int mask_; variable
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | array_internal.cc | 36 : storage_(storage), mask_(mask) { in BitRef() 42 *storage_ |= mask_; in operator =() 44 *storage_ &= ~mask_; in operator =() 55 return (*storage_ & mask_) != 0; in operator bool()
|
D | array_internal.h | 83 uint8_t mask_;
|
/external/v8/src/heap/ |
D | marking.h | 17 inline MarkBit(CellType* cell, CellType mask) : cell_(cell), mask_(mask) {} in MarkBit() 21 return cell_ == other.cell_ && mask_ == other.mask_; 27 inline CellType mask() { return mask_; } in mask() 30 CellType new_mask = mask_ << 1; in Next() 38 inline void Set() { *cell_ |= mask_; } in Set() 39 inline bool Get() { return (*cell_ & mask_) != 0; } in Get() 40 inline void Clear() { *cell_ &= ~mask_; } in Clear() 43 CellType mask_; variable
|
D | mark-compact.h | 133 mask_(0), in MarkingDeque() 148 inline bool IsFull() { return ((top_ + 1) & mask_) == bottom_; } in IsFull() 167 top_ = ((top_ + 1) & mask_); in INLINE() 174 top_ = ((top_ - 1) & mask_); in INLINE() 188 bottom_ = ((bottom_ - 1) & mask_); in INLINE() 197 int mask() { return mask_; } in mask() 244 int mask_; variable
|
/external/brotli/c/enc/ |
D | ringbuffer.h | 35 const uint32_t mask_; member 61 *(uint32_t*)&rb->mask_ = (1u << window_bits) - 1; in RingBufferSetup() 95 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWriteTail() 130 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWrite()
|
/external/libcxx/src/ |
D | regex.cpp | 196 regex_traits<char>::char_class_type mask_; member 247 r = i->mask_; in __get_classname()
|
/external/v8/src/regexp/ |
D | jsregexp.h | 384 mask_(0), in QuickCheckDetails() 389 mask_(0), in QuickCheckDetails() 413 uint32_t mask() { return mask_; } in mask() 422 uint32_t mask_; variable
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Image.h | 1226 void readMask(const Image &mask_); 1480 void writeMask(const Image &mask_); 1528 void mask(const Image &mask_,const PixelMask);
|
/external/ImageMagick/Magick++/lib/ |
D | Image.cpp | 4036 void Magick::Image::readMask(const Magick::Image &mask_) in readMask() argument 4038 mask(mask_,ReadPixelMask); in readMask() 4889 void Magick::Image::writeMask(const Magick::Image &mask_) in writeMask() argument 4891 mask(mask_,WritePixelMask); in writeMask() 5075 void Magick::Image::mask(const Magick::Image &mask_,const PixelMask type) in mask() argument 5080 if (mask_.isValid()) in mask() 5081 SetImageMask(image(),type,mask_.constImage(),exceptionInfo); in mask()
|
/external/v8/src/crankshaft/arm64/ |
D | lithium-codegen-arm64.cc | 139 mask_(mask) { } in TestAndBranch() 144 __ TestAndBranchIfAllClear(value_, mask_, label); in Emit() 147 __ TestAndBranchIfAnySet(value_, mask_, label); in Emit() 150 __ Tst(value_, mask_); in Emit() 159 __ TestAndBranchIfAnySet(value_, mask_, label); in EmitInverted() 162 __ TestAndBranchIfAllClear(value_, mask_, label); in EmitInverted() 165 __ Tst(value_, mask_); in EmitInverted() 173 uint64_t mask_; member in v8::internal::TestAndBranch
|