/external/stlport/test/unit/ |
times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/bionic/libc/stdio/ |
fread.c | 54 size_t total; local 65 total = resid; 131 return ((total - resid) / size); 149 return ((total - resid) / size);
|
/external/sqlite/android/ |
PhoneNumberUtilsTest.cpp | 32 #define EXPECT(function, input1, input2, expected, total, error) \ 36 (total)++; \ 51 (total), (error)) 56 (total), (error)) 59 int total = 0; local 155 printf("total: %d, error: %d\n\n", total, error);
|
/system/core/libcutils/ |
uio.c | 24 int total = 0; local 33 if (total == 0) 34 total = -1; 40 total += ret; 46 return total; 51 int total = 0; local 60 if (total == 0) 61 total = -1; 67 total += ret; 73 return total; [all...] |
/bootable/diskinstaller/libdiskconfig/ |
diskutils.c | 41 uint64_t total = 0; local 76 total += nr_bytes; 104 LOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/dalvik/libcore/support/src/test/java/tests/support/ |
ThrowingReader.java | 30 private int total = 0; field in class:ThrowingReader 41 total++; 49 if (total < throwAt) { 50 count = Math.min(count, (throwAt - total)); 54 total += returned; 59 if (total == throwAt) {
|
/system/core/libdiskconfig/ |
diskutils.c | 41 uint64_t total = 0; local 76 total += nr_bytes; 104 LOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset);
|
/external/webkit/SunSpider/resources/ |
sunspider-analyze-results.js | 31 var total = 0; variable 49 itemTotals = {total: []}; 75 itemTotals["total"][i] = 0; 92 itemTotals["total"][i] += time; 106 total += time; 115 mean = total / count; 137 stdDev = standardDeviation(mean, itemTotals["total"]); 191 var width = "Total".length; 250 print(resultLine(labelWidth, 0, "Total", meanWidth, mean, stdErr));
|
sunspider-compare-results.js | 71 itemTotals1 = {total: []}; 97 itemTotals1["total"][i] = 0; 106 itemTotals2 = {total: []}; 132 itemTotals2["total"][i] = 0; 150 itemTotals["total"][i] += time; 159 var total = 0; 166 total += time; 172 return total; 175 function computeMeans(count, total, categoryTotals, categoryMeans, testTotalsByCategory, testMeansByCategory) 177 var mean = total / count [all...] |
/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 );
|
/external/netperf/ |
hist.h | 56 int total; member in struct:histogram_struct
|
/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...] |
/external/stlport/test/eh/ |
test_map.cpp | 93 size_t total = 0; local 94 EH_DISTANCE( m.begin(), m.end(), total ); 95 assert( m.size() == total );
|
/external/webkit/WebCore/dom/ |
ProgressEvent.h | 39 static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total) 41 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); 53 unsigned total() const { return m_total; } function in class:WebCore::ProgressEvent 59 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total);
|
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 76 jlong total = -1; local 83 if (num >= 0) total = total < 0 ? num : total + num; 88 return total; 94 // Mobile stats get accessed a lot more often than total stats. 122 // Total stats are read less often, so we're willing to put up
|
/frameworks/base/media/libstagefright/ |
CachingDataSource.cpp | 79 size_t total = 0; local 138 total += copy; 150 return total;
|
/packages/apps/Email/src/com/android/exchange/provider/ |
GalResult.java | 25 // Total number of matches in this result 26 public int total; field in class:GalResult
|
/sdk/emulator/qtools/ |
hist_trace.cpp | 23 int total = 0; local 44 total += 1; 53 per = 100.0 * hist[ii] / total; 55 sum_per = 100.0 * sum / total; 58 per = 100.0 * underflow / total; 60 per = 100.0 * overflow / total; 62 printf("total: %6d\n", total);
|
/dalvik/dx/src/com/android/dx/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;
|
/dalvik/libcore/security/src/main/java/java/security/ |
Policy.java | 112 PermissionCollection total = getPermissions(domain); local 114 if (total == null) { 115 total = inherent; 118 total.add(en.nextElement()); 121 if (total != null && total.implies(permission)) {
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/ |
RandomBitsSupplier.java | 130 int total = 0; local 136 bytesRead = bis.read(bytes, offset, numBytes-total); 146 total += bytesRead; 149 if ( total >= numBytes ) {
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/ |
PaddedBlockCipher.java | 45 int total = len + bufOff; local 46 int leftOver = total % buf.length; 52 return total + buf.length; 55 return total; 58 return total - leftOver + buf.length; 72 int total = len + bufOff; local 73 int leftOver = total % buf.length; 77 return total - buf.length; 80 return total - leftOver;
|
/external/icu4c/test/perf/usetperf/ |
usetperf.cpp | 47 int32_t total; member in class:CmdOp 51 total = 0; 56 ++total; 61 return total;
|
/external/skia/src/views/ |
SkScrollBarView.cpp | 46 void SkScrollBarView::setTotal(unsigned total) 48 if ((int)total < 0) 49 total = 0; 51 if (fTotalLength != total) 53 fTotalLength = total; 63 if (dom.findS32(node, "total", &value)) 115 int total = fTotalLength; local 120 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show 122 total = 1; // avoid divide-by-zero. should be done by skin/scrip [all...] |