Home
last modified time | relevance | path

Searched refs:itr (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java188 StringTokenIterator itr; in parse() local
194 itr = new StringTokenIterator(gfmap[1], SEP); in parse()
196 itr = new StringTokenIterator(languageTag, SEP); in parse()
202 if (tag.parseLanguage(itr, sts)) { in parse()
203 tag.parseExtlangs(itr, sts); in parse()
204 tag.parseScript(itr, sts); in parse()
205 tag.parseRegion(itr, sts); in parse()
206 tag.parseVariants(itr, sts); in parse()
207 tag.parseExtensions(itr, sts); in parse()
209 tag.parsePrivateuse(itr, sts); in parse()
[all …]
DInternalLocaleBuilder.java148 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/main/java/sun/misc/
DJarIndex.java341 Iterator<Map.Entry<String,LinkedList<String>>> itr = indexMap.entrySet().iterator(); in merge() local
342 while(itr.hasNext()) { in merge()
343 Map.Entry<String,LinkedList<String>> e = itr.next(); in merge()
/libcore/ojluni/annotations/hiddenapi/java/util/
DLinkedList.java295 private final java.util.LinkedList.ListItr itr; field in LinkedList.DescendingIterator
298 itr = null;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashMapTest.java432 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/src/main/java/java/util/
DLinkedList.java993 private final ListItr itr = new ListItr(size()); field in LinkedList.DescendingIterator
995 return itr.hasPrevious(); in hasNext()
998 return itr.previous(); in next()
1001 itr.remove(); in remove()
DCollections.java575 ListIterator<? super T> itr = list.listIterator(); in fill() local
577 itr.next(); in fill()
578 itr.set(obj); in fill()
904 ListIterator<T> itr=list.listIterator(); in replaceAll() local
907 if (itr.next()==null) { in replaceAll()
908 itr.set(newVal); in replaceAll()
914 if (oldVal.equals(itr.next())) { in replaceAll()
915 itr.set(newVal); in replaceAll()
/libcore/ojluni/src/main/java/java/text/
DAttributedString.java270 Iterator<Attribute> itr = keys.iterator(); in AttributedString()
271 while (itr.hasNext()) { in AttributedString()
272 Attribute attributeKey = itr.next(); in AttributedString()