Home
last modified time | relevance | path

Searched refs:iterator2 (Results 1 – 11 of 11) sorted by relevance

/third_party/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
586 return iterator2.hasNext() ? -1 : 0; in compare()
587 } else if (!iterator2.hasNext()) { in compare()
590 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
609 Iterator<T> iterator2 = o2.iterator(); in compare() local
610 return compare(iterator1, iterator2); in compare()
669 Iterator<T> iterator2 = o2.iterator(); in compareEntrySets() local
672 return iterator2.hasNext() ? -1 : 0; in compareEntrySets()
673 } else if (!iterator2.hasNext()) { in compareEntrySets()
677 T item2 = iterator2.next(); in compareEntrySets()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DCollectionUtilities.java585 public static <T extends Comparable> int compare(Iterator<T> iterator1, Iterator<T> iterator2) { in compare() argument
589 return iterator2.hasNext() ? -1 : 0; in compare()
590 } else if (!iterator2.hasNext()) { in compare()
593 diff = CollectionUtilities.compare(iterator1.next(), iterator2.next()); in compare()
612 Iterator<T> iterator2 = o2.iterator(); in compare() local
613 return compare(iterator1, iterator2); in compare()
672 Iterator<T> iterator2 = o2.iterator(); in compareEntrySets() local
675 return iterator2.hasNext() ? -1 : 0; in compareEntrySets()
676 } else if (!iterator2.hasNext()) { in compareEntrySets()
680 T item2 = iterator2.next(); in compareEntrySets()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/
DTestUCharacterIterator.java88 UCharacterIterator iterator2 = UCharacterIterator.getInstance( in TestIteration() local
102 iterator2.setIndex(0); in TestIteration()
106 int index = iterator2.getIndex(); in TestIteration()
107 ch = iterator2.nextCodePoint(); in TestIteration()
123 iterator2.setIndex(ITERATION_STRING_.length()); in TestIteration()
125 int index = iterator2.getIndex(); in TestIteration()
126 ch = iterator2.previousCodePoint(); in TestIteration()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java85 UCharacterIterator iterator2 = UCharacterIterator.getInstance( in TestIteration() local
99 iterator2.setIndex(0); in TestIteration()
103 int index = iterator2.getIndex(); in TestIteration()
104 ch = iterator2.nextCodePoint(); in TestIteration()
120 iterator2.setIndex(ITERATION_STRING_.length()); in TestIteration()
122 int index = iterator2.getIndex(); in TestIteration()
123 ch = iterator2.previousCodePoint(); in TestIteration()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DCommandAllocatorTests.cpp347 CommandIterator iterator2(std::move(iterator1)); in TEST() local
350 bool hasNext = iterator2.NextCommandId(&type); in TEST()
354 iterator2.MakeEmptyAsDataWasDestroyed(); in TEST()
358 CommandIterator iterator2(std::move(iterator1)); in TEST() local
361 bool hasNext = iterator2.NextCommandId(&type); in TEST()
365 iterator2.MakeEmptyAsDataWasDestroyed(); in TEST()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationAPITest.java299 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() local
314 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
315 order2 = iterator2.next(); in TestElemIter()
327 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
355 iterator2.reset(); in TestElemIter()
359 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
361 order2 = iterator2.next(); in TestElemIter()
366 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
379 order2 = iterator2.next(); in TestElemIter()
394 doAssert(!(iterator2.equals(iterator3)), "The iterators should be different"); in TestElemIter()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java296 …CollationElementIterator iterator2 = ((RuleBasedCollator)col).getCollationElementIterator(chariter… in TestElemIter() local
311 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
312 order2 = iterator2.next(); in TestElemIter()
324 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
352 iterator2.reset(); in TestElemIter()
356 doAssert(!(iterator1.equals(iterator2)), "The first iterator advance failed"); in TestElemIter()
358 order2 = iterator2.next(); in TestElemIter()
363 … doAssert(iterator1.getOffset() == iterator2.getOffset(), "The second iterator advance failed"); in TestElemIter()
376 order2 = iterator2.next(); in TestElemIter()
391 doAssert(!(iterator2.equals(iterator3)), "The iterators should be different"); in TestElemIter()
/third_party/icu/icu4c/source/test/intltest/
Dapicoll.cpp655 …CollationElementIterator *iterator2 = ((RuleBasedCollator*)col)->createCollationElementIterator(te… in TestElemIter() local
670 doAssert((*iterator1 == *iterator2), "The two iterators should be the same"); in TestElemIter()
674 doAssert((*coliter == *iterator2), "The two iterators should be the same"); in TestElemIter()
684 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter()
685 order2 = iterator2->getOffset(); in TestElemIter()
687 order2 = iterator2->next(success); in TestElemIter()
694 doAssert((*iterator1 == *iterator2), "The second iterator advance failed"); in TestElemIter()
731 iterator1->reset(); iterator2->reset(); iterator3->reset(); in TestElemIter()
739 doAssert((*iterator1 != *iterator2), "The first iterator advance failed"); in TestElemIter()
741 order2 = iterator2->next(success); in TestElemIter()
[all …]
/third_party/node/test/parallel/
Dtest-stream-iterator-helpers-test262-tests.mjs86 const iterator2 = Readable.from([1, 2]).drop(3); constant
87 const result2 = await iterator2[Symbol.asyncIterator]().next();
/third_party/icu/icu4c/source/test/cintltst/
Dcapitst.c1397 UCollationElements *iterator1, *iterator2, *iterator3; in TestElemIter() local
1422 iterator2 = ucol_openElements(col, testString1, u_strlen(testString1), &status); in TestElemIter()
1457 order2=ucol_getOffset(iterator2); in TestElemIter()
1459 order2 = ucol_next(iterator2, &status); in TestElemIter()
1514 ucol_closeElements(iterator2); in TestElemIter()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp6619 for (const auto& iterator2 : currentNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6621 const auto& currentResultItemPtrVec = iterator2.second; in verifyResultBuffer()
6687 for (const auto& iterator2 : currentNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6689 const auto& currentNLevel = iterator2.first; in verifyResultBuffer()
6690 const auto& currentResultItemPtrVec = iterator2.second; in verifyResultBuffer()
6737 for (const auto& iterator2 : currentNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6739 const auto& currentNLevel = iterator2.first; in verifyResultBuffer()
6740 const auto& currentResultItemPtrVec = iterator2.second; in verifyResultBuffer()
6807 for (const auto& iterator2 : currentNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6809 const auto& currentNLevel = iterator2.first; in verifyResultBuffer()
[all …]