/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_dcf.c | 24 int32_t sum; local 37 sum = buffer[byteLen]; 39 sum += ((buffer[i] & UINT_VAR_DATA) << 7 * (byteLen - i)); /* UINT_VAR_DATA == 0x7F */ 41 return sum;
|
/ndk/tests/device/test-gnustl-full/unit/ |
ptr2_test.cpp | 35 static int sum(int x_, int y_) function 49 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<int, int, int>(sum)); 62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum));
|
/ndk/tests/device/test-stlport/unit/ |
ptr2_test.cpp | 35 static int sum(int x_, int y_) function 49 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, pointer_to_binary_function<int, int, int>(sum)); 62 transform((int*)input1, (int*)input1 + 4, (int*)input2, (int*)output, ptr_fun(sum));
|
/sdk/emulator/qtools/ |
hist_trace.cpp | 47 int sum = 0; local 54 sum += hist[ii]; 55 sum_per = 100.0 * sum / total;
|
/system/core/toolbox/ |
hd.c | 20 int sum; local 64 sum = 0; 78 sum += buf[i]; 93 printf("sum %x\n", sum);
|
/external/javasqlite/src/main/java/SQLite/ |
StringEncoder.java | 60 int sum = cnt[i] + cnt[(i + 1) & 0xff] + cnt[(i + '\'') & 0xff]; local 61 if (sum < nEscapes) { 62 nEscapes = sum;
|
/external/kernel-headers/original/linux/ |
kernel_stat.h | 46 int cpu, sum = 0; local 49 sum += kstat_cpu(cpu).irqs[irq]; 51 return sum;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_gamma.c | 76 float sum = 0.0f; local 84 sum += (float) ( log(A) / log(B) ); 88 if ( count && sum > 0.0f ) { 89 *gamma = 1.0f / (sum / count);
|
/external/speex/libspeex/ |
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...] |
ltp_bfin.h | 39 spx_word32_t sum=0; local 58 : "=m" (sum) 62 return sum; 114 spx_word32_t sum; local 148 : "=&D" (sum), "=a" (C) 152 return sum; 317 spx_word32_t sum=0; local 382 if (sum>best_sum && gain_sum<=max_gain) ------ (1) 384 if (sum>best_sum && !(gain_sum>max_gain)) ------ (2) 387 sum = -VERY_LARGE32 [all...] |
/external/valgrind/main/drd/tests/ |
annotate_rwlock.c | 126 int sum = 0; local 131 sum += s_counter;
|
/external/valgrind/main/helgrind/tests/ |
annotate_rwlock.c | 140 int sum = 0; local 145 sum += s_counter;
|
/external/valgrind/main/memcheck/tests/ |
origin6-fp.c | 53 double sum ( double** arr, int nArr ) function 90 r = sum( arr3, nArr-4 );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/ |
binding-001.js | 26 * "... the question is, does Rhino bind 'sum' in the global object 29 * var f = function sum(){}; 30 * print(sum); // should fail with 'sum is not defined' " 49 var f = function sum(){}; 50 print(sum);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
adaptive_smooth_no_mmx.cpp | 122 depends on a weighted sum of the 9 luminance values. The position of Pelc1 236 int sum; local 271 *sum_V_ptr++ = pelu + (pelc << 1) + pell; /* weighted sum of pelu0, 273 /* sum of 0's and 1's (0 if pixel value is below thr, 1 if value 285 *sum_V_ptr++ = pelu + (pelc << 1) + pell; /* weighted sum of pelu1, 287 /* sum of 0's and 1's (0 if pixel value is below thr, 1 if value 306 /* weighted sum of pelu1, pelc1 and pell1 */ 308 /* sum of 0's and 1's (0 if pixel value is below thr, 320 /* sum is a weighted average of the 9 pixel luminance 322 sum = (*(sum_V_ptr - 2) + (*(sum_V_ptr - 1) << 1) [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
vec_types.h | 41 double sum = 0; local 43 sum += static_cast<double> (data[i] * data[i]); 44 return static_cast<T>(sqrt(sum));
|
/external/aac/libFDK/include/ |
fixpoint_math.h | 408 * \return saturated sum of a and b. 412 LONG sum; local 414 sum = (LONG)(SHORT)a + (LONG)(SHORT)b; 415 sum = fMax(fMin((INT)sum, (INT)MAXVAL_SGL), (INT)MINVAL_SGL); 416 return (FIXP_SGL)(SHORT)sum; 423 * \return saturated sum of a and b. 427 LONG sum; local 429 sum = (LONG)(a>>1) + (LONG)(b>>1); 430 sum = fMax(fMin((INT)sum, (INT)(MAXVAL_DBL>>1)), (INT)(MINVAL_DBL>>1)) [all...] |
/external/blktrace/ |
stats.h | 31 __u64 sum; member in struct:minmax 40 mm->sum = 0; 47 mm->sum += value; 58 dst->sum += src->sum; 69 mm->sum = cpu_to_be64(mm->sum); 78 return (mm->sum / (double)mm->num); 85 return ((mm->sos - ((mm->sum * mm->sum) / num)) / num) [all...] |
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_container_gtk.cc | 113 int sum = 0; local 114 gtk_container_foreach(GTK_CONTAINER(widget()), SumAnimatingBarHeight, &sum); 115 return sum;
|
/external/dnsmasq/src/ |
bpf.c | 172 u32 i, sum; local 213 for (sum = 0, i = 0; i < sizeof(struct ip) / 2; i++) 214 sum += ((u16 *)&ip)[i]; 215 while (sum>>16) 216 sum = (sum & 0xffff) + (sum >> 16); 217 ip.ip_sum = (sum == 0xffff) ? sum : ~sum; [all...] |
/external/libgsm/src/ |
add.c | 25 longword sum = (longword)a + (longword)b; local 26 return saturate(sum);
|
/external/linux-tools-perf/util/ |
annotate.h | 31 u64 sum; member in struct:sym_hist
|
/external/oprofile/module/x86/ |
op_fixmap.c | 151 int sum = 0; local 154 sum += *mp++; 156 return sum & 0xFF;
|
/external/skia/include/core/ |
Sk64.h | 45 uint32_t sum = fLo + (1 << 15); local 47 if (sum < fLo) { 50 return (hi << 16) | (sum >> 16); 132 uint32_t sum = fLo + (uint32_t)lo; local 134 fHi = fHi + hi + (sum < fLo); 135 fLo = sum; 140 uint32_t sum = fLo + lo; local 142 fHi = fHi + hi + (sum < fLo); 143 fLo = sum; 183 uint32_t sum = fLo + lo local [all...] |
/external/srec/srec/clib/ |
jacobi.c | 56 double g, thresh, sum, c, s, t, tau, h; local 89 sum = SumOffDiag(a, dim); 91 if (sum < EPSILON) /* normal convergence */ 104 thresh = 20.0 * sum / (dim * dim); /* .. first 3 iterations only */ 206 // Compute the sum of the absolute values of the off-diagonal elements 210 double sum = 0.0; local 214 sum += fabs(mat[i][j]); 216 return (sum);
|