/external/skia/src/core/ |
D | SkMathPriv.h | 60 unsigned prod = a*b + 1; in SkMulDiv255Trunc() local 61 return (prod + (prod >> 8)) >> 8; in SkMulDiv255Trunc() 70 unsigned prod = a*b + 255; in SkMulDiv255Ceiling() local 71 return (prod + (prod >> 8)) >> 8; in SkMulDiv255Ceiling() 76 static inline unsigned SkDiv255Round(unsigned prod) { in SkDiv255Round() argument 77 prod += 128; in SkDiv255Round() 78 return (prod + (prod >> 8)) >> 8; in SkDiv255Round()
|
/external/skia/src/opts/ |
D | SkColor_opts_SSE2.h | 37 __m128i prod = _mm_mullo_epi16(a, b); in SkAlphaMulAlpha_SSE2() local 38 prod = _mm_add_epi32(prod, _mm_set1_epi32(128)); in SkAlphaMulAlpha_SSE2() 39 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8)); in SkAlphaMulAlpha_SSE2() 40 prod = _mm_srli_epi32(prod, 8); in SkAlphaMulAlpha_SSE2() 42 return prod; in SkAlphaMulAlpha_SSE2() 109 __m128i prod = _mm_mullo_epi16(a, b); in SkMul16ShiftRound_SSE2() local 110 prod = _mm_add_epi16(prod, _mm_set1_epi16(1 << (shift - 1))); in SkMul16ShiftRound_SSE2() 111 prod = _mm_add_epi16(prod, _mm_srli_epi16(prod, shift)); in SkMul16ShiftRound_SSE2() 112 prod = _mm_srli_epi16(prod, shift); in SkMul16ShiftRound_SSE2() 114 return prod; in SkMul16ShiftRound_SSE2()
|
/external/llvm/test/CodeGen/ARM/ |
D | neon-v8.1a.ll | 23 %prod = call <4 x i16> @llvm.arm.neon.vqrdmulh.v4i16(<4 x i16> %mhs, <4 x i16> %rhs) 24 %retval = call <4 x i16> @llvm.arm.neon.vqadds.v4i16(<4 x i16> %acc, <4 x i16> %prod) 31 %prod = call <8 x i16> @llvm.arm.neon.vqrdmulh.v8i16(<8 x i16> %mhs, <8 x i16> %rhs) 32 %retval = call <8 x i16> @llvm.arm.neon.vqadds.v8i16(<8 x i16> %acc, <8 x i16> %prod) 39 %prod = call <2 x i32> @llvm.arm.neon.vqrdmulh.v2i32(<2 x i32> %mhs, <2 x i32> %rhs) 40 %retval = call <2 x i32> @llvm.arm.neon.vqadds.v2i32(<2 x i32> %acc, <2 x i32> %prod) 47 %prod = call <4 x i32> @llvm.arm.neon.vqrdmulh.v4i32(<4 x i32> %mhs, <4 x i32> %rhs) 48 %retval = call <4 x i32> @llvm.arm.neon.vqadds.v4i32(<4 x i32> %acc, <4 x i32> %prod) 55 %prod = call <4 x i16> @llvm.arm.neon.vqrdmulh.v4i16(<4 x i16> %mhs, <4 x i16> %rhs) 56 %retval = call <4 x i16> @llvm.arm.neon.vqsubs.v4i16(<4 x i16> %acc, <4 x i16> %prod) [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | filters_neon.c | 26 int64_t prod = 0; in WebRtcIsacfix_AutocorrNeon() local 48 prod = vaddvq_s64(tmpb_v); in WebRtcIsacfix_AutocorrNeon() 50 prod = vget_lane_s64(vadd_s64(vget_low_s64(tmpb_v), vget_high_s64(tmpb_v)), in WebRtcIsacfix_AutocorrNeon() 54 temp = (uint32_t)(prod >> 31); in WebRtcIsacfix_AutocorrNeon() 57 r[0] = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrNeon() 94 prod = vaddvq_s64(tmpb_v); in WebRtcIsacfix_AutocorrNeon() 96 prod = vget_lane_s64(vadd_s64(vget_low_s64(tmpb_v), vget_high_s64(tmpb_v)), in WebRtcIsacfix_AutocorrNeon() 107 r[i] = (int32_t)((prod + prod_tail) >> scaling); in WebRtcIsacfix_AutocorrNeon()
|
D | filters.c | 27 int64_t prod = 0; in WebRtcIsacfix_AutocorrC() local 35 prod += x[i] * x[i]; in WebRtcIsacfix_AutocorrC() 39 temp = (uint32_t)(prod >> 31); in WebRtcIsacfix_AutocorrC() 45 r[0] = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC() 49 prod = 0; in WebRtcIsacfix_AutocorrC() 51 prod += x[j] * x[i + j]; in WebRtcIsacfix_AutocorrC() 53 sum = (int32_t)(prod >> scaling); in WebRtcIsacfix_AutocorrC()
|
/external/v8/test/mjsunit/ |
D | array-reduce.js | 101 function prod(a, b) { return a * b; } function 119 simpleArray, prod, 1); 135 testReduce("reduce", "EmptyReduceProd", 1, [], [], prod, 1); 140 testReduce("reduce", "EmptyReduceProdNoInit", 1, [], [1], prod); 156 simpleSparseArray, prod, 1); 172 testReduce("reduce", "EmptySparseReduceProdNoInit", 1, [], [,,1,,], prod); 197 verySparseArray, prod, 1); 221 verySparseArray, prod); 247 simpleArray, prod, 1); 263 testReduce("reduceRight", "EmptyReduceRightProd", 1, [], [], prod, 1); [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-neon-v8.1a.ll | 32 %prod = call <4 x i16> @llvm.aarch64.neon.sqrdmulh.v4i16(<4 x i16> %mhs, <4 x i16> %rhs) 33 %retval = call <4 x i16> @llvm.aarch64.neon.sqadd.v4i16(<4 x i16> %acc, <4 x i16> %prod) 42 %prod = call <8 x i16> @llvm.aarch64.neon.sqrdmulh.v8i16(<8 x i16> %mhs, <8 x i16> %rhs) 43 %retval = call <8 x i16> @llvm.aarch64.neon.sqadd.v8i16(<8 x i16> %acc, <8 x i16> %prod) 52 %prod = call <2 x i32> @llvm.aarch64.neon.sqrdmulh.v2i32(<2 x i32> %mhs, <2 x i32> %rhs) 53 %retval = call <2 x i32> @llvm.aarch64.neon.sqadd.v2i32(<2 x i32> %acc, <2 x i32> %prod) 62 %prod = call <4 x i32> @llvm.aarch64.neon.sqrdmulh.v4i32(<4 x i32> %mhs, <4 x i32> %rhs) 63 %retval = call <4 x i32> @llvm.aarch64.neon.sqadd.v4i32(<4 x i32> %acc, <4 x i32> %prod) 72 %prod = call <4 x i16> @llvm.aarch64.neon.sqrdmulh.v4i16(<4 x i16> %mhs, <4 x i16> %rhs) 73 %retval = call <4 x i16> @llvm.aarch64.neon.sqsub.v4i16(<4 x i16> %acc, <4 x i16> %prod) [all …]
|
D | dp-3source.ll | 39 %prod = mul i64 %ext1, %ext2 40 %res = add i64 %acc, %prod 49 %prod = mul i64 %ext1, %ext2 50 %res = sub i64 %acc, %prod 59 %prod = mul i64 %ext1, %ext2 60 %res = add i64 %acc, %prod 69 %prod = mul i64 %ext1, %ext2 70 %res = sub i64 %acc, %prod 113 %prod = mul i32 %lhs, %rhs 114 %res = sub i32 0, %prod [all …]
|
D | fp-dp3.ll | 90 %prod = fmul float %b, %c 91 %sum = fadd float %a, %prod 102 %prod = fmul float %b, %c 103 %diff = fsub float %a, %prod 115 %prod = fmul float %b, %c 116 %diff = fsub float %nega, %prod 129 %prod = fmul float %b, %c 130 %sum = fadd float %nega, %prod 142 %prod = fmul float %b, %c 143 %sum = fadd float %a, %prod [all …]
|
D | mul-lohi.ll | 17 %prod = mul i128 %lhs, %rhs 18 ret i128 %prod 32 %prod = mul i128 %lhs, %rhs 33 ret i128 %prod 44 %prod = mul i128 %lhs, %rhs 45 ret i128 %prod
|
/external/eigen/Eigen/src/Core/ |
D | GeneralProduct.h | 228 EIGEN_DONT_INLINE void outer_product_selector_run(const ProductType& prod, Dest& dest, const Func& … 235 func(dest.col(j), prod.rhs().coeff(0,j) * prod.lhs()); 240 EIGEN_DONT_INLINE void outer_product_selector_run(const ProductType& prod, Dest& dest, const Func& … 246 func(dest.row(i), prod.lhs().coeff(i,0) * prod.rhs()); 360 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) 366 (prod.rhs().transpose(), prod.lhs().transpose()), destT, alpha); 409 …static inline void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& al… 422 ActualLhsType actualLhs = LhsBlasTraits::extract(prod.lhs()); 423 ActualRhsType actualRhs = RhsBlasTraits::extract(prod.rhs()); 425 ResScalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs()) [all …]
|
D | ProductBase.h | 210 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::Scalar& x) 211 { return ScaledProduct<Derived>(prod.derived(), x); } 216 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::RealScalar& x) 217 { return ScaledProduct<Derived>(prod.derived(), x); } 222 operator*(const typename Derived::Scalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) 223 { return ScaledProduct<Derived>(prod.derived(), x); } 228 operator*(const typename Derived::RealScalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) 229 { return ScaledProduct<Derived>(prod.derived(), x); } 256 ScaledProduct(const NestedProduct& prod, const Scalar& x) 257 : Base(prod.lhs(),prod.rhs()), m_prod(prod), m_alpha(x) {}
|
/external/v8/test/mjsunit/regress/ |
D | regress-351624.js | 11 var prod = val * big; 12 backup[0] = prod; 13 var rounded = Math.round(prod); 14 assertEquals(prod, backup[0]);
|
/external/skia/include/core/ |
D | SkMath.h | 167 unsigned prod = a*b + (1 << (shift - 1)); in SkMul16ShiftRound() local 168 return (prod + (prod >> shift)) >> shift; in SkMul16ShiftRound() 178 unsigned prod = a*b + 128; in SkMulDiv255Round() local 179 return (prod + (prod >> 8)) >> 8; in SkMulDiv255Round()
|
D | SkScalar.h | 129 SkScalar prod = x * 0; in SkScalarIsFinite() local 131 return !SkScalarIsNaN(prod); in SkScalarIsFinite() 135 SkScalar prod = 0; in SkScalarsAreFinite() local 136 prod *= a; in SkScalarsAreFinite() 137 prod *= b; in SkScalarsAreFinite() 139 return !SkScalarIsNaN(prod); in SkScalarsAreFinite() 143 SkScalar prod = 0; in SkScalarsAreFinite() local 145 prod *= array[i]; in SkScalarsAreFinite() 148 return !SkScalarIsNaN(prod); in SkScalarsAreFinite()
|
/external/eigen/bench/btl/libs/ublas/ |
D | ublas_interface.hh | 92 X = prod(A,B); in matrix_vector_product_slow() 96 X = prod(A,B); in matrix_matrix_product_slow() 106 X.assign(prod(A,B)); in matrix_vector_product() 110 X.assign(prod(trans(A),B)); in atv_product() 114 X.assign(prod(A,B)); in matrix_matrix_product() 127 X.assign(prod(trans(A),A)); in ata_product() 132 X.assign(prod(A,trans(A))); in aat_product()
|
/external/selinux/sepolgen/src/sepolgen/ |
D | yacc.py | 192 prod = self.productions # Local reference to production list 270 p = prod[-t] 563 if self.prod: 564 s = "%s -> %s" % (self.name," ".join(self.prod)) 574 if n > len(self.prod): return None 577 p.prod = list(self.prod) 582 p.prod.insert(n,".") 583 p.prod = tuple(p.prod) 584 p.len = len(p.prod) 589 p.lrafter = Prodnames[p.prod[n+1]] [all …]
|
/external/valgrind/drd/tests/ |
D | omp_matinv.c | 131 elem_t* prod; in multiply_matrices() local 135 prod = new_matrix(rows1, cols2); in multiply_matrices() 140 prod[i * cols2 + j] = 0; in multiply_matrices() 143 prod[i * cols2 + j] += a1[i * cols1 + k] * a2[k * cols2 + j]; in multiply_matrices() 147 return prod; in multiply_matrices() 292 elem_t *a, *inv, *prod; in main() local 328 prod = multiply_matrices(a, matrix_size, matrix_size, in main() 330 error = identity_error(prod, matrix_size); in main() 341 delete_matrix(prod); in main()
|
D | matinv.c | 143 elem_t* prod; in multiply_matrices() local 147 prod = new_matrix(rows1, cols2); in multiply_matrices() 152 prod[i * cols2 + j] = 0; in multiply_matrices() 155 prod[i * cols2 + j] += a1[i * cols1 + k] * a2[k * cols2 + j]; in multiply_matrices() 159 return prod; in multiply_matrices() 316 elem_t *a, *inv, *prod; in main() local 348 prod = multiply_matrices(a, matrix_size, matrix_size, in main() 350 error = identity_error(prod, matrix_size); in main() 361 delete_matrix(prod); in main()
|
/external/v8/test/mjsunit/es6/ |
D | typedarray-reduce.js | 86 function prod(a, b) { return a * b; } function 105 simpleArray, prod, 1); 121 testReduce("reduce", "EmptyReduceProd", 1, [], new constructor([]), prod, 1); 126 testReduce("reduce", "EmptyReduceProdNoInit", 1, [], new constructor([1]), prod); 141 simpleArray, prod, 1); 151 testReduce("reduceRight", "EmptyReduceRightProd", 1, [], new constructor([]), prod, 1); 157 testReduce("reduceRight", "EmptyReduceRightProdNoInit", 1, [], new constructor([1]), prod);
|
D | math-log1p.js | 26 var prod = x; 28 terms.push(prod / i); 29 prod *= -x;
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/ |
D | entities02.dat | 162 <div bar="ZZ∏_id=23"></div> 182 <div bar="ZZ&prod=23"></div> 189 | bar="ZZ&prod=23" 222 <div>ZZ∏_id=23</div> 242 <div>ZZ&prod=23</div> 249 | "ZZ&prod=23"
|
/external/eigen/Eigen/src/Core/products/ |
D | GeneralMatrixMatrixTriangular.h | 193 …static void run(MatrixType& mat, const ProductType& prod, const typename MatrixType::Scalar& alpha) 202 … internal::add_const_on_value_type<ActualLhs>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 208 … internal::add_const_on_value_type<ActualRhs>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 210 …= alpha * LhsBlasTraits::extractScalarFactor(prod.lhs().derived()) * RhsBlasTraits::extractScalarF… 239 …static void run(MatrixType& mat, const ProductType& prod, const typename MatrixType::Scalar& alpha) 247 … internal::add_const_on_value_type<ActualLhs>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 253 … internal::add_const_on_value_type<ActualRhs>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 255 …= alpha * LhsBlasTraits::extractScalarFactor(prod.lhs().derived()) * RhsBlasTraits::extractScalarF… 269 …ixType,UpLo>::assignProduct(const ProductBase<ProductDerived, _Lhs,_Rhs>& prod, const Scalar& alph… 271 …me==1) || (_Rhs::RowsAtCompileTime==1)>::run(m_matrix.const_cast_derived(), prod.derived(), alpha);
|
/external/eigen/Eigen/src/Core/arch/NEON/ |
D | PacketMath.h | 315 float32x2_t a_lo, a_hi, prod; 321 prod = vmul_f32(a_lo, a_hi); 323 prod = vmul_f32(prod, vrev64_f32(prod)); 325 return vget_lane_f32(prod, 0); 329 int32x2_t a_lo, a_hi, prod; 335 prod = vmul_s32(a_lo, a_hi); 337 prod = vmul_s32(prod, vrev64_s32(prod)); 339 return vget_lane_s32(prod, 0);
|
/external/libopus/celt/tests/ |
D | test_unit_mathops.c | 64 double prod; in testdiv() local 68 prod = (1./32768./65526.)*val*i; in testdiv() 70 prod = val*i; in testdiv() 72 if (fabs(prod-1) > .00025) in testdiv() 74 fprintf (stderr, "div failed: 1/%d="WORD" (product = %f)\n", i, val, prod); in testdiv()
|