Home
last modified time | relevance | path

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

12

/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
DBreakIterator.java66 int iter = NativeBreakIterator.getCharacterInstanceImpl(""); in getCharacterInstance() local
67 return new RuleBasedBreakIterator(iter, BI_CHAR_INSTANCE); in getCharacterInstance()
71 int iter = NativeBreakIterator.getCharacterInstanceImpl(where.toString()); in getCharacterInstance() local
72 return new RuleBasedBreakIterator(iter, BI_CHAR_INSTANCE); in getCharacterInstance()
76 int iter = NativeBreakIterator.getLineInstanceImpl(""); in getLineInstance() local
77 return new RuleBasedBreakIterator(iter, BI_LINE_INSTANCE); in getLineInstance()
81 int iter = NativeBreakIterator.getLineInstanceImpl(where.toString()); in getLineInstance() local
82 return new RuleBasedBreakIterator(iter, BI_LINE_INSTANCE); in getLineInstance()
86 int iter = NativeBreakIterator.getSentenceInstanceImpl(""); in getSentenceInstance() local
87 return new RuleBasedBreakIterator(iter, BI_SENT_INSTANCE); in getSentenceInstance()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
DCertStoreCollectionSpi.java39 Iterator iter = params.getCollection().iterator(); in engineGetCertificates() local
43 while (iter.hasNext()) in engineGetCertificates()
45 Object obj = iter.next(); in engineGetCertificates()
55 while (iter.hasNext()) in engineGetCertificates()
57 Object obj = iter.next(); in engineGetCertificates()
75 Iterator iter = params.getCollection().iterator(); in engineGetCRLs() local
79 while (iter.hasNext()) in engineGetCRLs()
81 Object obj = iter.next(); in engineGetCRLs()
91 while (iter.hasNext()) in engineGetCRLs()
93 Object obj = iter.next(); in engineGetCRLs()
DPKIXCertPathBuilderSpi.java175 Iterator iter = trustAnchors.iterator(); in findTrustAnchor() local
191 while (iter.hasNext() && trust == null) in findTrustAnchor()
193 trust = (TrustAnchor)iter.next(); in findTrustAnchor()
272 Iterator iter = certStores.iterator(); in findCertificates() local
274 while (iter.hasNext()) in findCertificates()
276 CertStore certStore = (CertStore)iter.next(); in findCertificates()
316 Iterator iter; in findIssuer() local
319 iter = findCertificates(certSelect, certStores).iterator(); in findIssuer()
327 while (iter.hasNext() && issuer == null) in findIssuer()
329 issuer = (X509Certificate)iter.next(); in findIssuer()
DPKIXCertPath.java256 Iterator iter = getEncodings(); in getEncoded() local
257 if (iter.hasNext()) in getEncoded()
259 Object enc = iter.next(); in getEncoded()
285 ListIterator iter = certificates.listIterator(certificates.size()); in getEncoded() local
286 while (iter.hasPrevious()) in getEncoded()
288 v.add(toASN1Object((X509Certificate)iter.previous())); in getEncoded()
/dalvik/vm/hprof/
DHprofStackFrame.c29 HashIter iter; in hprofStartup_StackFrame() local
37 for (dvmHashIterBegin(gStackFrameHashTable, &iter); in hprofStartup_StackFrame()
38 !dvmHashIterDone(&iter); in hprofStartup_StackFrame()
39 dvmHashIterNext(&iter)) { in hprofStartup_StackFrame()
44 stackFrameEntry = (StackFrameEntry *) dvmHashIterData(&iter); in hprofStartup_StackFrame()
86 HashIter iter; in hprofShutdown_StackFrame() local
89 for (dvmHashIterBegin(gStackFrameHashTable, &iter); in hprofShutdown_StackFrame()
90 !dvmHashIterDone(&iter); in hprofShutdown_StackFrame()
91 dvmHashIterNext(&iter)) { in hprofShutdown_StackFrame()
98 stackFrameEntry = (const StackFrameEntry *) dvmHashIterData(&iter); in hprofShutdown_StackFrame()
[all …]
DHprofStack.c43 HashIter iter; in hprofStartup_Stack() local
46 for (dvmHashIterBegin(gStackTraceHashTable, &iter); in hprofStartup_Stack()
47 !dvmHashIterDone(&iter); in hprofStartup_Stack()
48 dvmHashIterNext(&iter)) { in hprofStartup_Stack()
52 stackTraceEntry = (StackTraceEntry *) dvmHashIterData(&iter); in hprofStartup_Stack()
62 HashIter iter; in hprofShutdown_Stack() local
65 for (dvmHashIterBegin(gStackTraceHashTable, &iter); in hprofShutdown_Stack()
66 !dvmHashIterDone(&iter); in hprofShutdown_Stack()
67 dvmHashIterNext(&iter)) { in hprofShutdown_Stack()
74 stackTraceEntry = (StackTraceEntry *) dvmHashIterData(&iter); in hprofShutdown_Stack()
[all …]
DHprofString.c83 HashIter iter; in hprofDumpStrings() local
89 for (err = 0, dvmHashIterBegin(gStringHashTable, &iter); in hprofDumpStrings()
90 err == 0 && !dvmHashIterDone(&iter); in hprofDumpStrings()
91 dvmHashIterNext(&iter)) in hprofDumpStrings()
97 str = (const char *)dvmHashIterData(&iter); in hprofDumpStrings()
DHprofClass.c185 HashIter iter; in hprofDumpClasses() local
191 for (err = 0, dvmHashIterBegin(gClassHashTable, &iter); in hprofDumpClasses()
192 err == 0 && !dvmHashIterDone(&iter); in hprofDumpClasses()
193 dvmHashIterNext(&iter)) in hprofDumpClasses()
199 clazz = (const ClassObject *)dvmHashIterData(&iter); in hprofDumpClasses()
/dalvik/libcore/security/src/main/java/java/security/
DUnresolvedPermissionCollection.java93 for (Iterator iter = klasses.values().iterator(); iter.hasNext();) { in elements()
94 all.addAll((Collection)iter.next()); in elements()
138 for (Iterator iter = klassMates.iterator(); iter.hasNext();) { in resolveCollection()
139 UnresolvedPermission element = (UnresolvedPermission)iter in resolveCollection()
150 iter.remove(); in resolveCollection()
168 for (Iterator iter = klasses.keySet().iterator(); iter.hasNext();) { in writeObject()
169 String key = (String)iter.next(); in writeObject()
188 for (Iterator iter = permissions.keySet().iterator(); iter in readObject()
190 String key = (String)iter.next(); in readObject()
DBasicPermissionCollection.java200 for (Iterator<Permission> iter = items.values().iterator(); iter.hasNext();) { in readObject()
201 if (iter.next().getClass() != permClass) { in readObject()
/dalvik/vm/test/
DTestHash.c60 HashIter iter; in dumpIterator() local
61 for (dvmHashIterBegin(pTab, &iter); !dvmHashIterDone(&iter); in dumpIterator()
62 dvmHashIterNext(&iter)) in dumpIterator()
64 const char* str = (const char*) dvmHashIterData(&iter); in dumpIterator()
159 HashIter iter; in dvmTestHash() local
160 for (dvmHashIterBegin(pTab, &iter); !dvmHashIterDone(&iter); in dvmTestHash()
161 dvmHashIterNext(&iter)) in dvmTestHash()
/dalvik/dx/src/com/android/dx/util/_tests/
D_BitIntSet.java58 IntIterator iter = set.iterator(); in test_iterator() local
60 assertTrue(iter.hasNext()); in test_iterator()
61 assertEquals(iter.next(), 0); in test_iterator()
62 assertTrue(iter.hasNext()); in test_iterator()
63 assertEquals(iter.next(), 1); in test_iterator()
64 assertTrue(iter.hasNext()); in test_iterator()
65 assertEquals(iter.next(), 31); in test_iterator()
67 assertFalse(iter.hasNext()); in test_iterator()
70 iter.next(); in test_iterator()
111 IntIterator iter = set.iterator(); in test_expand() local
[all …]
D_ListIntSet.java58 IntIterator iter = set.iterator(); in test_iterator() local
60 assertTrue(iter.hasNext()); in test_iterator()
61 assertEquals(iter.next(), 0); in test_iterator()
62 assertTrue(iter.hasNext()); in test_iterator()
63 assertEquals(iter.next(), 1); in test_iterator()
64 assertTrue(iter.hasNext()); in test_iterator()
65 assertEquals(iter.next(), 31); in test_iterator()
67 assertFalse(iter.hasNext()); in test_iterator()
70 iter.next(); in test_iterator()
80 IntIterator iter = set.iterator(); in test_empty() local
[all …]
/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/libcore/dom/src/test/java/org/w3c/domts/
DDOMErrorMonitor.java58 Iterator iter = errors.iterator(); in assertLowerSeverity() local
59 while (iter.hasNext()) { in assertLowerSeverity()
60 DOMError error = (DOMError) iter.next(); in assertLowerSeverity()
/dalvik/libcore/icu/src/main/native/
DBreakIteratorInterface.c43 UBreakIterator *iter = ubrk_open(UBRK_CHARACTER, localeChars, NULL, 0, &status); in getCharacterInstanceImpl() local
51 return (long) iter; in getCharacterInstanceImpl()
62 UBreakIterator *iter = ubrk_open(type, localeChars, NULL, 0, &status); in getLineInstanceImpl() local
70 return (long) iter; in getLineInstanceImpl()
81 UBreakIterator *iter = ubrk_open(type, localeChars, NULL, 0, &status); in getSentenceInstanceImpl() local
89 return (long) iter; in getSentenceInstanceImpl()
100 UBreakIterator *iter = ubrk_open(type, localeChars, NULL, 0, &status); in getWordInstanceImpl() local
108 return (long) iter; in getWordInstanceImpl()
126 UBreakIterator *iter = ubrk_safeClone(bi, NULL, &buffersize, &status); in cloneImpl() local
132 return (long) iter; in cloneImpl()
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DEnumMapTest.java501 Iterator iter = set.iterator(); in test_entrySet() local
502 entry = (Map.Entry) iter.next(); in test_entrySet()
510 entry = (Map.Entry) iter.next(); in test_entrySet()
523 iter.remove(); in test_entrySet()
525 iter.remove(); in test_entrySet()
547 iter = set.iterator(); in test_entrySet()
548 entry = (Map.Entry) iter.next(); in test_entrySet()
559 iter.next(); in test_entrySet()
568 iter = set.iterator(); in test_entrySet()
573 iter.remove(); in test_entrySet()
[all …]
DPriorityQueueTest.java59 Iterator<Integer> iter = integerQueue.iterator(); in test_iterator() local
60 assertNotNull(iter); in test_iterator()
62 while (iter.hasNext()) { in test_iterator()
63 iterResult.add(iter.next()); in test_iterator()
82 Iterator<Integer> iter = integerQueue.iterator(); in test_iterator_empty() local
84 iter.next(); in test_iterator_empty()
90 iter = integerQueue.iterator(); in test_iterator_empty()
92 iter.remove(); in test_iterator_empty()
111 Iterator<Integer> iter = integerQueue.iterator(); in test_iterator_outofbound() local
112 iter.next(); in test_iterator_outofbound()
[all …]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
DHttpConnectionManager.java104 …for (Iterator<List<HttpConnection>> iter = freeConnectionMap.values().iterator(); iter.hasNext();)… in clear()
105 List<HttpConnection> connections = iter.next(); in clear()
164 …for (Iterator<List<HttpConnection>> iter = freeConnectionMap.values().iterator(); iter.hasNext();)… in numFreeConnections()
165 List<HttpConnection> connections = iter.next(); in numFreeConnections()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/
DDefaultPolicyParser.java143 for (Iterator<GrantEntry> iter = grantEntries.iterator(); iter.hasNext();) { in parse()
144 DefaultPolicyScanner.GrantEntry ge = iter in parse()
219 for (Iterator<PrincipalEntry> iter = ge.principals.iterator(); iter.hasNext();) { in resolveGrant()
220 DefaultPolicyScanner.PrincipalEntry pe = iter in resolveGrant()
233 for (Iterator<PermissionEntry> iter = ge.permissions.iterator(); iter.hasNext();) { in resolveGrant()
234 DefaultPolicyScanner.PermissionEntry pe = iter in resolveGrant()
346 for (Iterator<PrincipalEntry> iter = ge.principals.iterator(); iter in resolve()
348 DefaultPolicyScanner.PrincipalEntry pr = iter in resolve()
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java110 Iterator iter = values.iterator(); in broadcast() local
112 while (iter.hasNext()) { in broadcast()
113 ChunkHandler handler = (ChunkHandler) iter.next(); in broadcast()
/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/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/libcore/icu/src/main/java/com/ibm/icu4jni/charset/
DCharsetProviderICU.java114 Iterator iter = new CharsetIterator(charsets); in charsets() local
115 return iter; in charsets()

12