/external/v8/test/mjsunit/ |
arguments-call-apply.js | 28 function sum(a, b, c) { function 36 // Try invoking call before sum has been compiled lazily. 37 assertEquals(6, sum.call(this, 1, 2, 3), "lazy call"); 39 assertEquals(6, sum(1, 2, 3), "normal"); 40 assertEquals(6, sum.call(this, 1, 2, 3), "call"); 41 assertEquals(6, sum.apply(this, [1, 2, 3]), "apply");
|
sum-0-plus-undefined-is-NaN.js | 34 function sum(a, b) { return a + b; } function 38 assertEquals(expectNaN, isNaN(sum(x, y))); 40 %OptimizeFunctionOnNextCall(sum); 41 assertEquals(expectNaN, isNaN(sum(x, y)));
|
/external/webkit/PerformanceTests/SunSpider/tests/ubench/ |
loop-sum.js | 2 var sum = 0; variable 4 sum = i + count;
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
add.cpp | 39 Description: Changed all occurrences of L_sum with sum. 104 sum = 16-bit limited sum of var1 and var2 (Word16) 135 Word32 sum; 137 sum = (Word32) var1 + var2; 143 var_out = saturate (sum); 181 Word32 sum; local 182 sum = (Word32) var1 + var2; 186 /* to conserve MIPS, i.e., var_out = saturate (sum) */ 188 if (sum > 0X00007fffL [all...] |
/external/speex/libspeex/ |
lsp_bfin.h | 45 spx_word32_t sum; local 58 "R3 = W[P0--] (X);\n\t" /* R3: sum */ 80 : "=&d" (sum) 84 return sum;
|
/external/srec/srec/clib/ |
matx_ops.h | 29 imeldata sum; local 37 sum = 0; 39 sum += matrix[ii][jj] * vector[jj]; 40 outvec[ii] = sum;
|
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
dot_product_with_scale.c | 23 WebRtc_Word32 sum; local 30 sum = 0; 35 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1++, *vector2++, scaling); 42 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 45 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 48 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 51 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 58 sum += WEBRTC_SPL_MUL_16_16(*vector1, *vector2); 67 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling); 70 sum += WEBRTC_SPL_MUL_16_16_RSFT(*vector1, *vector2, scaling) [all...] |
/external/v8/test/mjsunit/compiler/ |
regress-serialized-slots.js | 51 function sum(x, y) { function 56 runner(sum.bind(this, n), n + 10);
|
/external/valgrind/main/exp-ptrcheck/tests/ |
globalerr.c | 10 short sum; local 12 sum += a[i] * b[i]; 14 return 1 & ((unsigned int)sum / 1000000);
|
preen_invars.c | 11 int i, r, sum = 0; local 22 sum += im_a_global_array[i]; 42 if (sum & 1) printf("%s bar %d\n", "foo", sum & 1); else 43 printf("foo %s %d\n", "bar", 1 - (sum & 1));
|
/external/clang/test/CodeGen/ |
debug-info-iv.c | 22 double sum = 0.0; local 32 sum += Array[i][j]; 34 return calculate(sum);
|
/external/stlport/test/unit/ |
accum_test.cpp | 36 int sum = accumulate(v.begin(), v.end(), 0); local 37 CPPUNIT_ASSERT(sum==15);
|
/external/valgrind/main/callgrind/tests/ |
clreq.c | 7 int some_work(int sum) 11 for(i=0;i<10;i++) sum += i; /* some dummy work */ 13 return sum; 18 int sum = some_work(0); local 22 sum += some_work(sum); 26 sum += some_work(sum); 30 return some_work(sum); 35 int sum = some_callgrind_clreqs() local [all...] |
/external/valgrind/main/memcheck/tests/ |
clientperm.c | 16 int i, sum, m; local 18 sum = 0; 28 sum += aa[i]; 29 printf("sum is %s\n", sum > 0 ? "positive" : "non-positive"); 35 sum += aa[i]; 36 printf("sum is %s\n", sum > 0 ? "positive" : "non-positive");
|
inline.c | 16 int sum; local 18 sum = addemup(a); 19 printf("sum is %d\n", sum);
|
metadata.c | 13 int i, sum, res; local 39 sum = 100; 41 sum += b[i]; 43 /* V should yelp at this point, that sum is undefined. */ 44 if (sum == 0) 45 printf("sum == 0\n"); 47 printf("sum != 0\n");
|
/external/valgrind/main/memcheck/tests/linux/ |
lsframe1.c | 16 int i, sum; local 21 sum = 0; 23 sum += arr[i]; 24 fprintf(stderr, "lsframe1: done, result is %d\n", sum);
|
/external/valgrind/main/perf/ |
sarp.c | 32 int i, sum = 0; local 43 sum += f(i & 0xff); 45 return ( sum == 0xdeadbeef ? 1 : 0 );
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
omxVCM4P2_DCT8x8blk.c | 66 OMX_F64 sum = 0.0; local 71 sum += pSrc[(x * 8) + y] * 76 pDst[(u * 8) + v]= armRoundFloatToS16 (sum);
|
omxVCM4P2_IDCT8x8blk.c | 67 OMX_F64 sum = 0.0; local 72 sum += pSrc[(u * 8) + v] * 77 pDst[(x * 8) + y] = (OMX_S16) floor(sum + 0.5);
|
/ndk/tests/device/test-gnustl-full/unit/ |
accum_test.cpp | 36 int sum = accumulate(v.begin(), v.end(), 0); local 37 CPPUNIT_ASSERT(sum==15);
|
/ndk/tests/device/test-stlport/unit/ |
accum_test.cpp | 36 int sum = accumulate(v.begin(), v.end(), 0); local 37 CPPUNIT_ASSERT(sum==15);
|
/dalvik/tests/081-hot-exceptions/src/ |
Main.java | 28 int sum = 0; local 34 sum += arrayObj2.getArrayElement(i); 39 System.out.println("sum = " + sum);
|
/development/ndk/samples/hello-neon/jni/ |
helloneon-intrinsics.c | 31 int mm, sum = 0; local 40 sum += vgetq_lane_s32(sum_vec, 0); 41 sum += vgetq_lane_s32(sum_vec, 1); 42 sum += vgetq_lane_s32(sum_vec, 2); 43 sum += vgetq_lane_s32(sum_vec, 3); 48 sum += kernel[mm] * input[nn+offset+mm]; 51 output[nn] = (short)((sum + 0x8000) >> 16); 56 int sum = 0; 59 sum += kernel[mm]*input[nn+offset+mm]; 61 output[n] = (short)((sum + 0x8000) >> 16) [all...] |
/development/pdk/pndk/samples/samplejni/src/com/example/jniexample/ |
JNIExample.java | 13 int sum = Native.add(2, 3); local 14 tv.setText("Native Code test: 2 + 3 = " + Integer.toString(sum));
|