/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | bitset_utils_unittest.cpp | 91 constexpr uint32_t kMask = (1 << 12) - 1; in TEST_F() local 93 EXPECT_EQ(mBits.set(12).bits() & ~kMask, 0u); in TEST_F() 94 EXPECT_EQ(mBits.set(13).bits() & ~kMask, 0u); in TEST_F() 95 EXPECT_EQ(mBits.flip(12).bits() & ~kMask, 0u); in TEST_F() 96 EXPECT_EQ(mBits.flip(13).bits() & ~kMask, 0u); in TEST_F() 106 constexpr uint32_t kMask = (1 << 12) - 1; in TEST_F() local 107 constexpr uint32_t kSelfMaskedValue = kSelfValue & kMask; in TEST_F() 108 constexpr uint32_t kOtherMaskedValue = kOtherValue & kMask; in TEST_F() 111 constexpr uint32_t kSelfShiftedLeft = kSelfMaskedValue << kShift & kMask; in TEST_F() 112 constexpr uint32_t kSelfShiftedRight = kSelfMaskedValue >> kShift & kMask; in TEST_F() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/gpu_info_util/ |
D | SystemInfo_win.cpp | 56 const uint64_t kMask = 0xFF; in GetDevicesFromDXGI() local 57 o << ((intVersion >> 48) & kMask) << "."; in GetDevicesFromDXGI() 58 o << ((intVersion >> 32) & kMask) << "."; in GetDevicesFromDXGI() 59 o << ((intVersion >> 16) & kMask) << "."; in GetDevicesFromDXGI() 60 o << (intVersion & kMask); in GetDevicesFromDXGI()
|
/third_party/node/lib/internal/ |
D | fixed_queue.js | 9 const kMask = kSize - 1; constant 72 return ((this.top + 1) & kMask) === this.bottom; 77 this.top = (this.top + 1) & kMask; 85 this.bottom = (this.bottom + 1) & kMask;
|
/third_party/skia/bench/ |
D | ClipStrategyBench.cpp | 17 kMask, enumerator 88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );) 89 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 5 );) 90 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 10 );) 91 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 100);)
|
/third_party/flutter/skia/bench/ |
D | ClipStrategyBench.cpp | 17 kMask, enumerator 88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );) 89 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 5 );) 90 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 10 );) 91 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 100);)
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | bitset_utils_unittest.cpp | 103 constexpr uint32_t kMask = (1 << 12) - 1; in TYPED_TEST() local 105 EXPECT_EQ(mBits.set(12).bits() & ~kMask, 0u); in TYPED_TEST() 106 EXPECT_EQ(mBits.set(13).bits() & ~kMask, 0u); in TYPED_TEST() 107 EXPECT_EQ(mBits.flip(12).bits() & ~kMask, 0u); in TYPED_TEST() 108 EXPECT_EQ(mBits.flip(13).bits() & ~kMask, 0u); in TYPED_TEST() 119 constexpr uint32_t kMask = (1 << 12) - 1; in TYPED_TEST() local 120 constexpr uint32_t kSelfMaskedValue = kSelfValue & kMask; in TYPED_TEST() 121 constexpr uint32_t kOtherMaskedValue = kOtherValue & kMask; in TYPED_TEST() 124 constexpr uint32_t kSelfShiftedLeft = kSelfMaskedValue << kShift & kMask; in TYPED_TEST() 125 constexpr uint32_t kSelfShiftedRight = kSelfMaskedValue >> kShift & kMask; in TYPED_TEST() [all …]
|
/third_party/abseil-cpp/absl/random/ |
D | gaussian_distribution.h | 63 static constexpr uint64_t kMask = 0x07f; variable 75 double x[kMask + 2]; 76 double f[kMask + 2]; 241 int i = static_cast<int>(bits & kMask); // pick a random strip in zignor()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | gaussian_distribution.h | 63 static constexpr uint64_t kMask = 0x07f; variable 75 double x[kMask + 2]; 76 double f[kMask + 2]; 241 int i = static_cast<int>(bits & kMask); // pick a random strip in zignor()
|
/third_party/abseil-cpp/absl/random/internal/ |
D | gaussian_distribution_gentables.cc | 64 using gaussian_distribution_base::kMask; 81 static constexpr int kC = kMask + 1; in TableGenerator()
|
D | generate_real.h | 93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u; variable 133 (static_cast<uint_type>(bits) & kMask);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | gaussian_distribution_gentables.cc | 64 using gaussian_distribution_base::kMask; 81 static constexpr int kC = kMask + 1; in TableGenerator()
|
D | generate_real.h | 93 static constexpr uint_type kMask = (static_cast<uint_type>(1) << kExp) - 1u; variable 131 (static_cast<uint_type>(bits) & kMask);
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | alpha_processing_sse2.c | 160 const __m128i alpha0_lo = _mm_or_si128(argb1_lo, kMask); \ 161 const __m128i alpha0_hi = _mm_or_si128(argb1_hi, kMask); \ 181 const __m128i kMask = _mm_set_epi16(0, 0xff, 0xff, 0, 0, 0xff, 0xff, 0); in ApplyAlphaMultiply_SSE2() local 278 const __m128i kMask = _mm_set_epi16(0, 0xff, 0, 0, 0, 0xff, 0, 0); in MultARGBRow_SSE2() local 284 const __m128i A2 = _mm_or_si128(A1, kMask); in MultARGBRow_SSE2()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | alpha_processing_sse2.c | 161 const __m128i alpha0_lo = _mm_or_si128(argb1_lo, kMask); \ 162 const __m128i alpha0_hi = _mm_or_si128(argb1_hi, kMask); \ 182 const __m128i kMask = _mm_set_epi16(0, 0xff, 0xff, 0, 0, 0xff, 0xff, 0); in ApplyAlphaMultiply_SSE2() local 300 const __m128i kMask = _mm_set_epi16(0, 0xff, 0, 0, 0, 0xff, 0, 0); in MultARGBRow_SSE2() local 306 const __m128i A2 = _mm_or_si128(A1, kMask); in MultARGBRow_SSE2()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/ |
D | BootAnimationTest.cpp | 82 constexpr GLubyte kMask[] = { in testSetUp() local 107 initTextureWithData(&mTextureNames[0], kMask, kMaskWidth, kMaskHeight, kMaskColorChannels); in testSetUp()
|
/third_party/skia/modules/svg/include/ |
D | SkSVGMask.h | 33 SkSVGMask() : INHERITED(SkSVGTag::kMask) {} in SkSVGMask()
|
D | SkSVGNode.h | 48 kMask, enumerator
|
/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerTracePC.cpp | 65 const uintptr_t kMask = (1 << kBits) - 1; in HandleCallerCallee() local 66 uintptr_t Idx = (Caller & kMask) | ((Callee & kMask) << kBits); in HandleCallerCallee()
|
/third_party/flutter/skia/src/core/ |
D | SkBitmapProcState.cpp | 537 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() local 539 if (1 == fPixmap.width() && 0 == (fInvType & ~kMask)) { in chooseShaderProc32()
|
D | SkPathRef.cpp | 696 static const uint32_t kMask = (static_cast<int64_t>(1) << SkPathPriv::kPathRefGenIDBitCnt) - 1; in genID() local 704 fGenerationID = nextID.fetch_add(1, std::memory_order_relaxed) & kMask; in genID()
|
/third_party/skia/src/core/ |
D | SkPathRef.cpp | 474 static const uint32_t kMask = (static_cast<int64_t>(1) << SkPathPriv::kPathRefGenIDBitCnt) - 1; in genID() local 482 fGenerationID = nextID.fetch_add(1, std::memory_order_relaxed) & kMask; in genID()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGRenderContext.cpp | 355 if (!node || node->tag() != SkSVGTag::kMask) { in applyMask()
|
/third_party/abseil-cpp/absl/hash/ |
D | hash_test.cc | 163 constexpr size_t kMask = (1 << (kLog2NumValues + 7)) - 1; in TEST() local 164 size_t stuck_bits = (~bits_or | bits_and) & kMask; in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
D | hash_test.cc | 163 constexpr size_t kMask = (1 << (kLog2NumValues + 7)) - 1; in TEST() local 164 size_t stuck_bits = (~bits_or | bits_and) & kMask; in TEST()
|