/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicLongMap.java | 253 * Returns the sum of all values in this map. 255 * <p>This method is not atomic: the sum may or may not include other concurrent operations. 257 public long sum() { method in class:AtomicLongMap 258 long sum = 0L; local 260 sum = sum + value.get(); 262 return sum;
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FEGaussianBlur.cpp | 83 int sum = 0; local 87 sum += srcPixelArray->get(line + i * stride + channel); 92 dstPixelArray->set(pixelByteOffset, static_cast<unsigned char>(sum / dx)); 94 sum -= srcPixelArray->get(pixelByteOffset - dxLeft * stride); 96 sum += srcPixelArray->get(pixelByteOffset + dxRight * stride);
|
/external/icu4c/tools/makeconv/ |
genmbcs.c | 190 int32_t i, sum, maxCharLength, local 197 sum=mbcsData->ucm->states.countToUCodeUnits; 199 printf("the total number of offsets is 0x%lx=%ld\n", (long)sum, (long)sum); 202 if(sum>0) { 203 mbcsData->unicodeCodeUnits=(uint16_t *)uprv_malloc(sum*sizeof(uint16_t)); 206 (long)sum); 209 for(i=0; i<sum; ++i) { 220 sum=0x20000; 223 sum=0x100000*maxCharLength [all...] |
/build/tools/ |
generate-notice-files.py | 70 sum = hashlib.md5() 75 sum.update(block) 77 return hexify(sum.digest())
|
/development/ndk/samples/hello-neon/jni/ |
helloneon.c | 50 int sum = 0; local 53 sum += kernel[mm]*input[nn+offset+mm]; 55 output[nn] = (short)((sum + 0x8000) >> 16);
|
/external/llvm/include/llvm/Support/ |
TimeValue.h | 181 /// @returns The sum of the two operands as a new TimeValue 368 TimeValue sum (tv1.seconds_ + tv2.seconds_, tv1.nanos_ + tv2.nanos_); 369 sum.normalize (); 370 return sum;
|
/external/webkit/Tools/DumpRenderTree/qt/ |
ImageDiff.cpp | 95 qreal sum = 0; local 111 sum += distance; 118 difference = 100 * sum / static_cast<qreal>(w * h);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
fxp_mul32_c_msc_evc_armv5.h | 90 __inline int64 fxp_mac64_Q31(int64 sum, const Int32 L_var1, const Int32 L_var2) 92 sum += (int64)L_var1 * L_var2; 93 return (sum);
|
/sdk/emulator/qtools/ |
profile_trace.cpp | 111 uint64_t sum = 0; local 117 sum += sym->elapsed; 119 double sum_per = 100.0 * sum / total;
|
/external/grub/stage2/ |
fsys_fat.c | 422 unsigned char sum; local 425 for (sum = 0, i = 0; i< 11; i++) 426 sum = ((sum >> 1) | (sum << 7)) + dir_buf[i]; 428 if (sum == alias_checksum)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DataManager.java | 266 long sum = 0; local 268 sum += source.getTotalUsedCacheSize(); 270 return sum; 276 long sum = 0; local 278 sum += source.getTotalTargetCacheSize(); 280 return sum;
|
/packages/apps/Phone/src/com/android/phone/ |
EditPhoneNumberPreference.java | 159 CharSequence sum; local 165 sum = (mSummaryOn == null) ? getSummary() : mSummaryOn; 167 sum = (mSummaryOff == null) ? getSummary() : mSummaryOff; 170 sum = getSummary(); 173 if (sum != null) { 174 summaryView.setText(sum);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
AudioTrackView.java | 225 int sum = 0; local 226 while (minGain < 255 && sum < numFrames / 20) { 227 sum += gainHist[(int)minGain]; 232 sum = 0; 233 while (maxGain > 2 && sum < numFrames / 100) { 234 sum += gainHist[(int)maxGain];
|
/development/tools/axl/ |
chewperf.py | 59 bytes = sum(x[1] for x in chewed) 81 print "%s\t%s" % (buckets.items()[x][0], sum(window) / len(window))
|
/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/libvpx/vp8/encoder/arm/armv6/ |
vp8_mse16x16_armv6.asm | 24 ;note: Based on vp8_variance16x16_armv6. In this function, sum is never used. 47 usad8 r5, r7, lr ; calculate sum of positive differences 48 usad8 r6, r8, lr ; calculate sum of negative differences 68 usad8 r5, r7, lr ; calculate sum of positive differences 69 usad8 r6, r8, lr ; calculate sum of negative differences 87 usad8 r5, r7, lr ; calculate sum of positive differences 88 usad8 r6, r8, lr ; calculate sum of negative differences 110 usad8 r5, r7, lr ; calculate sum of positive differences 111 usad8 r6, r8, lr ; calculate sum of negative differences
|
/external/opencv/cv/src/ |
_cvmatrix.h | 204 double sum = 0; local 206 sum += src[i]; 207 *trace = (float)sum; 209 icvCheckVector_64f( &sum, 1 ); 216 double sum = 0; local 218 sum += src[i]; 219 *trace = sum; 221 icvCheckVector_64f( &sum, 1 );
|
/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/libpng/ |
pngwutil.c | 95 * The total_length is the sum of the lengths of all the data you will be 124 * sum of the lengths from these calls *must* add up to the total_length 2206 png_uint_32 sum = 0; local 2276 png_uint_32 sum = 0, lmins = mins; local 2389 png_uint_32 sum = 0, lmins = mins; local 2495 png_uint_32 sum = 0, lmins = mins; local 2628 png_uint_32 sum = 0, lmins = mins; local [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwutil.c | 72 * The total_length is the sum of the lengths of all the data you will be 96 * sum of the lengths from these calls *must* add up to the total_length 2159 png_uint_32 sum = 0; local 2229 png_uint_32 sum = 0, lmins = mins; local 2342 png_uint_32 sum = 0, lmins = mins; local 2448 png_uint_32 sum = 0, lmins = mins; local 2581 png_uint_32 sum = 0, lmins = mins; local [all...] |
/external/opencv/ml/src/ |
mltree.cpp | 512 double sum = 0; 520 sum += val; 525 cvScale( priors, priors, 1./sum ); 1443 int sum = 0, sum_abs = 0; local 1460 double sum = 0, sum_abs = 0; local 1673 int sum = 0; local 1975 double* sum = (double*)cvStackAlloc( (mi+1)*sizeof(sum[0]) ) + 1; local 2065 int sum = 0, sum_abs = 0; local 2109 double sum = 0, sum_abs = 0; local 2194 int sum = _lc[idx] + d; local 2201 int sum = _lc[i]; local 2217 double sum = lc[idx] + d*w; local 2224 double sum = lc[i]; local 2306 double sum = 0; local 2336 double sum_k = 0, sum = 0, max_val_k = 0; local 2374 double sum = 0, sum2 = 0; local [all...] |
/external/dhcpcd/ |
net.c | 651 uint32_t sum = 0; local 654 sum += addr[0] * 256 + addr[1]; 660 sum += *addr * 256; 662 sum = (sum >> 16) + (sum & 0xffff); 663 sum += (sum >> 16); 665 sum = htons(sum); [all...] |
/external/libvpx/vp8/encoder/arm/neon/ |
vp8_subpixelvariance16x16s_neon.asm | 37 vmov.i8 q8, #0 ;q8 - sum 75 vpadal.s16 q8, q4 ;sum 91 vpadal.s16 q8, q0 ;sum 107 vpaddl.s32 q0, q8 ;accumulate sum 140 vmov.i8 q8, #0 ;q8 - sum 168 vpadal.s16 q8, q11 ;sum 184 vpadal.s16 q8, q0 ;sum 203 vpaddl.s32 q0, q8 ;accumulate sum 234 vmov.i8 q13, #0 ;q8 - sum 283 vpadal.s16 q13, q9 ;sum [all...] |