Searched defs:prod (Results 1 - 25 of 59) sorted by relevance

123

/external/stlport/test/unit/
H A Daccum_test.cpp44 int prod = accumulate(v.begin(), v.end(), 1, mult); local
45 CPPUNIT_ASSERT(prod==120);
/external/chromium_org/components/omaha_query_params/
H A Domaha_query_params.cc66 std::string OmahaQueryParams::Get(ProdId prod) { argument
68 "os=%s&arch=%s&nacl_arch=%s&prod=%s%s",
72 GetProdIdString(prod),
77 const char* OmahaQueryParams::GetProdIdString(OmahaQueryParams::ProdId prod) { argument
78 switch (prod) {
/external/chromium_org/third_party/skia/src/core/
H A DSkMathPriv.h56 unsigned prod = SkMulS16(a, b) + 1; local
57 return (prod + (prod >> 8)) >> 8;
66 unsigned prod = SkMulS16(a, b) + 255; local
67 return (prod + (prod >> 8)) >> 8;
72 static inline unsigned SkDiv255Round(unsigned prod) { argument
73 prod += 128;
74 return (prod + (prod >>
[all...]
/external/skia/src/core/
H A DSkMathPriv.h50 unsigned prod = SkMulS16(a, b) + 1; local
51 return (prod + (prod >> 8)) >> 8;
60 unsigned prod = SkMulS16(a, b) + 255; local
61 return (prod + (prod >> 8)) >> 8;
66 static inline unsigned SkDiv255Round(unsigned prod) { argument
67 prod += 128;
68 return (prod + (prod >>
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters.c27 int64_t prod = 0; local
35 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]);
39 temp = (uint32_t)(prod >> 31);
45 r[0] = (int32_t)(prod >> scaling);
49 prod = 0;
51 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]);
53 sum = (int32_t)(prod >> scaling);
/external/chromium_org/v8/test/mjsunit/
H A Darray-reduce.js101 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,
[all...]
/external/eigen/bench/
H A Dproduct_threshold.cpp39 EIGEN_DONT_INLINE void prod(const Lhs& a, const Rhs& b, Res& c) function
59 BENCH(t,1,rep,prod<CoeffBasedProductMode>(a,b,c));
63 BENCH(t,5,rep,prod<Mode>(a,b,c));
/external/eigen/test/eigen2/
H A Dgsl_helper.h32 static void prod(const Matrix& m, const Vector& v, Vector& x) { gsl_blas_dgemv(CblasNoTrans,1,m,v,0,x); } function in struct:Eigen::GslTraits
69 static void prod(const Matrix& m, const Vector& v, Vector& x) function in struct:Eigen::GslTraits
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dfilters.c37 int64_t prod = 0; local
41 prod += WEBRTC_SPL_MUL_16_16(x[i], x[i]);
45 temp = (uint32_t)(prod >> 31);
51 r[0] = (int32_t)(prod >> scaling);
55 prod = 0;
57 prod += WEBRTC_SPL_MUL_16_16(x[j], x[i + j]);
59 sum = (int32_t)(prod >> scaling);
/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_mathops.c64 double prod; local
68 prod = (1./32768./65526.)*val*i;
70 prod = val*i;
72 if (fabs(prod-1) > .00025)
74 fprintf (stderr, "div failed: 1/%d="WORD" (product = %f)\n", i, val, prod);
/external/chromium_org/third_party/skia/include/core/
H A DSkMath.h192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); local
193 return (prod + (prod >> shift)) >> shift;
203 unsigned prod = SkMulS16(a, b) + 128; local
204 return (prod + (prod >> 8)) >> 8;
H A DSkScalar.h49 float prod = x * 0; local
50 // At this point, prod will either be NaN or 0
51 // Therefore we can return (prod == prod) or (0 == prod).
52 return prod == prod;
/external/libgsm/src/
H A Dadd.c45 longword prod = (longword)a * (longword)b + 16384; local
46 prod >>= 15;
47 return prod & 0xFFFF;
/external/libopus/celt/tests/
H A Dtest_unit_mathops.c64 double prod; local
68 prod = (1./32768./65526.)*val*i;
70 prod = val*i;
72 if (fabs(prod-1) > .00025)
74 fprintf (stderr, "div failed: 1/%d="WORD" (product = %f)\n", i, val, prod);
/external/skia/include/core/
H A DSkMath.h192 unsigned prod = SkMulS16(a, b) + (1 << (shift - 1)); local
193 return (prod + (prod >> shift)) >> shift;
203 unsigned prod = SkMulS16(a, b) + 128; local
204 return (prod + (prod >> 8)) >> 8;
/external/chromium_org/third_party/skia/src/opts/
H A DSkColor_opts_SSE2.h35 __m128i prod = _mm_mullo_epi16(a, b); local
36 prod = _mm_add_epi32(prod, _mm_set1_epi32(128));
37 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8));
38 prod = _mm_srli_epi32(prod, 8);
40 return prod;
86 __m128i prod local
[all...]
/external/eigen/Eigen/src/Core/
H A DRedux.h355 * \sa trace(), prod(), mean()
368 * \sa trace(), prod(), sum()
386 DenseBase<Derived>::prod() const function in class:Eigen::DenseBase
H A DProductBase.h198 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::Scalar& x) argument
199 { return ScaledProduct<Derived>(prod.derived(), x); }
204 operator*(const ProductBase<Derived,Lhs,Rhs>& prod, const typename Derived::RealScalar& x) argument
205 { return ScaledProduct<Derived>(prod.derived(), x); }
210 operator*(const typename Derived::Scalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) argument
211 { return ScaledProduct<Derived>(prod.derived(), x); }
216 operator*(const typename Derived::RealScalar& x,const ProductBase<Derived,Lhs,Rhs>& prod) argument
217 { return ScaledProduct<Derived>(prod.derived(), x); }
244 ScaledProduct(const NestedProduct& prod, const Scalar& x) argument
245 : Base(prod
[all...]
/external/eigen/Eigen/src/SparseCore/
H A DSparseDenseProduct.h122 EIGEN_STRONG_INLINE InnerIterator(const SparseDenseOuterProduct& prod, Index outer) argument
123 : Base(prod.lhs(), 0), m_outer(outer), m_factor(get(prod.rhs(), outer, typename internal::traits<Rhs>::StorageKind() ))
/external/skia/src/opts/
H A DSkColor_opts_SSE2.h35 __m128i prod = _mm_mullo_epi16(a, b); local
36 prod = _mm_add_epi32(prod, _mm_set1_epi32(128));
37 prod = _mm_add_epi32(prod, _mm_srli_epi32(prod, 8));
38 prod = _mm_srli_epi32(prod, 8);
40 return prod;
86 __m128i prod local
[all...]
/external/valgrind/main/drd/tests/
H A Domp_matinv.c131 elem_t* prod; local
135 prod = new_matrix(rows1, cols2);
140 prod[i * cols2 + j] = 0;
143 prod[i * cols2 + j] += a1[i * cols1 + k] * a2[k * cols2 + j];
147 return prod;
292 elem_t *a, *inv, *prod; local
328 prod = multiply_matrices(a, matrix_size, matrix_size,
330 error = identity_error(prod, matrix_size);
341 delete_matrix(prod);
/external/chromium_org/third_party/skia/src/utils/
H A DSkCamera.cpp13 SkScalar prod = 0; local
15 prod += a[0] * b[0];
19 return prod / denom;
24 SkScalar prod = 0; local
26 prod += a[0] * b[0];
30 return prod;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dfilter_functions.c96 double sum, prod; local
103 prod = x[0] * x_lag[0];
105 sum += prod;
106 prod = x[n] * x_lag[n];
108 sum += prod;
H A Dpitch_estimator.c93 double sum, ysum, prod; local
114 prod = x[0] * inptr[0];
116 sum += prod;
117 prod = x[n] * inptr[n];
119 sum += prod;
/external/eigen/Eigen/src/Core/arch/AltiVec/
H A DComplex.h148 Packet2cf prod; local
150 prod = pmul(a, Packet2cf(b));
152 return pfirst(prod);

Completed in 622 milliseconds

123