Home
last modified time | relevance | path

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

12

/external/skia/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/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/kernels/
Dreduction_ops_common.h55 Eigen::array<Index, 1> kOne; member
60 kOne[0] = 1; in Constants()
69 const Eigen::IndexList<Eigen::type2index<1>> kOne; member
206 constants.kOne, reducer);
215 constants.kOne, reducer);
232 constants.kOne, reducer);
Dsparse_xent_op_gpu.cu.cc53 ctx, maximum.data(), logits.data(), 2, rows, cols, 1, 1, constants.kOne, in Compute()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_enhancer.cc282 static const size_t kOne = 1; // Avoids repeated static_cast<>s below. in CreateErbBank() local
284 center_freqs_[max(kOne, i - lf) - 1] * freqs_ / in CreateErbBank()
287 center_freqs_[max(kOne, i) - 1] * freqs_ / (0.5f * sample_rate_hz_))); in CreateErbBank()
288 lll = min(freqs_, max(lll, kOne)) - 1; in CreateErbBank()
289 ll = min(freqs_, max(ll, kOne)) - 1; in CreateErbBank()
297 rrr = min(freqs_, max(rrr, kOne)) - 1; in CreateErbBank()
298 rr = min(freqs_, max(rr, kOne)) - 1; in CreateErbBank()
/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_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 …]
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 …]
/external/epid-sdk/epid/member/src/
Dpresig.c132 const BigNumStr kOne = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in MemberComputePreSig() local
193 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, a); in MemberComputePreSig()
209 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rx); in MemberComputePreSig()
211 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rb); in MemberComputePreSig()
238 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, rb); in MemberComputePreSig()
261 exponents[1] = &kOne; in MemberComputePreSig()
Dnrprove.c103 const BigNumStr kOne = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in EpidNrProve() local
153 sts = FfGetRandom(Fp, &kOne, rnd_func, rnd_param, mu); in EpidNrProve()
180 sts = FfGetRandom(Fp, &kOne, rnd_func, rnd_param, rmu); in EpidNrProve()
/external/v8/src/
Dbit-vector.h71 static const uintptr_t kOne = 1; // This saves some static_casts. variable
131 return (block & (kOne << (i % kDataBits))) != 0; in Contains()
137 data_.inline_ |= (kOne << i); in Add()
139 data_.ptr_[i / kDataBits] |= (kOne << (i % kDataBits)); in Add()
157 data_.inline_ &= ~(kOne << i); in Remove()
159 data_.ptr_[i / kDataBits] &= ~(kOne << (i % kDataBits)); in Remove()
/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/epid-sdk/epid/member/tpm2/src/
Dcreateprimary.c43 const BigNumStr kOne = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in Tpm2CreatePrimary() local
48 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, ff_elem); in Tpm2CreatePrimary()
Dcommit.c93 const BigNumStr kOne = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in Tpm2Commit() local
130 sts = FfGetRandom(Fp, &kOne, ctx->rnd_func, ctx->rnd_param, r); in Tpm2Commit()
/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/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/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/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/tensorflow/tensorflow/core/framework/
Dfunction_testlib.cc443 const Tensor kOne = test::AsScalar<int64>(1); in XPlusOneXTimesY() local
454 {{{"one"}, "Const", {}, {{"value", kOne}, {"dtype", DT_INT64}}}, in XPlusOneXTimesY()
/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()
/external/skia/src/gpu/glsl/
DGrGLSLBlend.cpp403 case SkBlendModeCoeff::kOne: in append_porterduff_term()
473 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
481 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
/external/skqp/src/gpu/glsl/
DGrGLSLBlend.cpp403 case SkBlendModeCoeff::kOne: in append_porterduff_term()
473 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()
481 srcCoeff = SkBlendModeCoeff::kOne; in AppendRegionOp()

12