Home
last modified time | relevance | path

Searched refs:iterator1 (Results 1 – 18 of 18) sorted by relevance

/external/guava/android/guava/src/com/google/common/collect/
DMultisets.java408 final Iterator<? extends Entry<? extends E>> iterator1 = multiset1.entrySet().iterator();
414 if (iterator1.hasNext()) {
415 Entry<? extends E> entry1 = iterator1.next();
470 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
475 while (iterator1.hasNext()) {
476 Entry<E> entry1 = iterator1.next();
542 final Iterator<? extends Entry<? extends E>> iterator1 = multiset1.entrySet().iterator();
547 if (iterator1.hasNext()) {
548 Entry<? extends E> entry1 = iterator1.next();
600 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
[all …]
DIterators.java262 public static boolean elementsEqual(Iterator<?> iterator1, Iterator<?> iterator2) {
263 while (iterator1.hasNext()) {
267 Object o1 = iterator1.next();
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeyCombinationSet.java79 Iterator<ModifierKeyCombination> iterator1 = combinations.iterator(); in compareTo() local
82 while (iterator1.hasNext() && iterator2.hasNext()) { in compareTo()
83 ModifierKeyCombination combination1 = iterator1.next(); in compareTo()
DModifierKeyCombination.java182 Iterator<ModifierKey> iterator1 = set1.iterator(); in compareSetsDescending() local
185 while (iterator1.hasNext() && iterator2.hasNext()) { in compareSetsDescending()
186 ModifierKey modifierKey1 = iterator1.next(); in compareSetsDescending()
/external/guava/guava/src/com/google/common/collect/
DMultisets.java439 final Iterator<? extends Entry<? extends E>> iterator1 = multiset1.entrySet().iterator();
445 if (iterator1.hasNext()) {
446 Entry<? extends E> entry1 = iterator1.next();
501 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
506 while (iterator1.hasNext()) {
507 Entry<E> entry1 = iterator1.next();
573 final Iterator<? extends Entry<? extends E>> iterator1 = multiset1.entrySet().iterator();
578 if (iterator1.hasNext()) {
579 Entry<? extends E> entry1 = iterator1.next();
631 final Iterator<Entry<E>> iterator1 = multiset1.entrySet().iterator();
[all …]
DIterators.java262 public static boolean elementsEqual(Iterator<?> iterator1, Iterator<?> iterator2) {
263 while (iterator1.hasNext()) {
267 Object o1 = iterator1.next();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java585 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument
588 if (!iterator1.hasNext()) { in compare()
593 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
611 Iterator<T> iterator1 = o1.iterator(); in compare() local
613 return compare(iterator1, iterator2); in compare()
671 Iterator<T> iterator1 = o1.iterator(); in compareEntrySets() local
674 if (!iterator1.hasNext()) { in compareEntrySets()
679 T item1 = iterator1.next(); in compareEntrySets()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java582 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument
585 if (!iterator1.hasNext()) { in compare()
590 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
608 Iterator<T> iterator1 = o1.iterator(); in compare() local
610 return compare(iterator1, iterator2); in compare()
668 Iterator<T> iterator1 = o1.iterator(); in compareEntrySets() local
671 if (!iterator1.hasNext()) { in compareEntrySets()
676 T item1 = iterator1.next(); in compareEntrySets()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java292 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() local
301 offset = iterator1.getOffset(); in TestElemIter()
306 iterator1.setOffset(6); in TestElemIter()
307 iterator1.setOffset(0); in TestElemIter()
310 order1 = iterator1.next(); in TestElemIter()
311 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
316 iterator1.hashCode(); // We don't expect any particular value. in TestElemIter()
324 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
335 order1 = iterator1.next(); in TestElemIter()
343 order1 = iterator1.next(); in TestElemIter()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java295 …CollationElementIterator iterator1 = ((RuleBasedCollator)col).getCollationElementIterator(testStri… in TestElemIter() local
304 offset = iterator1.getOffset(); in TestElemIter()
309 iterator1.setOffset(6); in TestElemIter()
310 iterator1.setOffset(0); in TestElemIter()
313 order1 = iterator1.next(); in TestElemIter()
314 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
319 iterator1.hashCode(); // We don't expect any particular value. in TestElemIter()
327 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
338 order1 = iterator1.next(); in TestElemIter()
346 order1 = iterator1.next(); in TestElemIter()
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DDualScaleXYPlotExampleActivity.java155 Iterator<XYSeries> iterator1 = myXYPlot_LEFT.getSeriesSet().iterator(); in updateView() local
156 while(iterator1.hasNext()) { in updateView()
157 XYSeries setElement = iterator1.next(); in updateView()
DBarPlotExampleActivity.java279 Iterator<XYSeries> iterator1 = plot.getSeriesSet().iterator(); in updatePlot() local
280 while(iterator1.hasNext()) { in updatePlot()
281 XYSeries setElement = iterator1.next(); in updatePlot()
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp649 …CollationElementIterator *iterator1 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter() local
658 int32_t offset = iterator1->getOffset(); in TestElemIter()
663 iterator1->setOffset(6, success); in TestElemIter()
668 iterator1->setOffset(0, success); in TestElemIter()
670 doAssert((*iterator1 == *iterator2), "The two iterators should be the same"); in TestElemIter()
671 doAssert((*iterator1 != *iterator3), "The two iterators should be different"); in TestElemIter()
673 doAssert((*coliter == *iterator1), "The two iterators should be the same"); in TestElemIter()
677 order1 = iterator1->next(success); in TestElemIter()
684 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter()
694 doAssert((*iterator1 == *iterator2), "The second iterator advance failed"); in TestElemIter()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcapitst.c1276 UCollationElements *iterator1, *iterator2, *iterator3; in TestElemIter() local
1293 iterator1 = ucol_openElements(col, testString1, u_strlen(testString1), &status); in TestElemIter()
1317 offset=ucol_getOffset(iterator1); in TestElemIter()
1319 ucol_setOffset(iterator1, 6, &status); in TestElemIter()
1324 if(ucol_getOffset(iterator1)==6) in TestElemIter()
1327 log_err("error in set and get Offset got %d instead of 6\n", ucol_getOffset(iterator1)); in TestElemIter()
1330 ucol_setOffset(iterator1, 0, &status); in TestElemIter()
1331 order1 = ucol_next(iterator1, &status); in TestElemIter()
1355 order1=ucol_next(iterator1, &status); in TestElemIter()
1368 order1=ucol_next(iterator1, &status); in TestElemIter()
[all …]
/external/starlark-go/starlark/testdata/
Ddict.star151 def iterator1():
155 assert.fails(iterator1, "insert.*during iteration")
Dlist.star240 def iterator1():
246 assert.fails(iterator1, "assign to element.* during iteration")
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp6603 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6605 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6672 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6674 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6722 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6724 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6792 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6794 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6835 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6841 if (iterator1.second.find(nLevel) == iterator1.second.end()) in verifyResultBuffer()
/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java1079 Iterator<T> iterator1 = o1.iterator(); in compareEntrySets() local
1082 if (!iterator1.hasNext()) { in compareEntrySets()
1087 T item1 = iterator1.next(); in compareEntrySets()