Searched refs:sum (Results 1 - 25 of 954) sorted by relevance

1234567891011>>

/external/valgrind/main/callgrind/tests/
H A Dclreq.c7 int some_work(int sum) argument
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 local
[all...]
/external/valgrind/main/memcheck/tests/
H A Dinline.stdout.exp0 sum is 0
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dosr-one.js31 var sum = 0;
34 sum += x;
37 return sum;
H A Dosr-two.js31 var sum = 0;
36 sum += x;
41 return sum;
H A Dregress-0.js29 var sum = 0;
32 sum = sum + 1;
35 return sum;
H A Dosr-simple.js31 var sum = 0;
36 sum += z;
38 return sum;
H A Dosr-warm.js41 var sum = 1;
44 sum++;
46 return sum;
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/ubench/
H A Dloop-sum.js2 var sum = 0; variable
4 sum = i + count;
/external/qemu/slirp/
H A Dcksum.c45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
50 register int sum = 0; local
77 sum <<= 8;
88 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
89 sum
[all...]
/external/qemu/slirp-android/
H A Dcksum.c45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
50 register int sum = 0; local
77 sum <<= 8;
88 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
89 sum
[all...]
/external/speex/libspeex/
H A Dltp_sse.h42 __m128 sum = _mm_setzero_ps(); local
45 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+0), _mm_loadu_ps(b+0)));
46 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+4), _mm_loadu_ps(b+4)));
50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
51 sum
76 __m128 sum, *xx, *yy; local
[all...]
H A Dresample_sse.h44 __m128 sum = _mm_setzero_ps(); local
47 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i), _mm_loadu_ps(b+i)));
48 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4), _mm_loadu_ps(b+i+4)));
50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
51 sum
60 __m128 sum = _mm_setzero_ps(); local
82 __m128d sum = _mm_setzero_pd(); local
103 __m128d sum; local
[all...]
H A Dlsp_bfin.h45 spx_word32_t sum; local
58 "R3 = W[P0--] (X);\n\t" /* R3: sum */
80 : "=&d" (sum)
84 return sum;
/external/chromium_org/v8/test/mjsunit/
H A Dlea-add.js31 var sum = 0;
33 sum = (i + sum) | 0;
35 return sum;
39 var sum = 0;
41 sum = (i + sum) | 0;
43 return sum;
47 var sum = 0;
49 sum
[all...]
H A Darguments-call-apply.js28 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");
H A Dsum-0-plus-undefined-is-NaN.js34 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/flac/libFLAC/
H A Dlpc.c270 FLAC__int32 sum; local
283 sum = 0;
286 sum += qlp_coeff[j] * (*(--history));
296 *(residual++) = *(data++) - (sum >> lp_quantization);
301 sum = 0;
303 sum += qlp_coeff[j] * data[i-j-1];
304 residual[i] = data[i] - (sum >> lp_quantization);
311 FLAC__int32 sum;
326 sum = 0;
327 sum
535 FLAC__int64 sum; local
800 FLAC__int32 sum; local
1067 FLAC__int64 sum; local
[all...]
/external/valgrind/main/exp-sgcheck/tests/
H A Dglobalerr.c10 short sum; local
12 sum += a[i] * b[i];
14 return 1 & ((unsigned int)sum / 1000000);
/external/tcpdump/
H A Din_cksum.c54 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
60 register int sum = 0; local
87 sum += s_util.s;
97 sum <<= 8;
108 sum += w[0]; sum += w[1]; sum += w[2]; sum
157 in_cksum_shouldbe(u_int16_t sum, u_int16_t computed_sum) argument
[all...]
/external/clang/test/CodeGen/
H A Darm64-abi-vector.c22 double sum = fixed; local
25 sum = sum + c3.x + c3.y;
27 return sum;
42 double sum = fixed; local
45 sum = sum + c4.x + c4.y;
47 return sum;
62 double sum = fixed; local
65 sum
84 double sum = fixed; local
105 double sum = fixed; local
125 double sum = fixed; local
147 double sum = fixed; local
169 double sum = fixed; local
191 double sum = fixed; local
213 double sum = fixed; local
230 double sum = fixed; local
297 double sum = fixed; local
313 double sum = fixed; local
329 double sum = fixed; local
343 double sum = fixed; local
359 double sum = fixed; local
375 double sum = fixed; local
391 double sum = fixed; local
405 double sum = fixed; local
421 double sum = fixed; local
[all...]
/external/chromium_org/third_party/opus/src/silk/
H A Dinner_prod_aligned.c42 opus_int32 sum = 0; local
44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale );
46 return sum;
/external/libopus/silk/
H A Dinner_prod_aligned.c42 opus_int32 sum = 0; local
44 sum = silk_ADD_RSHIFT32( sum, silk_SMULBB( inVec1[ i ], inVec2[ i ] ), scale );
46 return sum;
/external/valgrind/main/memcheck/tests/linux/
H A Dlsframe1.c16 int i, sum; local
21 sum = 0;
23 sum += arr[i];
24 fprintf(stderr, "lsframe1: done, result is %d\n", sum);
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Ddot_product_with_scale.c17 int32_t sum = 0; local
22 sum += (vector1[i + 0] * vector2[i + 0]) >> scaling;
23 sum += (vector1[i + 1] * vector2[i + 1]) >> scaling;
24 sum += (vector1[i + 2] * vector2[i + 2]) >> scaling;
25 sum += (vector1[i + 3] * vector2[i + 3]) >> scaling;
28 sum += (vector1[i] * vector2[i]) >> scaling;
31 return sum;
/external/clang/test/Sema/
H A Dbuiltins-arm-exclusive.c8 int sum = 0; local
9 sum += __builtin_arm_ldrex(addr);
10 sum += __builtin_arm_ldrex((short *)addr);
11 sum += __builtin_arm_ldrex((int *)addr);
12 sum += __builtin_arm_ldrex((long long *)addr);
13 sum += __builtin_arm_ldrex((float *)addr);
14 sum += __builtin_arm_ldrex((double *)addr);
15 sum += *__builtin_arm_ldrex((int **)addr);
16 sum += __builtin_arm_ldrex((struct Simple **)addr)->a;
17 sum
59 int sum = 0; local
[all...]

Completed in 430 milliseconds

1234567891011>>