Home
last modified time | relevance | path

Searched refs:kOne (Results 1 – 25 of 64) sorted by relevance

123

/external/skia/resources/sksl/shared/
DEnum.sksl4 kOne = 1,
15 if (e == E::kOne) { sk_FragColor = half4(4); }
16 @if (e == E::kOne) { sk_FragColor = half4(5); }
17 @if (e != E::kOne) { sk_FragColor = half4(6); }
21 sk_FragColor = (e == E::kOne) ? half4(9) : half4(-9);
22 sk_FragColor = (e != E::kOne) ? half4(10) : half4(-10);
26 case E::kOne: sk_FragColor = half4(12); break;
30 case E::kOne: sk_FragColor = half4(14); break;
50 E f = E::kOne;
51 if (f == E::kOne) { sk_FragColor = half4(1); }
[all …]
/external/skia/src/core/
DSkBlendMode.cpp57 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kZero }, // src
58 { SkBlendModeCoeff::kZero, SkBlendModeCoeff::kOne }, // dst
59 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISA }, // src-over
60 { SkBlendModeCoeff::kIDA, SkBlendModeCoeff::kOne }, // dst-over
69 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kOne }, // plus
71 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISC }, // screen
/external/skqp/src/core/
DSkBlendMode.cpp55 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kZero },
56 { SkBlendModeCoeff::kZero, SkBlendModeCoeff::kOne },
57 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISA },
58 { SkBlendModeCoeff::kIDA, SkBlendModeCoeff::kOne },
67 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kOne },
69 { SkBlendModeCoeff::kOne, SkBlendModeCoeff::kISC }, // screen
DSkBlendModePriv.h28 kOne, /** 1 */ enumerator
/external/tensorflow/tensorflow/core/framework/
Dfunction_testlib.cc473 const Tensor kOne = test::AsScalar<int64>(1); in XPlusOneXTimesY() local
484 {{{"one"}, "Const", {}, {{"value", kOne}, {"dtype", DT_INT64}}}, in XPlusOneXTimesY()
511 const Tensor kOne = test::AsScalar<int32>(1); in RandomUniformLess() local
548 {{"value", kOne}, {"dtype", DT_INT32}}}, in RandomUniformLess()
553 {{"value", kOne}, {"dtype", DT_INT32}}}, in RandomUniformLess()
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops_common.h52 Eigen::array<Index, 1> kOne; member
57 kOne[0] = 1; in Constants()
66 const Eigen::IndexList<Eigen::type2index<1>> kOne; member
208 constants.kOne, reducer);
217 constants.kOne, reducer);
235 constants.kOne, reducer);
/external/libvpx/libvpx/vpx_dsp/x86/
Dfwd_dct32x32_impl_avx2.h93 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 …]
Dfwd_dct32x32_impl_sse2.h104 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 …]
Dfwd_txfm_impl_sse2.h603 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/boringssl/src/crypto/fipsmodule/bn/
Drandom.c151 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/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Drandom.c151 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/webp/src/dsp/
Dalpha_processing_neon.c34 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/clang/test/Sema/
Dstatements.c46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator
48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
Dswitch.c309 kOne = 1, enumerator
315 case kOne: in rdar110822110()
/external/skia/tests/
DPointTest.cpp149 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
151 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/llvm-project/clang/test/Sema/
Dstatements.c55 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator
57 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
Dswitch.c320 kOne = 1, enumerator
326 case kOne: in rdar110822110()
/external/skqp/tests/
DPointTest.cpp163 const SkPoint kOne = {1.0f, 1.0f}; in DEF_TEST() local
165 SkPoint slow = kOne, fast = kOne; in DEF_TEST()
/external/llvm-project/llvm/test/Transforms/LICM/
Dpr36228.ll10 define void @buggy(i8* %src, i1* %kOne) {
21 %1 = load volatile i1, i1* %kOne, align 4
/external/icing/icing/legacy/index/
Dicing-dynamic-trie_test.cc190 static const uint32_t kOne = 1; in TEST_F() local
192 EXPECT_TRUE(!memcmp(it1.GetValue(), &kOne, sizeof(kOne))); in TEST_F()
607 static const uint32_t kOne = 1; in TEST_F() local
609 trie.Insert("abcd", &kOne, &val_idx, false); in TEST_F()
629 trie.Insert("abcd", &kOne, &val_idx, false); in TEST_F()
661 static const uint32_t kOne = 1; in TEST_F() local
663 trie.Insert("abcd", &kOne, &val_idx[0], false); in TEST_F()
667 trie.Insert("efgh", &kOne, &val_idx[1], false); in TEST_F()
671 trie.Insert("ijkl", &kOne, &val_idx[2], false); in TEST_F()
/external/pigweed/pw_rpc/
Dchannel_test.cc46 kOne = 1, enumerator
51 constexpr rpc::Channel one = Channel::Create<ChannelId::kOne>(nullptr); in TEST()
/external/webrtc/rtc_base/numerics/
Ddivide_round_unittest.cc40 static constexpr int kOne = DivideRoundToNearest(5, 4); in TEST() local
42 static_assert(kOne == 1, ""); in TEST()
/external/skia/include/core/
DSkBlendMode.h84 kOne, /** 1 */ enumerator
/external/deqp-deps/amber/src/
Dpipeline_data.h181 BlendFactor src_color_blend_factor_ = BlendFactor::kOne;
183 BlendFactor src_alpha_blend_factor_ = BlendFactor::kOne;
/external/tensorflow/tensorflow/core/lib/math/
Dmath_util_test.cc147 const IntegralType kOne(1); in CeilOfRatioDenomMinusOne() local
148 return (numerator + denominator - kOne) / denominator; in CeilOfRatioDenomMinusOne()

123