/external/v8/src/base/ |
D | flags.h | 30 constexpr Flags() : mask_(0) {} in Flags() 32 : mask_(static_cast<S>(flag)) {} in Flags() 33 constexpr 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_; 56 return Flags(mask_ & flags.mask_); 59 return Flags(mask_ | flags.mask_); [all …]
|
/external/angle/third_party/spirv-tools/src/source/ |
D | enum_set.h | 57 mask_ = other.mask_; in EnumSet() 59 other.mask_ = 0; in EnumSet() 65 mask_ = other.mask_; 73 if (a.mask_ != b.mask_) { 107 if (mask_ & AsMask(i)) f(static_cast<EnumType>(i)); in ForEach() 116 if (mask_) return false; in IsEmpty() 126 if (mask_ & in_set.mask_) return true; in HasAnyOf() 142 mask_ |= new_bits; in AddWord() 152 mask_ &= ~new_bits; in RemoveWord() 163 return (mask_ & bits) != 0; in ContainsWord() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | enum_set.h | 57 mask_ = other.mask_; in EnumSet() 59 other.mask_ = 0; in EnumSet() 65 mask_ = other.mask_; 73 if (a.mask_ != b.mask_) { 107 if (mask_ & AsMask(i)) f(static_cast<EnumType>(i)); in ForEach() 116 if (mask_) return false; in IsEmpty() 126 if (mask_ & in_set.mask_) return true; in HasAnyOf() 142 mask_ |= new_bits; in AddWord() 152 mask_ &= ~new_bits; in RemoveWord() 163 return (mask_ & bits) != 0; in ContainsWord() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | enum_set.h | 57 mask_ = other.mask_; in EnumSet() 59 other.mask_ = 0; in EnumSet() 65 mask_ = other.mask_; 73 if (a.mask_ != b.mask_) { 103 if (mask_ & AsMask(i)) f(static_cast<EnumType>(i)); in ForEach() 112 if (mask_) return false; in IsEmpty() 122 if (mask_ & in_set.mask_) return true; in HasAnyOf() 138 mask_ |= new_bits; in AddWord() 148 return (mask_ & bits) != 0; in ContainsWord() 182 uint64_t mask_ = 0; variable
|
/external/libgav1/libgav1/src/utils/ |
D | bit_mask_set.h | 34 explicit constexpr BitMaskSet(uint32_t mask) : mask_(mask) {} in BitMaskSet() 36 constexpr BitMaskSet(int v1, int v2) : mask_((1U << v1) | (1U << v2)) {} in BitMaskSet() 39 : mask_((1U << v1) | (1U << v2) | (1U << v3)) {} in BitMaskSet() 42 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4)) {} in BitMaskSet() 45 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4) | (1U << v5)) {} in BitMaskSet() 48 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4) | (1U << v5) | in BitMaskSet() 52 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4) | (1U << v5) | in BitMaskSet() 57 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4) | (1U << v5) | in BitMaskSet() 62 : mask_((1U << v1) | (1U << v2) | (1U << v3) | (1U << v4) | (1U << v5) | in BitMaskSet() 67 return MaskContainsValue(mask_, value); in Contains() [all …]
|
/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/libaom/libaom/test/ |
D | transform_test_base.h | 77 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck() 78 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck() 140 input_block[in_idx] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck() 145 rnd.Rand16() & mask_; in RunCoeffCheck() 192 input_block[in_idx] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunInvCoeffCheck() 193 output_ref_block[out_idx] = rnd.Rand16() & mask_; in RunInvCoeffCheck() 232 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck() 235 for (int j = 0; j < num_coeffs_; ++j) input_extreme_block[j] = mask_; in RunMemCheck() 237 for (int j = 0; j < num_coeffs_; ++j) input_extreme_block[j] = -mask_; in RunMemCheck() 286 src16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck() [all …]
|
D | blend_a64_mask_test.cc | 144 uint8_t mask_[kMaxMaskSize]; member in __anonf45988de0111::BlendA64MaskTest 172 p_src1 + src1_offset_, src1_stride_, mask_, in Execute() 181 p_src1 + src1_offset_, src1_stride_, mask_, in Execute() 206 mask_[i] = rng_(AOM_BLEND_A64_MAX_ALPHA + 1); in TEST_P() 223 mask_[i] = rng_(2) + AOM_BLEND_A64_MAX_ALPHA - 1; in TEST_P() 240 mask_[i] = rng_(AOM_BLEND_A64_MAX_ALPHA + 1); in TEST_P() 286 p_src1 + src1_offset_, src1_stride_, mask_, in Execute() 295 p_src1 + src1_offset_, src1_stride_, mask_, in Execute() 320 mask_[i] = rng_(AOM_BLEND_A64_MAX_ALPHA + 1); in TEST_P() 338 mask_[i] = AOM_BLEND_A64_MAX_ALPHA - 1; in TEST_P() [all …]
|
D | blend_a64_mask_1d_test.cc | 107 uint8_t mask_[kMaxMaskSize]; member in __anon15d89bd20111::BlendA64Mask1DTest 126 src0_stride_, p_src1 + src1_offset_, src1_stride_, mask_, in Execute() 130 src0_stride_, p_src1 + src1_offset_, src1_stride_, mask_, w_, h_)); in Execute() 145 mask_[i] = rng_(AOM_BLEND_A64_MAX_ALPHA + 1); in TEST_P() 161 mask_[i] = rng_(2) + AOM_BLEND_A64_MAX_ALPHA - 1; in TEST_P() 234 mask_, w_, h_, bit_depth_); in Execute() 238 CONVERT_TO_BYTEPTR(p_src1 + src1_offset_), src1_stride_, mask_, w_, h_, in Execute() 263 mask_[i] = rng_(AOM_BLEND_A64_MAX_ALPHA + 1); in TEST_P() 288 mask_[i] = rng_(2) + AOM_BLEND_A64_MAX_ALPHA - 1; in TEST_P()
|
D | intrapred_test.cc | 83 above_row_[x] = mask_; in RunTest() 85 above_row_[x] = rnd.Rand16() & mask_; in RunTest() 90 left_col_[y] = mask_; in RunTest() 92 left_col_[y] = rnd.Rand16() & mask_; in RunTest() 105 mask_ = (1 << params_.bit_depth) - 1; in SetUp() 131 int mask_; member in __anonb3fda4ed0211::AV1IntraPredTest
|
D | sad_test.cc | 149 mask_ = (1 << bit_depth_) - 1; in SetUp() 291 data16[h * stride + w] = rnd_.Rand16() & mask_; in FillRandom() 297 int width_, height_, mask_, bd_; member in __anonf5d3fa5c0111::SADTestBase 555 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 560 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 612 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 617 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 660 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 667 FillConstant(second_pred_, width_, mask_); in TEST_P() 693 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() [all …]
|
D | convolve_test.cc | 341 mask_ = (1 << UUT_->use_highbd_) - 1; in SetUp() 343 mask_ = 255; in SetUp() 348 output16_[i] = mask_; in SetUp() 359 input16_[i] = mask_; in SetUp() 362 input16_[i] = prng.Rand16() & mask_; in SetUp() 468 int mask_; member in __anon7a7d4f500111::ConvolveTest 601 r = prng.Rand16() & mask_; in TEST_P() 614 ((seed_val >> (axis ? y : x)) & 1) * mask_); in TEST_P() 705 r = prng.Rand16() & mask_; in TEST_P()
|
/external/v8/src/heap/ |
D | marking.h | 19 inline MarkBit(CellType* cell, CellType mask) : cell_(cell), mask_(mask) {} in MarkBit() 23 return cell_ == other.cell_ && mask_ == other.mask_; 29 CellType new_mask = mask_ << 1; in Next() 51 CellType mask_; variable 61 if ((old_value & mask_) == mask_) return false; 62 *cell_ = old_value | mask_; 68 return base::AsAtomic32::SetBits(cell_, mask_, mask_); 73 return (*cell_ & mask_) != 0; 78 return (base::AsAtomic32::Acquire_Load(cell_) & mask_) != 0; 84 *cell_ = old_value & ~mask_; [all …]
|
/external/libchrome/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()
|
/external/libvpx/libvpx/test/ |
D | dct32x32_test.cc | 94 mask_ = (1 << bit_depth_) - 1; in SetUp() 102 int mask_; member in __anon0e202aa30111::Trans32x32Test 136 src16[j] = rnd.Rand16() & mask_; in TEST_P() 137 dst16[j] = rnd.Rand16() & mask_; in TEST_P() 188 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P() 218 input_extreme_block[j] = rnd.Rand8() & 1 ? mask_ : -mask_; in TEST_P() 221 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = mask_; in TEST_P() 223 for (int j = 0; j < kNumCoeffs; ++j) input_extreme_block[j] = -mask_; in TEST_P() 285 src16[j] = rnd.Rand16() & mask_; in TEST_P() 286 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
|
D | fdct8x8_test.cc | 155 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck() 156 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck() 187 ((rnd.Rand16() & mask_) >> 4) - ((rnd.Rand16() & mask_) >> 4); in RunSignBiasCheck() 236 src16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck() 237 dst16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck() 321 src16[j] = mask_; in RunExtremalCheck() 325 dst16[j] = mask_; in RunExtremalCheck() 327 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck() 328 dst16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck() 400 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 | 94 mask_ = (1 << bit_depth_) - 1; in SetUp() 237 data16[r * stride + c] = rnd_.Rand16() & mask_; in FillRandomWH() 248 uint32_t mask_; member in __anoncdf5d27e0111::SADTestBase 370 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 375 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 422 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P() 427 FillConstant(source_data_, source_stride_, mask_); in TEST_P() 467 FillConstant(GetReference(0), reference_stride_, mask_); in TEST_P() 468 FillConstant(GetReference(1), reference_stride_, mask_); in TEST_P() 469 FillConstant(GetReference(2), reference_stride_, mask_); in TEST_P() [all …]
|
D | lpf_test.cc | 137 mask_ = (1 << bit_depth_) - 1; in SetUp() 144 int mask_; member in __anon4e0440a80111::Loop8Test6Param 156 mask_ = (1 << bit_depth_) - 1; in SetUp() 163 int mask_; member in __anon4e0440a80111::Loop8Test9Param 190 InitInput(s, ref_s, &rnd, *limit, mask_, p, i); in TEST_P() 251 s[j] = rnd.Rand16() & mask_; in TEST_P() 313 InitInput(s, ref_s, &rnd, limit, mask_, p, i); in TEST_P() 376 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 __anon892416960111::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()
|
/external/tensorflow/tensorflow/core/framework/ |
D | types.h | 125 const uint32 mask_; 130 constexpr DataTypeSet(const DataTypeSet& other) : mask_(other.mask_) {} 131 explicit constexpr DataTypeSet(uint32 mask) : mask_(mask) {} 135 ((mask_ >> static_cast<uint32>(dt)) & 1u) != 0u; 151 uint32 remaining_mask = set_.mask_ >> pos_; 197 if (mask_ != 0) { 198 return Iterator(*this, ctz_uint32(mask_)); 207 if (mask_ != 0) { 208 return Iterator(*this, kNumBits - clz_uint32(mask_)); 216 return __builtin_popcount(mask_); [all …]
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
D | flatrep.h | 78 size_t bucket_count() const { return mask_ + 1; } in bucket_count() 124 swap(mask_, x.mask_); in swap() 146 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in Find() 171 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in FindOrInsert() 212 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in Prefetch() 250 size_t mask_; // (# of entries in table) - 1 variable 274 mask_ = capacity - 1; in Init() 323 size_t index = (h >> 8) & mask_; // Holds bucket num and index-in-bucket in FreshInsert() 342 return (i + num_probes) & mask_; in NextIndex()
|
/external/v8/src/utils/ |
D | identity-map.cc | 36 mask_ = 0; in Clear() 51 int start = hash & mask_; in ScanKeysFor() 75 int start = hash & mask_; in InsertKey() 87 index = (index + 1) & mask_; in InsertKey() 111 next_index = (next_index + 1) & mask_; in DeleteIndex() 115 int expected_index = Hash(key) & mask_; in DeleteIndex() 199 mask_ = kInitialIdentityMapSize - 1; in InsertEntry() 276 int pos = Hash(keys_[i]) & mask_; in Rehash() 304 mask_ = capacity_ - 1; in Resize()
|
/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()
|