Home
last modified time | relevance | path

Searched refs:mask_ (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/v8/src/base/
Dflags.h28 Flags() : mask_(0) {} in Flags()
29 Flags(flag_type flag) : mask_(flag) {} // NOLINT(runtime/explicit) in Flags()
30 explicit Flags(mask_type mask) : mask_(mask) {} in Flags()
33 mask_ &= flags.mask_;
37 mask_ |= flags.mask_;
41 mask_ ^= flags.mask_;
57 Flags operator~() const { return Flags(~mask_); }
59 operator mask_type() const { return mask_; } in mask_type()
60 bool operator!() const { return !mask_; }
63 mask_type mask_;
/external/chromium_org/sandbox/linux/seccomp-bpf/
Derrorcode.cc50 mask_(mask), in ErrorCode()
69 return mask_ == err.mask_ && value_ == err.value_ && argno_ == err.argno_ && in Equals()
91 if (mask_ != err.mask_) { in LessThan()
92 return mask_ < err.mask_; in LessThan()
Derrorcode.h134 uint64_t mask() const { return mask_; } in mask()
178 uint64_t mask_; // Mask that we are comparing under. member
/external/chromium_org/third_party/libvpx/source/libvpx/test/
Ddct32x32_test.cc100 mask_ = (1 << bit_depth_) - 1; in SetUp()
108 int mask_; member in __anon0eaea9220111::Trans32x32Test
136 src16[j] = rnd.Rand16() & mask_; in TEST_P()
137 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
189 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P()
219 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P()
220 input_extreme_block[j] = rnd.Rand8() & 1 ? mask_ : -mask_; in TEST_P()
224 input_extreme_block[j] = mask_; in TEST_P()
227 input_extreme_block[j] = -mask_; in TEST_P()
276 src16[j] = rnd.Rand16() & mask_; in TEST_P()
[all …]
Dfdct4x4_test.cc112 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
113 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
163 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck()
185 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunMemCheck()
186 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
190 input_extreme_block[j] = mask_; in RunMemCheck()
193 input_extreme_block[j] = -mask_; in RunMemCheck()
230 src16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
231 dst16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
267 int mask_; member in __anon4ca5d8060111::Trans4x4TestBase
[all …]
Ddct16x16_test.cc348 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
349 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
398 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck()
420 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunMemCheck()
421 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
425 input_extreme_block[j] = mask_; in RunMemCheck()
428 input_extreme_block[j] = -mask_; in RunMemCheck()
464 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunQuantCheck()
465 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunQuantCheck()
469 input_extreme_block[j] = mask_; in RunQuantCheck()
[all …]
Dfdct8x8_test.cc121 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck()
122 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck()
199 src16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
200 dst16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
286 src16[j] = mask_; in RunExtremalCheck()
290 dst16[j] = mask_; in RunExtremalCheck()
292 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
293 dst16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
367 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunInvAccuracyCheck()
368 dst16[j] = src16[j] > 0 ? 0 : mask_; in RunInvAccuracyCheck()
[all …]
Dvp9_intrapred_test.cc64 above_row_[x] = mask_; in RunTest()
66 above_row_[x] = rnd.Rand16() & mask_; in RunTest()
71 left_col_[y] = mask_; in RunTest()
73 left_col_[y] = rnd.Rand16() & mask_; in RunTest()
88 int mask_; member in __anon076aa68c0111::VP9IntraPredBase
106 mask_ = (1 << bit_depth_) - 1; in SetUp()
/external/chromium_org/mojo/public/cpp/bindings/lib/
Darray_internal.cc34 mask_(mask) { in BitRef()
40 *storage_ |= mask_; in operator =()
42 *storage_ &= ~mask_; in operator =()
53 return (*storage_ & mask_) != 0; in operator bool()
/external/chromium_org/chrome/browser/resources/chromeos/first_run/
Dfirst_run.js65 mask_: null,
87 this.mask_ = $('mask');
139 this.mask_.appendChild(hole);
156 this.mask_.appendChild(hole);
168 var mask = this.mask_;
/external/chromium_org/sandbox/linux/bpf_dsl/
Dbpf_dsl.h172 Arg(const Arg& arg) : num_(arg.num_), mask_(arg.mask_) {} in Arg()
177 return Arg(lhs.num_, lhs.mask_ & rhs);
189 Arg(int num, uint64_t mask) : num_(num), mask_(mask) {} in Arg()
194 uint64_t mask_; variable
341 : num_(num), mask_(internal::DefaultMask(sizeof(T))) { in Arg()
353 return internal::ArgEq(num_, sizeof(T), mask_, static_cast<uint64_t>(val)); in EqualTo()
Dbpf_dsl.cc170 : argno_(argno), is_32bit_(is_32bit), mask_(mask), value_(value) {} in PrimitiveBoolExprImpl()
176 argno_, is_32bit_, mask_, value_, true_ec, false_ec); in Compile()
184 uint64_t mask_; member in sandbox::bpf_dsl::__anon2347e7360111::PrimitiveBoolExprImpl
/external/chromium_org/net/disk_cache/blockfile/
Dindex_table_v3.cc467 int extra_size = (header()->max_bucket - mask_) * kCellsPerBucket; in Init()
499 mask_ = ((kBaseTableLen / kCellsPerBucket) << extra_bits_) - 1; in Init()
512 int old_main_table_bit_words = ((mask_ >> 1) + 1) * kCellsPerBucket / 32; in Init()
579 int bucket_num = static_cast<int>(hash & mask_); in LookupEntries()
597 HandleMisplacedCell(current_cell, cell_num, hash & mask_); in LookupEntries()
608 bucket_num = GetNextBucket(mask_ + 1, header()->max_bucket, extra_table_, in LookupEntries()
618 int bucket_num = static_cast<int>(hash & mask_); in CreateEntryCell()
633 bucket_num = GetNextBucket(mask_ + 1, header()->max_bucket, extra_table_, in CreateEntryCell()
642 bucket = &extra_table_[bucket_num - (mask_ + 1)]; in CreateEntryCell()
643 bucket->hash = hash & mask_; in CreateEntryCell()
[all …]
Dbackend_impl.cc120 mask_(0), in BackendImpl()
147 mask_(mask), in BackendImpl()
517 Addr entry_address(data_->table[hash & mask_]); in CreateEntryImpl()
530 } else if (data_->table[hash & mask_]) { in CreateEntryImpl()
592 data_->table[hash & mask_] = entry_address.value(); in CreateEntryImpl()
784 if (data_->table[hash & mask_]) in RecoveredEntry()
787 data_->table[hash & mask_] = address.value(); in RecoveredEntry()
815 data_->table[hash & mask_] = child; in InternalDoomEntry()
839 uint32 i = entry->GetHash() & mask_; in NotLinked()
1492 mask_ = 0; in PrepareForRestart()
[all …]
Dbackend_impl_v3.cc152 data_->table[hash & mask_] = child; in InternalDoomEntry()
480 Addr entry_address(data_->table[hash & mask_]); in CreateEntry()
493 } else if (data_->table[hash & mask_]) { in CreateEntry()
555 data_->table[hash & mask_] = entry_address.value(); in CreateEntry()
1137 Addr entry_address(data_->table[hash & mask_]); in CreateEntryImpl()
1150 } else if (data_->table[hash & mask_]) { in CreateEntryImpl()
1212 data_->table[hash & mask_] = entry_address.value(); in CreateEntryImpl()
1382 if (!mask_) in CheckIndex()
1383 mask_ = data_->header.table_len - 1; in CheckIndex()
1393 DCHECK(mask_ < kuint32max); in CheckAllEntries()
[all …]
Dbackend_worker_v3.cc212 mask_ = 0; in PrepareForRestart()
412 if (!mask_) in CheckIndex()
413 mask_ = data_->header.table_len - 1; in CheckIndex()
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dbitvect.c43 #define mask_(BitVector) *(BitVector-1) macro
530 oldmask = mask_(oldaddr); in BitVector_Resize()
539 mask_(newaddr) = newmask; in BitVector_Resize()
596 *(Z+size_(Z)-1) &= mask_(Z); in BitVector_Concat()
605 N_word maskX = mask_(X); in BitVector_Copy()
606 N_word maskY = mask_(Y); in BitVector_Copy()
646 N_word mask = mask_(addr); in BitVector_Fill()
659 N_word mask = mask_(addr); in BitVector_Flip()
694 *(addr+size-1) &= mask_(addr); in BitVector_Primes()
815 *(addr+size-1) &= mask_(addr); in BitVector_Interval_Fill()
[all …]
/external/chromium_org/v8/src/heap/
Dmark-compact.h143 : array_(NULL), top_(0), bottom_(0), mask_(0), overflowed_(false) {} in MarkingDeque()
149 mask_ = base::bits::RoundDownToPowerOfTwo32( in Initialize()
156 inline bool IsFull() { return ((top_ + 1) & mask_) == bottom_; } in IsFull()
177 top_ = ((top_ + 1) & mask_); in INLINE()
187 top_ = ((top_ + 1) & mask_); in INLINE()
193 top_ = ((top_ - 1) & mask_); in INLINE()
204 bottom_ = ((bottom_ - 1) & mask_); in INLINE()
212 int mask() { return mask_; } in mask()
222 int mask_; variable
/external/chromium_org/net/disk_cache/
Ddisk_cache_test_base.cc73 mask_(0), in DiskCacheTestWithCache()
109 EXPECT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask_)); in SimulateCrash()
265 EXPECT_TRUE(CheckCacheIntegrity(cache_path_, new_eviction_, mask_)); in TearDown()
321 if (mask_) in CreateBackend()
322 cache_impl_ = new disk_cache::BackendImpl(cache_path_, mask_, runner, NULL); in CreateBackend()
Ddisk_cache_test_base.h90 mask_ = mask; in SetMask()
166 uint32 mask_; variable
/external/libcxx/src/
Dregex.cpp210 ctype_base::mask mask_; member
265 r = i->mask_; in __get_classname()
/external/chromium_org/net/tools/epoll_server/
Depoll_server.h814 fd_(fd), mask_(mask), function_(function) {} in FDMaskOutput()
818 if (mask_ != 0) { in OutputToStream()
819 (*os) << "\tmask: " << EventMaskToString(mask_); in OutputToStream()
823 int mask_; member
/external/chromium_org/tools/traceline/traceline/sidestep/
Dmini_disassembler.cc145 current_byte = current_byte & table.mask_; // Mask out the bits we will use in ProcessOpcode()
197 if (table.mask_ != 0xff) { in ProcessOpcode()
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
Dmini_disassembler.cc157 current_byte = current_byte & table.mask_; // Mask out the bits we will use in ProcessOpcode()
208 if (table.mask_ != 0xff) { in ProcessOpcode()
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
Dmini_disassembler.cc157 current_byte = current_byte & table.mask_; // Mask out the bits we will use in ProcessOpcode()
208 if (table.mask_ != 0xff) { in ProcessOpcode()

12