/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/ |
yacc.py | 192 prod = self.productions # Local reference to production list 270 p = prod[-t] 533 # prod - A list of symbols making up its production 545 # lr_index - LR item index (location of the ".") in the prod list. 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,"." [all...] |
/external/v8/test/mjsunit/es6/ |
math-log1p.js | 26 var prod = x; 28 terms.push(prod / i); 29 prod *= -x;
|
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);
|
/external/v8/test/mjsunit/ |
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...] |
/system/core/fastboot/ |
engine.cpp | 59 const char* prod; member in struct:Action 208 if (a->prod) { 209 if (strcmp(a->prod, cur_product) != 0) { 212 cur_product, a->prod, (split - a->start)); 247 void fb_queue_require(const char *prod, const char *var, 252 a->prod = prod;
|
fastboot.h | 58 void fb_queue_require(const char *prod, const char *var, bool invert,
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_types.py | 138 prod = divisor * j 139 if prod != m: 140 self.fail("%r * %r == %r != %r" % (divisor, j, prod, m)) 141 if type(prod) is not int: 142 self.fail("expected type(prod) to be int, not %r" % 143 type(prod)) 147 prod = divisor * j 148 if type(prod) is not long: 150 (prod, type(prod))) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_types.py | 138 prod = divisor * j 139 if prod != m: 140 self.fail("%r * %r == %r != %r" % (divisor, j, prod, m)) 141 if type(prod) is not int: 142 self.fail("expected type(prod) to be int, not %r" % 143 type(prod)) 147 prod = divisor * j 148 if type(prod) is not long: 150 (prod, type(prod))) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 138 prod = divisor * j 139 if prod != m: 140 self.fail("%r * %r == %r != %r" % (divisor, j, prod, m)) 141 if type(prod) is not int: 142 self.fail("expected type(prod) to be int, not %r" % 143 type(prod)) 147 prod = divisor * j 148 if type(prod) is not long: 150 (prod, type(prod))) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_types.py | 138 prod = divisor * j 139 if prod != m: 140 self.fail("%r * %r == %r != %r" % (divisor, j, prod, m)) 141 if type(prod) is not int: 142 self.fail("expected type(prod) to be int, not %r" % 143 type(prod)) 147 prod = divisor * j 148 if type(prod) is not long: 150 (prod, type(prod))) [all...] |
/external/libopus/celt/tests/ |
test_unit_mathops.c | 64 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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
filter_functions.c | 100 double sum, prod; local 107 prod = x[0] * x_lag[0]; 109 sum += prod; 110 prod = x[n] * x_lag[n]; 112 sum += prod;
|
/cts/tools/dasm/src/java_cup/ |
lalr_item_set.java | 246 production prod; local 274 prod = (production)p.nextElement(); 277 new_itm = new lalr_item(prod,new_lookaheads);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapPixels.java | 66 int prod = c * a + 128; local 67 return (prod + (prod >> 8)) >> 8;
|
/external/eigen/Eigen/src/Core/arch/NEON/ |
PacketMath.h | 315 float32x2_t a_lo, a_hi, prod; local 321 prod = vmul_f32(a_lo, a_hi); 322 // Multiply prod with its swapped value |a2*a4|a1*a3| 323 prod = vmul_f32(prod, vrev64_f32(prod)); 325 return vget_lane_f32(prod, 0); 329 int32x2_t a_lo, a_hi, prod; local 335 prod = vmul_s32(a_lo, a_hi); 336 // Multiply prod with its swapped value |a2*a4|a1*a3 [all...] |
/external/eigen/Eigen/src/Core/products/ |
GeneralMatrixMatrixTriangular.h | 193 static void run(MatrixType& mat, const ProductType& prod, const typename MatrixType::Scalar& alpha) 202 typename internal::add_const_on_value_type<ActualLhs>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 208 typename internal::add_const_on_value_type<ActualRhs>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 210 Scalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs().derived()) * RhsBlasTraits::extractScalarFactor(prod.rhs().derived()); 239 static void run(MatrixType& mat, const ProductType& prod, const typename MatrixType::Scalar& alpha) 247 typename internal::add_const_on_value_type<ActualLhs>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 253 typename internal::add_const_on_value_type<ActualRhs>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 255 typename ProductType::Scalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs().derived()) * RhsBlasTraits::extractScalarFactor(prod.rhs().derived()) [all...] |
TriangularMatrixVector.h | 218 static void run(const TriangularProduct<Mode,true,Lhs,false,Rhs,true>& prod, Dest& dest, const typename TriangularProduct<Mode,true,Lhs,false,Rhs,true>::Scalar& alpha) 232 typename internal::add_const_on_value_type<ActualLhsType>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 233 typename internal::add_const_on_value_type<ActualRhsType>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 235 ResScalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs()) 236 * RhsBlasTraits::extractScalarFactor(prod.rhs()); 294 static void run(const TriangularProduct<Mode,true,Lhs,false,Rhs,true>& prod, Dest& dest, const typename TriangularProduct<Mode,true,Lhs,false,Rhs,true>::Scalar& alpha) 307 typename add_const<ActualLhsType>::type actualLhs = LhsBlasTraits::extract(prod.lhs()); 308 typename add_const<ActualRhsType>::type actualRhs = RhsBlasTraits::extract(prod.rhs()); 310 ResScalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs()) 311 * RhsBlasTraits::extractScalarFactor(prod.rhs()) [all...] |
/external/eigen/bench/ |
product_threshold.cpp | 39 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/ |
redux.cpp | 23 // The entries of m1 are uniformly distributed in [0,1], so m1.prod() is very small. This may lead to test 42 VERIFY_IS_APPROX(m1_for_prod.prod(), p); 53 VERIFY_IS_APPROX(m1_for_prod.block(r0,c0,r1,c1).prod(), m1_for_prod.block(r0,c0,r1,c1).eval().prod()); 59 VERIFY_IS_APPROX(m1.block(r0,c0,0,0).prod(), Scalar(1)); 85 VERIFY_IS_APPROX(p, v_for_prod.head(i).prod()); 102 VERIFY_IS_APPROX(p, v_for_prod.tail(size-i).prod()); 119 VERIFY_IS_APPROX(p, v_for_prod.segment(i, size-2*i).prod()); 126 VERIFY_IS_APPROX(v.tail(0).prod(), Scalar(1));
|
zerosized.cpp | 17 VERIFY(m.prod()==1);
|
/external/webrtc/webrtc/modules/video_coding/test/ |
plotReceiveTrace.m | 129 if prod(size(completeTime)) > 0 138 if prod(size(decodeTime)) > 0 147 if prod(size(decodeCompleteTime)) > 0 155 if prod(size(renderTime)) > 0 200 if prod(size(renderTime)) > 0
|
/external/opencv3/samples/python2/ |
calibrate.py | 36 pattern_points = np.zeros( (np.prod(pattern_size), 3), np.float32 )
|
/external/libgsm/src/ |
add.c | 45 longword prod = (longword)a * (longword)b + 16384; local 46 prod >>= 15; 47 return prod & 0xFFFF;
|
/external/skia/tests/ |
MathTest.cpp | 110 int prod = src * a31 + (31 - a31) * dst + 16; local 111 prod = (prod + (prod >> 5)) >> 5; 112 return prod; 116 int prod = (src - dst) * a31 + 16; local 117 prod = (prod + (prod >> 5)) >> 5; 118 return dst + prod; [all...] |
/external/webp/src/dsp/ |
enc_neon.c | 763 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); local 764 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff)); 765 *sum = vpadalq_u16(*sum, prod); // pair-wise add and accumulate 800 const uint16x8_t prod = vmull_u8(abs_diff, abs_diff); local 801 sum = vpadalq_u16(sum, prod); 810 uint16x8_t prod = vmull_u8(vget_low_u8(abs_diff), vget_low_u8(abs_diff)); local 811 prod = vmlal_u8(prod, vget_high_u8(abs_diff), vget_high_u8(abs_diff)); 812 return SumToInt(vpaddlq_u16(prod)); [all...] |