/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LanguageTag.java | 189 StringTokenIterator itr; in parse() local 195 itr = new StringTokenIterator(gfmap[1], SEP); in parse() 197 itr = new StringTokenIterator(languageTag, SEP); in parse() 203 if (tag.parseLanguage(itr, sts)) { in parse() 204 tag.parseExtlangs(itr, sts); in parse() 205 tag.parseScript(itr, sts); in parse() 206 tag.parseRegion(itr, sts); in parse() 207 tag.parseVariants(itr, sts); in parse() 208 tag.parseExtensions(itr, sts); in parse() 210 tag.parsePrivateuse(itr, sts); in parse() [all …]
|
D | InternalLocaleBuilder.java | 148 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword() local 149 while (!itr.isDone()) { in setUnicodeLocaleKeyword() 150 String s = itr.current(); in setUnicodeLocaleKeyword() 154 itr.currentStart()); in setUnicodeLocaleKeyword() 156 itr.next(); in setUnicodeLocaleKeyword() 194 StringTokenIterator itr = new StringTokenIterator(val, LanguageTag.SEP); in setExtension() local 195 while (!itr.isDone()) { in setExtension() 196 String s = itr.current(); in setExtension() 205 itr.currentStart()); in setExtension() 207 itr.next(); in setExtension() [all …]
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | AsList.java | 51 Iterator<Object> itr = Arrays.asList(array).iterator(); in testIterator() local 53 assertTrue(itr.hasNext()); in testIterator() 54 assertTrue(itr.hasNext()); // must be idempotent in testIterator() 55 assertSame(array[i], itr.next()); in testIterator() 57 itr.remove(); in testIterator() 63 assertFalse(itr.hasNext()); in testIterator() 65 assertFalse(itr.hasNext()); in testIterator() 67 itr.next(); in testIterator()
|
/libcore/ojluni/src/test/java/util/HashMap/ |
D | TreeBinAssert.java | 141 Iterator<Key> itr = null; // saved iterator, used for removals in doTest() local 144 if (itr == null) { in doTest() 145 itr = mkItr.apply(collection); in doTest() 147 itr.next(); in doTest() 148 itr.remove(); in doTest() 150 itr = null; in doTest()
|
D | ReplaceExisting.java | 76 Iterator<Integer> itr = hm.keySet().iterator(); in testItr() local 78 Integer retVal = itr.next(); in testItr() 90 while(itr.hasNext()) { in testItr() 91 Integer retVal = itr.next(); in testItr()
|
/libcore/ojluni/src/main/java/jdk/internal/util/jar/ |
D | JarIndex.java | 323 Iterator<Map.Entry<String,LinkedList<String>>> itr = indexMap.entrySet().iterator(); in merge() local 324 while(itr.hasNext()) { in merge() 325 Map.Entry<String,LinkedList<String>> e = itr.next(); in merge()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | HashMapTest.java | 432 for (Iterator<Integer> itr = map.keySet().iterator(); itr.hasNext(); ) { in test_putLjava_lang_ObjectLjava_lang_Object() 433 Integer key = itr.next(); in test_putLjava_lang_ObjectLjava_lang_Object() 445 for (Iterator<Integer> itr = map.keySet().iterator(); itr.hasNext(); ) { in test_putLjava_lang_ObjectLjava_lang_Object() 446 Integer key = itr.next(); in test_putLjava_lang_ObjectLjava_lang_Object()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | LinkedList.java | 298 private final java.util.LinkedList.ListItr itr; field in LinkedList.DescendingIterator 301 itr = null;
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedList.java | 1004 private final ListItr itr = new ListItr(size()); field in LinkedList.DescendingIterator 1006 return itr.hasPrevious(); in hasNext() 1009 return itr.previous(); in next() 1012 itr.remove(); in remove()
|
D | Collections.java | 601 ListIterator<? super T> itr = list.listIterator(); in fill() local 603 itr.next(); in fill() 604 itr.set(obj); in fill() 931 ListIterator<T> itr=list.listIterator(); in replaceAll() local 934 if (itr.next()==null) { in replaceAll() 935 itr.set(newVal); in replaceAll() 941 if (oldVal.equals(itr.next())) { in replaceAll() 942 itr.set(newVal); in replaceAll() 5564 Iterator<?> itr = ((List<?>) o).iterator(); 5566 while (itr.hasNext() && remaining-- > 0) { [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 267 Iterator<Attribute> itr = keys.iterator(); in AttributedString() 268 while (itr.hasNext()) { in AttributedString() 269 Attribute attributeKey = itr.next(); in AttributedString()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ArrayBlockingQueue.java | 909 void register(Itr itr) { in register() argument 911 head = new Node(itr, head); in register()
|