/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/ |
inline.stdout.exp | 0 sum is 0
|
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");
|
/frameworks/av/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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/ubench/ |
loop-sum.js | 2 var sum = 0; variable 4 sum = i + count;
|
/external/qemu/slirp/ |
cksum.c | 45 #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 += w[4]; sum += w[5]; sum += w[6]; sum += w[7] [all...] |
/external/qemu/slirp-android/ |
cksum.c | 45 #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 += w[4]; sum += w[5]; sum += w[6]; sum += w[7] [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
pitch.h | 55 static inline void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4], int len) 68 sum[0] = MAC16_16(sum[0],tmp,y_0); 69 sum[1] = MAC16_16(sum[1],tmp,y_1); 70 sum[2] = MAC16_16(sum[2],tmp,y_2); 71 sum[3] = MAC16_16(sum[3],tmp,y_3); 74 sum[0] = MAC16_16(sum[0],tmp,y_1) [all...] |
/external/speex/libspeex/ |
ltp_sse.h | 42 __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 = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)) 76 __m128 sum, *xx, *yy; local [all...] |
resample_sse.h | 44 __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 = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)) 60 __m128 sum = _mm_setzero_ps(); local 82 __m128d sum = _mm_setzero_pd(); local 103 __m128d sum; local [all...] |
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/flac/libFLAC/ |
lpc.c | 125 /* Sum up this iteration's reflection coefficient. */ 270 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 535 FLAC__int64 sum; local 800 FLAC__int32 sum; local 1067 FLAC__int64 sum; local [all...] |
/external/valgrind/main/exp-sgcheck/tests/ |
globalerr.c | 10 short sum; local 12 sum += a[i] * b[i]; 14 return 1 & ((unsigned int)sum / 1000000);
|
hsg.c | 13 int sum = 0, i; local 15 sum += (int)arr[i]; 16 return sum; 29 int sum = 0; local 31 sum += duh[-1]; 33 sum += duh[50]; 34 return sum;
|
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/chromium_org/third_party/opus/src/silk/ |
inner_prod_aligned.c | 42 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/ |
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/clang/utils/VtableTest/ |
Makefile | 10 test-gcc.sum: test.cc 13 ./test-gcc >test-gcc.sum 15 test-clang.sum: test.cc 18 ./test-clang >test-clang.sum 20 one: test-gcc.sum test-clang.sum 21 cmp test-gcc.sum test-clang.sum 24 rm -f gen test-gcc test-clang test.cc test-gcc.sum test-clang.sum test-gcc.s test-clang. [all...] |
/external/qemu/ |
net-checksum.c | 26 uint32_t sum = 0; local 31 sum += (uint32_t)buf[i]; 33 sum += (uint32_t)buf[i] << 8; 35 return sum; 38 uint16_t net_checksum_finish(uint32_t sum) 40 while (sum>>16) 41 sum = (sum & 0xFFFF)+(sum >> 16); 42 return ~sum; 48 uint32_t sum = 0; local [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
autocorr.cpp | 209 Word32 sum; 226 sum = 0L; 230 sum = L_mac (sum, y[i], y[i]); 235 if (L_sub (sum, MAX_32) == 0L) 248 sum = L_add (sum, 1L); // Avoid the case of all zeros 252 norm = norm_l (sum); 253 sum = L_shl (sum, norm) 314 Word32 sum; local [all...] |
/external/clang/test/Sema/ |
builtins-arm-exclusive.c | 8 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 += __builtin_arm_ldrex((volatile char *)addr) [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
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/valgrind/main/none/tests/s390x/ |
cksm.c | 12 uint32_t sum; member in struct:__anon28429 19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) 33 : "+d" (sum), "+d" (reg2), "+d" (reg3) : : "cc", "memory"); 52 result.sum = sum; 60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) 68 /* Add 4 bytes to the sum. Do this in 64-bit arithmetic so it's 70 v64 = sum; 72 /* If there was a carry-out, add 1 to the sum. */ 74 sum = sum + buff[n] + 1 181 uint32_t sum, expected_sum; local [all...] |
/art/test/NonStaticLeafMethods/ |
NonStaticLeafMethods.java | 28 int sum(int a, int b) { method in class:NonStaticLeafMethods 31 int sum(int a, int b, int c) { method in class:NonStaticLeafMethods 34 int sum(int a, int b, int c, int d) { method in class:NonStaticLeafMethods 37 int sum(int a, int b, int c, int d, int e) { method in class:NonStaticLeafMethods 43 double sum(double a, double b) { method in class:NonStaticLeafMethods 46 double sum(double a, double b, double c) { method in class:NonStaticLeafMethods 49 double sum(double a, double b, double c, double d) { method in class:NonStaticLeafMethods 52 double sum(double a, double b, double c, double d, double e) { method in class:NonStaticLeafMethods
|
/art/test/StaticLeafMethods/ |
StaticLeafMethods.java | 26 static int sum(int a, int b) { method in class:StaticLeafMethods 29 static int sum(int a, int b, int c) { method in class:StaticLeafMethods 32 static int sum(int a, int b, int c, int d) { method in class:StaticLeafMethods 35 static int sum(int a, int b, int c, int d, int e) { method in class:StaticLeafMethods 41 static double sum(double a, double b) { method in class:StaticLeafMethods 44 static double sum(double a, double b, double c) { method in class:StaticLeafMethods 47 static double sum(double a, double b, double c, double d) { method in class:StaticLeafMethods 50 static double sum(double a, double b, double c, double d, double e) { method in class:StaticLeafMethods
|