Searched refs:sum (Results 1 – 8 of 8) sorted by relevance
/dalvik/tests/081-hot-exceptions/src/ |
D | Main.java | 28 int sum = 0; in main() local 34 sum += arrayObj2.getArrayElement(i); in main() 39 System.out.println("sum = " + sum); in main()
|
/dalvik/tests/081-hot-exceptions/ |
D | expected.txt | 1 sum = 0
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | DexFile.java | 656 int sum = (int) a32.getValue(); in calcChecksum() local 658 bytes[8] = (byte) sum; in calcChecksum() 659 bytes[9] = (byte) (sum >> 8); in calcChecksum() 660 bytes[10] = (byte) (sum >> 16); in calcChecksum() 661 bytes[11] = (byte) (sum >> 24); in calcChecksum()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | DexFile.java | 639 int sum = (int) a32.getValue(); in calcChecksum() local 641 bytes[8] = (byte) sum; in calcChecksum() 642 bytes[9] = (byte) (sum >> 8); in calcChecksum() 643 bytes[10] = (byte) (sum >> 16); in calcChecksum() 644 bytes[11] = (byte) (sum >> 24); in calcChecksum()
|
/dalvik/tools/dmtracedump/ |
D | TraceDump.c | 1535 double total, sum, per, sum_per; in printExclusiveProfile() local 1576 sum = 0; in printExclusiveProfile() 1588 sum += method->elapsedExclusive; in printExclusiveProfile() 1590 sum_per = 100.0 * sum / total; in printExclusiveProfile() 1696 double total, sum, per, sum_per; in printInclusiveProfile() local 1897 double total, sum, per, sum_per; in printClassProfiles() local 1962 sum = 0; in printClassProfiles() 1972 sum += pClass->elapsedExclusive; in printClassProfiles() 1973 sum_per = 100.0 * sum / total; in printClassProfiles() 2133 double total, sum, per, sum_per; in printMethodProfiles() local [all …]
|
/dalvik/vm/compiler/codegen/mips/ |
D | Assemble.cpp | 1383 unsigned long sum) in dumpTraceProfile() argument 1427 ((float ) count) / sum * 100.0, in dumpTraceProfile() 1491 unsigned long sum = 0; in dvmCompilerSortAndPrintTraceProfiles() local 1509 sum += dumpTraceProfile(&sortedEntries[i], in dvmCompilerSortAndPrintTraceProfiles() 1518 if (sum == 0) { in dvmCompilerSortAndPrintTraceProfiles() 1519 sum = 1; in dvmCompilerSortAndPrintTraceProfiles() 1522 ALOGD("JIT: Average execution count -> %d",(int)(sum / numTraces)); in dvmCompilerSortAndPrintTraceProfiles() 1530 sum); in dvmCompilerSortAndPrintTraceProfiles()
|
/dalvik/vm/compiler/codegen/arm/ |
D | Assemble.cpp | 2017 unsigned long sum) in dumpTraceProfile() argument 2060 ((float ) count) / sum * 100.0, in dumpTraceProfile() 2124 unsigned long sum = 0; in dvmCompilerSortAndPrintTraceProfiles() local 2142 sum += dumpTraceProfile(&sortedEntries[i], in dvmCompilerSortAndPrintTraceProfiles() 2151 if (sum == 0) { in dvmCompilerSortAndPrintTraceProfiles() 2152 sum = 1; in dvmCompilerSortAndPrintTraceProfiles() 2155 ALOGD("JIT: Average execution count -> %d",(int)(sum / numTraces)); in dvmCompilerSortAndPrintTraceProfiles() 2157 ALOGD("JIT: CodeCache efficiency -> %.2f",(float)sum / (float)gDvmJit.codeCacheByteUsed); in dvmCompilerSortAndPrintTraceProfiles() 2165 sum); in dvmCompilerSortAndPrintTraceProfiles()
|
/dalvik/vm/alloc/ |
D | Copying.cpp | 831 size_t sum = 0; in sumHeapBitmap() local 833 sum += CLZ(bitmap->bits[i]); in sumHeapBitmap() 835 return sum; in sumHeapBitmap()
|