/external/skia/src/gpu/ganesh/effects/ |
D | GrPorterDuffXferProcessor.cpp | 196 (skgpu::BlendCoeff::kZero == dstCoeff || skgpu::BlendCoeff::kOne == dstCoeff)) in MakeCoeffFormula() 251 skgpu::BlendCoeff::kOne); in MakeCoverageSrcCoeffZeroFormula() 278 /* src */ MakeCoeffFormula(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kZero), 279 /* dst */ MakeCoeffFormula(skgpu::BlendCoeff::kZero, skgpu::BlendCoeff::kOne), 280 /* src-over */ MakeCoeffFormula(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kISA), 281 /* dst-over */ MakeCoeffFormula(skgpu::BlendCoeff::kIDA, skgpu::BlendCoeff::kOne), 289 /* plus */ MakeCoeffFormula(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kOne), 291 /* screen */ MakeCoeffFormula(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kISC), 296 /* src */ MakeCoverageDstCoeffZeroFormula(skgpu::BlendCoeff::kOne), 297 /* dst */ MakeCoeffFormula(skgpu::BlendCoeff::kZero, skgpu::BlendCoeff::kOne), [all …]
|
/external/cronet/base/types/ |
D | cxx23_to_underlying_unittest.cc | 12 kOne = 1, in TEST() enumerator 17 kOne = 1, in TEST() enumerator 21 static_assert(std::is_same<decltype(to_underlying(kOne)), int>::value, ""); in TEST() 23 static_assert(to_underlying(kOne) == 1, ""); in TEST() 27 std::is_same<decltype(to_underlying(ScopedEnum::kOne)), char>::value, ""); in TEST() 30 static_assert(to_underlying(ScopedEnum::kOne) == 1, ""); in TEST()
|
D | id_type_unittest.cc | 68 static constexpr auto kOne = TestId::FromUnsafeValue(1); in TEST() local 72 static_assert(kOne.value() == 1, ""); in TEST() 74 static_assert(kOne.GetUnsafeValue() == 1, ""); in TEST() 78 static_assert(!kOne.is_null(), ""); in TEST() 82 static_assert(kOne, ""); in TEST()
|
D | strong_alias_unittest.cc | 341 static constexpr FooAlias kOne(1); in TEST() local 349 static_assert(*kOne == 1, ""); in TEST() 354 static_assert(kOne.value() == 1, ""); in TEST() 358 static_assert(static_cast<int>(kOne) == 1, ""); in TEST() 362 static_assert(kZero != kOne, ""); in TEST() 363 static_assert(kZero < kOne, ""); in TEST() 364 static_assert(kZero <= kOne, ""); in TEST() 365 static_assert(kOne > kZero, ""); in TEST() 366 static_assert(kOne >= kZero, ""); in TEST()
|
/external/skia/tests/ |
D | GrPorterDuffTest.cpp | 163 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 174 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 185 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 196 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 207 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 218 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 229 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 240 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 251 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() 262 TEST_ASSERT(skgpu::BlendCoeff::kOne == xpi.fBlendInfo.fSrcBlend); in test_lcd_coverage() [all …]
|
D | PointTest.cpp | 157 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local 159 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
|
/external/skia/src/core/ |
D | SkBlendMode.cpp | 60 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kZero }, // src in SkBlendMode_AsCoeff() 61 { SkBlendModeCoeff::kZero, SkBlendModeCoeff::kOne }, // dst in SkBlendMode_AsCoeff() 62 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISA }, // src-over in SkBlendMode_AsCoeff() 63 { SkBlendModeCoeff::kIDA, SkBlendModeCoeff::kOne }, // dst-over in SkBlendMode_AsCoeff() 72 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kOne }, // plus in SkBlendMode_AsCoeff() 74 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISC }, // screen in SkBlendMode_AsCoeff()
|
/external/webrtc/rtc_base/ |
D | strong_alias_unittest.cc | 328 static constexpr FooAlias kOne(1); in TEST() local 332 static_assert(*kOne == 1, ""); in TEST() 336 static_assert(kOne.value() == 1, ""); in TEST() 340 static_assert(static_cast<int>(kOne) == 1, ""); in TEST() 344 static_assert(kZero != kOne, ""); in TEST() 345 static_assert(kZero < kOne, ""); in TEST() 346 static_assert(kZero <= kOne, ""); in TEST() 347 static_assert(kOne > kZero, ""); in TEST() 348 static_assert(kOne >= kZero, ""); in TEST()
|
/external/skia/src/gpu/ |
D | Blend.h | 59 kOne, //<! 1 enumerator 92 skgpu::BlendCoeff fSrcBlend = skgpu::BlendCoeff::kOne; 135 BlendCoeff::kZero != srcCoeff || BlendCoeff::kOne != dstCoeff; in BlendModifiesDst() 146 BlendCoeff::kOne == srcCoeff && BlendCoeff::kZero == dstCoeff; in BlendShouldDisable() 183 (BlendCoeff::kOne == dstCoeff || BlendCoeff::kISC == dstCoeff || in BlendAllowsCoverageAsAlpha()
|
/external/tensorflow/tensorflow/core/framework/ |
D | function_testlib.cc | 490 const Tensor kOne = test::AsScalar<int64_t>(1); in XPlusOneXTimesY() local 501 {{{"one"}, "Const", {}, {{"value", kOne}, {"dtype", DT_INT64}}}, in XPlusOneXTimesY() 528 const Tensor kOne = test::AsScalar<int32>(1); in RandomUniformLess() local 565 {{"value", kOne}, {"dtype", DT_INT32}}}, in RandomUniformLess() 570 {{"value", kOne}, {"dtype", DT_INT32}}}, in RandomUniformLess()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | inline_function_utils_test.cc | 58 const Tensor kOne = test::AsScalar<int64_t>(1); in TEST() local 62 NDef("inp1", "Const", {}, {{"dtype", DT_FLOAT}, {"value", kOne}}), in TEST() 90 NDef("inp1", "Const", {}, {{"dtype", DT_FLOAT}, {"value", kOne}}), in TEST()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduction_ops_common.h | 52 Eigen::array<Index, 1> kOne; member 57 kOne[0] = 1; in Constants() 65 const Eigen::IndexList<Eigen::type2index<1>> kOne; member 207 constants.kOne, reducer); 216 constants.kOne, reducer); 234 constants.kOne, reducer);
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_blend_test.cc | 64 ASSERT_EQ(BlendFactor::kOne, in TEST_F() 100 ASSERT_EQ(BlendFactor::kOne, in TEST_F() 107 ASSERT_EQ(BlendFactor::kOne, in TEST_F()
|
/external/libvpx/vpx_dsp/x86/ |
D | fwd_dct32x32_impl_avx2.h | 93 const __m256i kOne = _mm256_set1_epi16(1); in FDCT32x32_2D_AVX2() local 511 step2[0] = _mm256_add_epi16(step2[0], kOne); in FDCT32x32_2D_AVX2() 512 step2[1] = _mm256_add_epi16(step2[1], kOne); in FDCT32x32_2D_AVX2() 513 step2[2] = _mm256_add_epi16(step2[2], kOne); in FDCT32x32_2D_AVX2() 514 step2[3] = _mm256_add_epi16(step2[3], kOne); in FDCT32x32_2D_AVX2() 515 step2[4] = _mm256_add_epi16(step2[4], kOne); in FDCT32x32_2D_AVX2() 516 step2[5] = _mm256_add_epi16(step2[5], kOne); in FDCT32x32_2D_AVX2() 517 step2[6] = _mm256_add_epi16(step2[6], kOne); in FDCT32x32_2D_AVX2() 518 step2[7] = _mm256_add_epi16(step2[7], kOne); in FDCT32x32_2D_AVX2() 519 step2[8] = _mm256_add_epi16(step2[8], kOne); in FDCT32x32_2D_AVX2() [all …]
|
D | fwd_dct32x32_impl_sse2.h | 104 const __m128i kOne = _mm_set1_epi16(1); in FDCT32x32_2D() local 559 step2[0] = _mm_add_epi16(step2[0], kOne); in FDCT32x32_2D() 560 step2[1] = _mm_add_epi16(step2[1], kOne); in FDCT32x32_2D() 561 step2[2] = _mm_add_epi16(step2[2], kOne); in FDCT32x32_2D() 562 step2[3] = _mm_add_epi16(step2[3], kOne); in FDCT32x32_2D() 563 step2[4] = _mm_add_epi16(step2[4], kOne); in FDCT32x32_2D() 564 step2[5] = _mm_add_epi16(step2[5], kOne); in FDCT32x32_2D() 565 step2[6] = _mm_add_epi16(step2[6], kOne); in FDCT32x32_2D() 566 step2[7] = _mm_add_epi16(step2[7], kOne); in FDCT32x32_2D() 567 step2[8] = _mm_add_epi16(step2[8], kOne); in FDCT32x32_2D() [all …]
|
D | fwd_txfm_impl_sse2.h | 603 const __m128i kOne = _mm_set1_epi16(1); in FDCT16x16_2D() local 675 in00 = _mm_add_epi16(in00, kOne); in FDCT16x16_2D() 676 in01 = _mm_add_epi16(in01, kOne); in FDCT16x16_2D() 677 in02 = _mm_add_epi16(in02, kOne); in FDCT16x16_2D() 678 in03 = _mm_add_epi16(in03, kOne); in FDCT16x16_2D() 679 in04 = _mm_add_epi16(in04, kOne); in FDCT16x16_2D() 680 in05 = _mm_add_epi16(in05, kOne); in FDCT16x16_2D() 681 in06 = _mm_add_epi16(in06, kOne); in FDCT16x16_2D() 682 in07 = _mm_add_epi16(in07, kOne); in FDCT16x16_2D() 683 in08 = _mm_add_epi16(in08, kOne); in FDCT16x16_2D() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 151 const BN_ULONG kOne = 1; in BN_rand() local 153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() 164 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 169 rnd->d[words - 1] |= kOne << bit; in BN_rand()
|
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 152 const BN_ULONG kOne = 1; in BN_rand() local 154 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() 168 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 173 rnd->d[words - 1] |= kOne << bit; in BN_rand()
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | random.c | 152 const BN_ULONG kOne = 1; in BN_rand() local 154 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() 168 rnd->d[words - 2] |= kOne << (BN_BITS2 - 1); in BN_rand() 173 rnd->d[words - 1] |= kOne << bit; in BN_rand()
|
/external/webp/src/dsp/ |
D | alpha_processing_neon.c | 34 const uint16x8_t r3 = vaddq_u16(r2, kOne); \ 35 const uint16x8_t g3 = vaddq_u16(g2, kOne); \ 36 const uint16x8_t b3 = vaddq_u16(b2, kOne); \ 44 const uint16x8_t kOne = vdupq_n_u16(1u); in ApplyAlphaMultiply_NEON() local
|
/external/ot-br-posix/src/common/ |
D | task_runner.cpp | 135 const uint8_t kOne = 1; in PushTask() local 149 rval = write(mEventFd[kWrite], &kOne, sizeof(kOne)); in PushTask()
|
/external/clang/test/Sema/ |
D | statements.c | 46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator 48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
|
D | switch.c | 309 kOne = 1, enumerator 315 case kOne: in rdar110822110()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_seekablemultistream_unittest.cpp | 40 static const char kOne[] = "one t"; in TEST() local 44 ByteStringView one_view(kOne); in TEST()
|
/external/skia/src/gpu/graphite/ |
D | KeyHelpers.cpp | 616 /* src */ make_simple_blendInfo(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kZero), 617 /* dst */ make_simple_blendInfo(skgpu::BlendCoeff::kZero, skgpu::BlendCoeff::kOne), 618 /* src-over */ make_simple_blendInfo(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kISA), 619 /* dst-over */ make_simple_blendInfo(skgpu::BlendCoeff::kIDA, skgpu::BlendCoeff::kOne), 627 /* plus */ make_simple_blendInfo(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kOne), 629 /* screen */ make_simple_blendInfo(skgpu::BlendCoeff::kOne, skgpu::BlendCoeff::kISC)
|