/external/fec/ |
sqtest.c | 1 /* Verify correctness of the sum-of-square routines */ 28 printf("sum mismatch: %lld != %lld\n",result,rresult); 34 long long sum = 0; local 38 sum += (long)in[i] * in[i]; 40 return sum;
|
/external/fio/lib/ |
gauss.c | 25 unsigned long long sum = 0; local 29 sum += __rand(&gs->r) % (gs->nranges + 1); 31 sum = (sum + GAUSS_ITERS - 1) / GAUSS_ITERS; 36 while (dev + sum >= gs->nranges) 38 sum += dev; 42 sum = __hash_u64(sum); 44 return sum % gs->nranges;
|
/external/guava/guava/src/com/google/common/cache/ |
LongAddable.java | 32 long sum(); method in interface:LongAddable
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
LongAdder.java | 36 public long sum() { method in class:LongAdder
|
/external/libcups/cups/ |
md5passwd.c | 25 * 'httpMD5()' - Compute the MD5 sum of the username:group:password. 28 char * /* O - MD5 sum */ 35 unsigned char sum[16]; /* Sum data */ local 36 char line[256]; /* Line to sum */ 40 * Compute the MD5 sum of the user name, group name, and password. 46 _cupsMD5Finish(&state, sum); 49 * Return the sum... 52 return (httpMD5String(sum, md5)); 57 * 'httpMD5Final()' - Combine the MD5 sum of the username, group, and passwor 69 unsigned char sum[16]; \/* Sum data *\/ local [all...] |
/external/libopus/celt/x86/ |
celt_lpc_sse.c | 94 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT); local 97 sum = MAC16_16(sum,rnum[j],x[i+j]); 99 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); 122 opus_val32 sum = 0; local 124 sum = MAC16_16(sum, rnum[j], x[i + j]); 125 _y[i] = SATURATE16(ADD32(EXTEND32(_x[i]), PSHR32(sum, SIG_SHIFT)));
|
pitch_sse2.c | 46 opus_int32 sum; local 51 sum = 0; 87 sum += _mm_cvtsi128_si32(acc1); 90 sum = silk_SMLABB(sum, x[i], y[i]); 93 return sum;
|
/external/libopus/silk/fixed/x86/ |
vector_ops_FIX_sse.c | 47 opus_int64 sum; local 53 sum = 0; 81 _mm_storel_epi64( (__m128i *)&sum, acc1 ); 84 sum = silk_SMLABB( sum, inVec1[ i ], inVec2[ i ] ); 87 return sum;
|
/external/libopus/silk/ |
stereo_MS_to_LR.c | 45 opus_int32 sum, diff, pred0_Q13, pred1_Q13; local 62 sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ 63 sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 */ 64 sum = silk_SMLAWB( sum, silk_LSHIFT( (opus_int32)x1[ n + 1 ], 11 ), pred1_Q13 ); /* Q8 */ 65 x2[ n + 1 ] = (opus_int16)silk_SAT16( silk_RSHIFT_ROUND( sum, 8 ) ); 70 sum = silk_LSHIFT( silk_ADD_LSHIFT( x1[ n ] + x1[ n + 2 ], x1[ n + 1 ], 1 ), 9 ); /* Q11 */ 71 sum = silk_SMLAWB( silk_LSHIFT( (opus_int32)x2[ n + 1 ], 8 ), sum, pred0_Q13 ); /* Q8 * [all...] |
/external/r8/src/test/java/com/android/tools/r8/debuginfo/ |
LocalSwapTest.java | 9 int sum = x + y; local 15 return sum + x + y;
|
/external/skia/tools/ |
Stats.h | 35 double sum = 0.0; local 37 sum += samples[i]; 39 mean = sum / n;
|
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/ |
bios_smbios.c | 50 uint8_t sum; local 64 for ( i = 0 , sum = 0 ; i < len ; i++ ) { 65 sum += u.bytes[i]; 67 if ( sum != 0 ) { 69 BIOS_SEG, offset, sum );
|
/external/valgrind/callgrind/tests/ |
threads.c | 16 double sum = 0.0; local 21 sum += a[i]; 23 *( (double*)v ) = sum; 35 double sum[4]; local 41 pthread_create(&t[i], NULL, th, &sum[i]);
|
/external/valgrind/exp-sgcheck/tests/ |
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;
|
/external/valgrind/memcheck/tests/linux/ |
lsframe2.c | 29 int sum; local 31 sum = rec(N_MBYTES); 32 fprintf(stderr, "lsframe2: done, result is %d\n", sum);
|
/external/valgrind/memcheck/tests/solaris/ |
lsframe2.c | 26 int sum; local 28 sum = rec(N_MBYTES); 29 printf("lsframe2: done, result is %d\n", sum);
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
auto_correlation.c | 20 int32_t sum = 0; local 30 // In order to avoid overflow when computing the sum we should scale the 35 // Number of bits in the sum loop. 49 sum = 0; 52 sum += (in_vector[j + 0] * in_vector[i + j + 0]) >> scaling; 53 sum += (in_vector[j + 1] * in_vector[i + j + 1]) >> scaling; 54 sum += (in_vector[j + 2] * in_vector[i + j + 2]) >> scaling; 55 sum += (in_vector[j + 3] * in_vector[i + j + 3]) >> scaling; 58 sum += (in_vector[j] * in_vector[i + j]) >> scaling; 60 *result++ = sum; [all...] |
/external/webrtc/webrtc/common_audio/ |
window_generator.cc | 55 float sum = 0.0f; local 59 sum += I0(static_cast<float>(M_PI) * alpha * sqrt(1.0f - r * r)).real(); 60 window[i] = sum; 63 window[length - i - 1] = sqrtf(window[length - i - 1] / sum); 67 window[half - 1] = sqrtf(window[half - 1] / sum);
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
pole_zero_filter.cc | 58 float sum = 0.0f; local 61 sum += coefficients[k] * past[past_index]; 62 return sum;
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/32/src/com/framework/shareduid/bit32/ |
MainActivity.java | 39 int sum = Native.add(2, 3); local 40 tv.setText("[computed by 32 bit native code] 2 + 3 = " + String.valueOf(sum));
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/64/src/com/framework/shareduid/bit64/ |
MainActivity.java | 39 int sum = Native.add(2, 3); local 40 tv.setText("[computed by 64 bit native code] 2 + 3 = " + String.valueOf(sum));
|
/frameworks/base/core/tests/hosttests/test-apps/SharedUid/dual/src/com/framework/shareduid/dual/ |
MainActivity.java | 39 int sum = Native.add(2, 3); local 40 tv.setText("[computed by 32 bit native code] 2 + 3 = " + String.valueOf(sum));
|
/libcore/benchmarks/src/benchmarks/ |
ArrayIterationBenchmark.java | 29 int sum = 0; local 31 sum += mArray[i].mSplat; 37 int sum = 0; local 42 sum += localArray[i].mSplat; 48 int sum = 0; local 50 sum += a.mSplat;
|
ArrayListIterationBenchmark.java | 31 int sum = 0; local 35 sum += list.get(i).mSplat; 41 int sum = 0; local 43 sum += a.mSplat;
|
/prebuilts/go/darwin-x86/test/ |
ddd1.go | 14 func sum(args ...int) int { return 0 } func 17 _ = sum(1, 2, 3) 18 _ = sum() 19 _ = sum(1.0, 2.0) 20 _ = sum(1.5) // ERROR "integer" 21 _ = sum("hello") // ERROR ".hello. .type string. as type int|incompatible" 22 _ = sum([]int{1}) // ERROR "\[\]int literal.*as type int|incompatible" 29 _ = sum(tuple()) 30 _ = sum(tuple()...) // ERROR "multiple-value"
|