/device/generic/goldfish/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);
|
/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/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
PaddedBufferedBlockCipher.java | 96 int total = len + bufOff; local 97 int leftOver = total % buf.length; 103 return total + buf.length; 106 return total; 109 return total - leftOver + buf.length; 123 int total = len + bufOff; local 124 int leftOver = total % buf.length; 128 return total - buf.length; 131 return total - leftOver;
|
/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...] |
/external/skia/bench/ |
MemoryBench.cpp | 37 size_t total = fMinSize * 64; variable 44 while (size < total) {
|
/external/webkit/Source/WebCore/dom/ |
ProgressEvent.idl | 31 readonly attribute unsigned long long total;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
VCardTest.java | 45 int total = composer.getCount(); local 46 assertEquals(1, total);
|
/external/bouncycastle/bcprov/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/animated/ |
SkScrollBarView.h | 27 void setTotal(unsigned total);
|
/external/skia/legacy/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/include/media/nbaio/ |
AudioBufferProviderSource.h | 46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiPackage.java | 63 int total = 0; local 65 total += apiClass.getTotalMethods(); 67 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/skia/include/core/ |
SkChecksum.h | 25 static inline uintptr_t Mash(uintptr_t total, uintptr_t value) { 26 return ((total >> ROTR) | (total << ROTL)) ^ value;
|
/external/skia/tests/ |
AtomicTest.cpp | 35 int32_t total = base; local 38 total += gAdds[i].valueToAdd * gAdds[i].timesToAdd; 52 REPORTER_ASSERT(reporter, total == base);
|
/external/webkit/Tools/Scripts/ |
compare-timing-files | 77 my $total = 0; 80 $total += $results[$i]; 82 my $average = $total / $count;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollBarView.java | 61 // The content position is between 0 to "total". The current position is 63 public void setContentPosition(int position, int total) { 64 if (position == mContentPosition && total == mContentTotal) { 71 mContentTotal = total;
|
/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);
|