Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 17 of 17) sorted by relevance

/dalvik/dx/junit-tests/com/android/dx/util/
DBitIntSetTest.java53 IntIterator iter = set.iterator(); in test_iterator() local
55 assertTrue(iter.hasNext()); in test_iterator()
56 assertEquals(iter.next(), 0); in test_iterator()
57 assertTrue(iter.hasNext()); in test_iterator()
58 assertEquals(iter.next(), 1); in test_iterator()
59 assertTrue(iter.hasNext()); in test_iterator()
60 assertEquals(iter.next(), 31); in test_iterator()
62 assertFalse(iter.hasNext()); in test_iterator()
65 iter.next(); in test_iterator()
106 IntIterator iter = set.iterator(); in test_expand() local
[all …]
DListIntSetTest.java53 IntIterator iter = set.iterator(); in test_iterator() local
55 assertTrue(iter.hasNext()); in test_iterator()
56 assertEquals(iter.next(), 0); in test_iterator()
57 assertTrue(iter.hasNext()); in test_iterator()
58 assertEquals(iter.next(), 1); in test_iterator()
59 assertTrue(iter.hasNext()); in test_iterator()
60 assertEquals(iter.next(), 31); in test_iterator()
62 assertFalse(iter.hasNext()); in test_iterator()
65 iter.next(); in test_iterator()
75 IntIterator iter = set.iterator(); in test_empty() local
[all …]
/dalvik/vm/test/
DTestHash.cpp60 HashIter iter; in dumpIterator() local
61 for (dvmHashIterBegin(pTab, &iter); !dvmHashIterDone(&iter); in dumpIterator()
62 dvmHashIterNext(&iter)) in dumpIterator()
159 HashIter iter; in dvmTestHash() local
160 for (dvmHashIterBegin(pTab, &iter); !dvmHashIterDone(&iter); in dvmTestHash()
161 dvmHashIterNext(&iter)) in dvmTestHash()
/dalvik/tests/023-many-interfaces/src/
DManyInterfaces.java159 private static void report(String label, long start, long end, int iter, in report() argument
163 + " (" + (end - start) / (iter*rept) + "ns per call)"); in report()
181 int iter = 32768; in run() local
192 testIface001(obj, iter); in run()
194 report("testIface001", start, end, iter, rept); in run()
197 testIface049(obj, iter); in run()
199 report("testIface049", start, end, iter, rept); in run()
202 testIface099(obj, iter); in run()
204 report("testIface099", start, end, iter, rept); in run()
207 testVirt001(obj, iter); in run()
[all …]
/dalvik/vm/hprof/
DHprofString.cpp78 HashIter iter; in hprofDumpStrings() local
84 for (err = 0, dvmHashIterBegin(gStringHashTable, &iter); in hprofDumpStrings()
85 err == 0 && !dvmHashIterDone(&iter); in hprofDumpStrings()
86 dvmHashIterNext(&iter)) in hprofDumpStrings()
92 str = (const char *)dvmHashIterData(&iter); in hprofDumpStrings()
DHprofClass.cpp107 HashIter iter; in hprofDumpClasses() local
113 for (err = 0, dvmHashIterBegin(gClassHashTable, &iter); in hprofDumpClasses()
114 err == 0 && !dvmHashIterDone(&iter); in hprofDumpClasses()
115 dvmHashIterNext(&iter)) in hprofDumpClasses()
121 clazz = (const ClassObject *)dvmHashIterData(&iter); in hprofDumpClasses()
/dalvik/tests/088-monitor-verification/src/
DMain.java65 synchronized void recursiveSync(int iter) { in recursiveSync() argument
66 if (iter < 40) { in recursiveSync()
67 recursiveSync(iter+1); in recursiveSync()
/dalvik/dx/src/com/android/dx/util/
DListIntSet.java95 IntIterator iter = other.iterator(); in merge() local
96 while (iter.hasNext()) { in merge()
97 add(iter.next()); in merge()
DBitIntSet.java87 IntIterator iter = other.iterator(); in merge() local
88 while (iter.hasNext()) { in merge()
89 add(iter.next()); in merge()
/dalvik/dexgen/src/com/android/dexgen/util/
DListIntSet.java95 IntIterator iter = other.iterator(); in merge() local
96 while (iter.hasNext()) { in merge()
97 add(iter.next()); in merge()
DBitIntSet.java87 IntIterator iter = other.iterator(); in merge() local
88 while (iter.hasNext()) { in merge()
89 add(iter.next()); in merge()
/dalvik/hit/src/com/android/hit/
DQueries.java85 Iterator<ClassObj> iter = classes.iterator(); in classes() local
87 while (iter.hasNext()) { in classes()
88 ClassObj theClass = iter.next(); in classes()
93 iter.remove(); in classes()
/dalvik/tests/074-gc-thrash/src/
DMain.java201 int iter = 0; in run() local
207 dive(0, iter); in run()
209 iter += MAX_DEPTH; in run()
244 System.out.println("Deep: iters=" + iter / MAX_DEPTH); in run()
/dalvik/vm/
DHash.cpp392 HashIter iter; in dvmHashTableProbeCount() local
397 for (dvmHashIterBegin(pHashTable, &iter); !dvmHashIterDone(&iter); in dvmHashTableProbeCount()
398 dvmHashIterNext(&iter)) in dvmHashTableProbeCount()
400 const void* data = (const void*)dvmHashIterData(&iter); in dvmHashTableProbeCount()
DDebugger.cpp626 HashIter iter; in dvmDbgGetVisibleClassList() local
627 for (dvmHashIterBegin(gDvm.loadedClasses, &iter); !dvmHashIterDone(&iter); in dvmDbgGetVisibleClassList()
628 dvmHashIterNext(&iter)) in dvmDbgGetVisibleClassList()
630 ClassObject* clazz = (ClassObject*) dvmHashIterData(&iter); in dvmDbgGetVisibleClassList()
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java982 IntIterator iter = ssaSet.iterator(); in ssaSetToSpecs() local
985 while (iter.hasNext()) { in ssaSetToSpecs()
986 result.set(i++, getDefinitionSpecForSsaReg(iter.next())); in ssaSetToSpecs()
/dalvik/vm/analysis/
DLiveness.cpp99 for (int iter = 0;;) { in dvmComputeLiveness() local
102 if (iter++ > 100000) { in dvmComputeLiveness()