/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VCardTest.java | 44 int total = composer.getCount(); local 45 assertEquals(1, total);
|
/development/tools/emulator/system/libqemu/ |
test_guest_1.c | 64 size_t total = 0; local 76 total += len; 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
RandomBitsSupplier.java | 105 int total = 0; local 111 bytesRead = fis.read(bytes, offset, numBytes-total); 120 total += bytesRead; 123 if ( total >= numBytes ) {
|
/bionic/libc/netbsd/net/ |
getservent.c | 57 int total = 0; local 67 /* first compute the total size */ 69 total += namelen + 1; 74 total += (count+1)*sizeof(char*); 77 total += 1 + len2; 82 p2 = realloc( (char*)rs->servent.s_aliases, total );
|
/frameworks/base/services/java/com/android/server/ |
RandomBlock.java | 54 int total = 0; local 55 while(total < BLOCK_SIZE) { 56 int result = in.read(retval.block, total, BLOCK_SIZE - total); 60 total += result;
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/paddings/ |
PaddedBufferedBlockCipher.java | 95 int total = len + bufOff; local 96 int leftOver = total % buf.length; 102 return total + buf.length; 105 return total; 108 return total - leftOver + buf.length; 122 int total = len + bufOff; local 123 int leftOver = total % buf.length; 127 return total - buf.length; 130 return total - leftOver;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SelectionManager.java | 154 int total = set.getMediaItemCount(); local 158 while (index < total) { 159 int count = index + batch < total 161 : total - index; 174 int total = getTotalCount(); 175 for (int i = 0; i < total; i++) { 197 int total = getTotalCount(); 199 while (index < total) { 200 int count = Math.min(total - index, MediaSet.MEDIAITEM_BATCH_FETCH_COUNT);
|
ScrollBarView.java | 58 // The content position is between 0 to "total". The current position is 60 public void setContentPosition(int position, int total) { 61 if (position == mContentPosition && total == mContentTotal) { 68 mContentTotal = total;
|
/external/openssl/crypto/lhash/ |
lh_stats.c | 117 unsigned long total=0,n_used=0; local 126 total+=num; 130 fprintf(out,"%lu items\n",total); 133 (int)(total/lh->num_nodes), 134 (int)((total%lh->num_nodes)*100/lh->num_nodes), 135 (int)(total/n_used), 136 (int)((total%n_used)*100/n_used)); 226 unsigned long total=0,n_used=0; local 235 total+=num; 239 BIO_printf(out,"%lu items\n",total); [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.java | 126 int total = 0; local 128 int n = iis.read(input, total, input.length - total); 132 total += n; 133 if (total == input.length) { 142 assertEquals(output.length, total);
|
/external/linux-tools-perf/ |
builtin-stat.c | 513 static void print_noise_pct(double total, double avg) 518 pct = 100.0*total/avg; 559 double total, ratio = 0.0; local 562 total = avg_stats(&runtime_cycles_stats[cpu]); 564 if (total) 565 ratio = avg / total * 100.0; 582 double total, ratio = 0.0; local 585 total = avg_stats(&runtime_cycles_stats[cpu]); 587 if (total) 588 ratio = avg / total * 100.0 605 double total, ratio = 0.0; local 628 double total, ratio = 0.0; local 651 double total, ratio = 0.0; local 674 double total, ratio = 0.0; local 697 double total, ratio = 0.0; local 720 double total, ratio = 0.0; local 743 double total, ratio = 0.0; local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
SysinfoPanel.java | 345 long total = 0; local 353 total += (long) (Double.parseDouble(m.group(1)) * 1000); 358 total += value * 24 * 60 * 60 * 1000; 360 total += value * 60 * 60 * 1000; 362 total += value * 60 * 1000; 364 total += value * 1000; 366 total += value; 369 return total; 380 Pattern totalPattern = Pattern.compile("Total: (.+) uptime"); 381 double total = 0 local 495 long total = 0; local [all...] |
/external/webkit/Source/WebCore/dom/ |
ProgressEvent.idl | 31 readonly attribute unsigned long long total;
|
/external/webp/src/enc/ |
cost.h | 29 // Cost of coding 'nb' 1's and 'total-nb' 0's using 'proba' probability. 30 static inline uint64_t VP8BranchCost(uint64_t nb, uint64_t total, 32 return nb * VP8BitCost(1, proba) + (total - nb) * VP8BitCost(0, proba);
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/ |
Streams.java | 73 long total = 0; local 78 total += numRead; 79 if (total > limit) 85 return total;
|
/external/skia/include/views/ |
SkScrollBarView.h | 27 void setTotal(unsigned total);
|
/external/webkit/Source/WebCore/xml/ |
XMLHttpRequestProgressEventThrottle.h | 51 void dispatchProgressEvent(bool lengthComputable, unsigned long long loaded, unsigned long long total);
|
/frameworks/av/services/audioflinger/ |
AudioBufferProviderSource.h | 46 virtual ssize_t readVia(readVia_t via, size_t total, void *user, size_t block);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiPackage.java | 61 int total = 0; local 63 total += apiClass.getTotalMethods(); 65 return total;
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
DexTranslationAdvice.java | 99 * Calculates the total rop width of the list of SSA registers 106 int total = 0; local 109 total += sources.get(i).getCategory(); 112 return total;
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestThroughput.java | 43 private static long total = 0; field in class:TestThroughput 66 total++; 68 //System.out.println( "total:" + total + " counter:" + counter + " lastTime:" + lastTime + " time:" + time ); 75 System.out.println("messages per second:" + pps + " total messages:" + total);
|
/external/oprofile/libutil++/ |
utility.h | 86 * @param total 88 * return total == 0 ? 1.0 : (count / total); 90 inline double op_ratio(double count, double total) 92 return total == 0 ? 0.0 : (count / total);
|
/external/webkit/Tools/Scripts/ |
compare-timing-files | 77 my $total = 0; 80 $total += $results[$i]; 82 my $average = $total / $count;
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerTester.java | 154 "1/1", "1/N", "M/N", "0/N", "Fail", "Error", "Total", ""); 176 reportSummary("Total", null); 225 int total = 0; local 235 total++; 246 countString(count11, total), 247 countString(count1N, total), 248 countString(countMN, total), 249 countString(count0N, total), 250 countString(countFail, total), 251 countString(countErrors, total), [all...] |
/system/core/libdiskconfig/ |
diskutils.c | 41 uint64_t total = 0; local 76 total += nr_bytes; 104 ALOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|