Home
last modified time | relevance | path

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

12

/external/v8/src/base/
Dflags.h30 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/
Dcleartest.cc14 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/
Dcpu_set.h51 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/opencv3/modules/core/include/opencv2/core/cuda/
Dutility.hpp77 explicit __host__ __device__ __forceinline__ SingleMask(PtrStepb mask_) : mask(mask_) {} in SingleMask()
78 __host__ __device__ __forceinline__ SingleMask(const SingleMask& mask_): mask(mask_.mask){} in SingleMask()
90 __host__ __device__ __forceinline__ SingleMaskChannels(PtrStepb mask_, int channels_) in SingleMaskChannels()
91 : mask(mask_), channels(channels_) {} in SingleMaskChannels()
92 __host__ __device__ __forceinline__ SingleMaskChannels(const SingleMaskChannels& mask_) in SingleMaskChannels()
93 :mask(mask_.mask), channels(mask_.channels){} in SingleMaskChannels()
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc52 mask_ = (1 << bit_depth_) - 1; in SetUp()
59 int mask_; member in __anone52d8c960111::VP9QuantizeTest
71 mask_ = (1 << bit_depth_) - 1; in SetUp()
78 int mask_; member in __anone52d8c960111::VP9Quantize32Test
109 coeff_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
112 zbin_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
168 coeff_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
171 zbin_ptr[j] = rnd.Rand16()&mask_; in TEST_P()
230 coeff_ptr[rnd(count)] = rnd.Rand16()&mask_; in TEST_P()
231 coeff_ptr[rnd(count)] = rnd.Rand16()&mask_; in TEST_P()
[all …]
Ddct32x32_test.cc106 mask_ = (1 << bit_depth_) - 1; in SetUp()
114 int mask_; member in __anonc78ae8640111::Trans32x32Test
142 src16[j] = rnd.Rand16() & mask_; in TEST_P()
143 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
195 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in TEST_P()
224 input_extreme_block[j] = rnd.Rand8() & 1 ? mask_ : -mask_; in TEST_P()
228 input_extreme_block[j] = mask_; in TEST_P()
231 input_extreme_block[j] = -mask_; in TEST_P()
280 src16[j] = rnd.Rand16() & mask_; in TEST_P()
281 dst16[j] = rnd.Rand16() & mask_; in TEST_P()
Dfdct4x4_test.cc124 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
125 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
176 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck()
197 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
201 input_extreme_block[j] = mask_; in RunMemCheck()
204 input_extreme_block[j] = -mask_; in RunMemCheck()
241 src16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
242 dst16[j] = rnd.Rand16() & mask_; in RunInvAccuracyCheck()
278 int mask_; member in __anon2b7637080111::Trans4x4TestBase
294 mask_ = (1 << bit_depth_) - 1; in SetUp()
[all …]
Dfdct8x8_test.cc157 test_input_block[j] = ((rnd.Rand16() >> (16 - bit_depth_)) & mask_) - in RunSignBiasCheck()
158 ((rnd.Rand16() >> (16 - bit_depth_)) & mask_); in RunSignBiasCheck()
187 test_input_block[j] = ((rnd.Rand16() & mask_) >> 4) - in RunSignBiasCheck()
188 ((rnd.Rand16() & mask_) >> 4); in RunSignBiasCheck()
236 src16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
237 dst16[j] = rnd.Rand16() & mask_; in RunRoundTripErrorCheck()
323 src16[j] = mask_; in RunExtremalCheck()
327 dst16[j] = mask_; in RunExtremalCheck()
329 src16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
330 dst16[j] = rnd.Rand8() % 2 ? mask_ : 0; in RunExtremalCheck()
[all …]
Ddct16x16_test.cc355 src16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
356 dst16[j] = rnd.Rand16() & mask_; in RunAccuracyCheck()
405 input_block[j] = (rnd.Rand16() & mask_) - (rnd.Rand16() & mask_); in RunCoeffCheck()
426 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunMemCheck()
430 input_extreme_block[j] = mask_; in RunMemCheck()
433 input_extreme_block[j] = -mask_; in RunMemCheck()
465 input_extreme_block[j] = rnd.Rand8() % 2 ? mask_ : -mask_; in RunQuantCheck()
469 input_extreme_block[j] = mask_; in RunQuantCheck()
472 input_extreme_block[j] = -mask_; in RunQuantCheck()
534 src16[j] = rnd.Rand16() & 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 __anon38babf0e0111::VP9IntraPredBase
106 mask_ = (1 << bit_depth_) - 1; in SetUp()
Dlpf_8_test.cc162 mask_ = (1 << bit_depth_) - 1; in SetUp()
170 int mask_; member in __anonf1a032c00111::Loop8Test6Param
182 mask_ = (1 << bit_depth_) - 1; in SetUp()
189 int mask_; member in __anonf1a032c00111::Loop8Test9Param
249 s[j] = tmp_s[j] & mask_; in TEST_P()
251 s[j] = tmp_s[p * (j % p) + j / p] & mask_; in TEST_P()
324 s[j] = rnd.Rand16() & mask_; in TEST_P()
420 s[j] = tmp_s[j] & mask_; in TEST_P()
422 s[j] = tmp_s[p * (j % p) + j / p] & mask_; in TEST_P()
499 s[j] = rnd.Rand16() & mask_; in TEST_P()
Dsad_test.cc112 mask_ = (1 << bit_depth_) - 1; in SetUp()
217 data16[h * stride + w] = rnd_.Rand16() & mask_; in FillRandom()
224 int width_, height_, mask_, bd_; member in __anon60d1b39f0111::SADTestBase
331 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P()
336 FillConstant(source_data_, source_stride_, mask_); in TEST_P()
372 FillConstant(reference_data_, reference_stride_, mask_); in TEST_P()
377 FillConstant(source_data_, source_stride_, mask_); in TEST_P()
417 FillConstant(GetReference(0), reference_stride_, mask_); in TEST_P()
418 FillConstant(GetReference(1), reference_stride_, mask_); in TEST_P()
419 FillConstant(GetReference(2), reference_stride_, mask_); in TEST_P()
[all …]
Dvariance_test.cc230 mask_ = (1 << bit_depth_) - 1; in SetUp()
273 int mask_; member in __anon62190e500111::VarianceTest
317 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() && mask_; in RefTest()
318 CONVERT_TO_SHORTPTR(ref_)[j] = rnd_.Rand16() && mask_; in RefTest()
349 CONVERT_TO_SHORTPTR(src_)[src_ind] = rnd_.Rand16() && mask_; in RefStrideTest()
350 CONVERT_TO_SHORTPTR(ref_)[ref_ind] = rnd_.Rand16() && mask_; in RefStrideTest()
561 mask_ = (1 << bit_depth_)-1; in SetUp()
613 int block_size_, mask_; member in __anon62190e500111::SubpelVarianceTest
631 CONVERT_TO_SHORTPTR(src_)[j] = rnd_.Rand16() & mask_; in RefTest()
634 CONVERT_TO_SHORTPTR(ref_)[j] = rnd_.Rand16() & mask_; in RefTest()
[all …]
Dconvolve_test.cc380 mask_ = (1 << UUT_->use_highbd_) - 1; in SetUp()
382 mask_ = 255; in SetUp()
397 input16_[i] = mask_; in SetUp()
402 input16_[i] = prng.Rand16() & mask_; in SetUp()
551 int mask_; member in __anon72404a730111::ConvolveTest
772 r = prng.Rand16() & mask_; in TEST_P()
854 r = prng.Rand16() & mask_; in TEST_P()
871 ((seed_val >> (axis ? y : x)) & 1) * mask_); in TEST_P()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl.h147 Arg(const Arg& arg) : num_(arg.num_), mask_(arg.mask_) {} in Arg()
152 return Arg(lhs.num_, lhs.mask_ & rhs);
164 Arg(int num, uint64_t mask) : num_(num), mask_(mask) {} in Arg()
169 uint64_t mask_; variable
277 : num_(num), mask_(internal::DefaultMask(sizeof(T))) { in Arg()
291 return internal::ArgEq(num_, sizeof(T), mask_, static_cast<uint32_t>(val)); in EqualTo()
293 return internal::ArgEq(num_, sizeof(T), mask_, static_cast<uint64_t>(val)); in EqualTo()
Dbpf_dsl.cc128 : argno_(argno), width_(width), mask_(mask), value_(value) {} in MaskedEqualBoolExprImpl()
133 return pc->MaskedEqual(argno_, width_, mask_, value_, then_node, else_node); in Compile()
141 uint64_t mask_; member in sandbox::bpf_dsl::__anon5f4929950111::MaskedEqualBoolExprImpl
/external/v8/src/
Didentity-map.cc44 int start = Hash(address) & mask_; in LookupIndex()
61 int start = Hash(address) & mask_; in InsertIndex()
64 for (int index = start; --limit > 0; index = (index + 1) & mask_) { in InsertIndex()
87 mask_ = kInitialIdentityMapSize - 1; in GetEntry()
140 int pos = Hash(keys_[i]) & mask_; in Rehash()
167 mask_ = size_ - 1; in Resize()
Didentity-map.h32 mask_(0), in IdentityMapBase()
54 int mask_; variable
/external/opencv3/modules/videostab/src/
Doutlier_rejection.cpp59 Mat mask_ = mask.getMat(); in process() local
60 mask_.setTo(1); in process()
82 uchar* mask_ = mask.getMat().ptr<uchar>(); in process() local
187 mask_[cell[i]] = 1; in process()
191 mask_[cell[i]] = 0; in process()
/external/opencv3/modules/flann/include/opencv2/flann/
Dlsh_table.h337 std::vector<size_t> mask_; variable
348mask_ = std::vector<size_t>((size_t)ceil((float)(feature_size * sizeof(char)) / (float)sizeof(size… in LshTable()
362 mask_[idx] |= size_t(1) << (index % divisor); //use modulo to find the bit offset in LshTable()
369 BOOST_FOREACH(size_t mask_block, mask_){ in LshTable()
375 out << "mask size : " << mask_.size() << std::endl; in LshTable()
397 …for (std::vector<size_t>::const_iterator pmask_block = mask_.begin(); pmask_block != mask_.end(); … in getKey()
/external/v8/src/heap/
Dmark-compact.h187 mask_(0), in MarkingDeque()
194 inline bool IsFull() { return ((top_ + 1) & mask_) == bottom_; } in IsFull()
215 top_ = ((top_ + 1) & mask_); in INLINE()
222 top_ = ((top_ - 1) & mask_); in INLINE()
236 bottom_ = ((bottom_ - 1) & mask_); in INLINE()
245 int mask() { return mask_; } in mask()
255 int mask_; variable
/external/opencv3/modules/stitching/src/
Dmatchers.cpp533 Mat_<uchar> mask_(mask.getMat(ACCESS_READ)); in operator ()() local
534 if (mask_.empty()) in operator ()()
535 mask_ = Mat::ones(num_images, num_images, CV_8U); in operator ()()
540 if (features[i].keypoints.size() > 0 && features[j].keypoints.size() > 0 && mask_(i, j)) in operator ()()
673 Mat_<uchar> mask_(mask.getMat(ACCESS_READ)); in operator ()() local
674 if (mask_.empty()) in operator ()()
675 mask_ = Mat::ones(num_images, num_images, CV_8U); in operator ()()
680 if (features[i].keypoints.size() > 0 && features[j].keypoints.size() > 0 && mask_(i, j)) in operator ()()
/external/libcxx/src/
Dregex.cpp210 regex_traits<char>::char_class_type mask_; member
265 r = i->mask_; in __get_classname()
/external/libchrome/sandbox/win/src/sidestep/
Dmini_disassembler.cpp124 current_byte = current_byte & table.mask_; // Mask out the bits we will use in ProcessOpcode()
176 if (table.mask_ != 0xff) { in ProcessOpcode()
/external/opencv3/modules/imgproc/src/
Dhistogram.cpp220 : mask_(_ptrs[dims]), in calcHist1D_Invoker()
237 uchar* mask = mask_ + range.begin()*mstep_; in operator ()()
241 if( !mask_ ) in operator ()()
274 uchar* mask_; member in cv::calcHist1D_Invoker
294 : mask_(_ptrs[dims]), in calcHist2D_Invoker()
313 uchar* mask = mask_ + range.begin()*mstep_; in operator ()()
317 if( !mask_ ) in operator ()()
348 uchar* mask_; member in cv::calcHist2D_Invoker
370 : mask_(_ptrs[_dims]), in calcHist3D_Invoker()
389 uchar* mask = mask_ + range.begin()*mstep_; in operator ()()
[all …]

12