Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
/third_party/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 …]
/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
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()
/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
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()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DCommandAllocatorTests.cpp346 CommandIterator iterator1(std::move(allocator)); in TEST() local
347 CommandIterator iterator2(std::move(iterator1)); in TEST()
353 iterator1.MakeEmptyAsDataWasDestroyed(); in TEST()
357 CommandIterator iterator1; in TEST() local
358 CommandIterator iterator2(std::move(iterator1)); in TEST()
364 iterator1.MakeEmptyAsDataWasDestroyed(); in TEST()
/third_party/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 …]
/third_party/icu/icu4c/source/test/cintltst/
Dcapitst.c1397 UCollationElements *iterator1, *iterator2, *iterator3; in TestElemIter() local
1414 iterator1 = ucol_openElements(col, testString1, u_strlen(testString1), &status); in TestElemIter()
1438 offset=ucol_getOffset(iterator1); in TestElemIter()
1440 ucol_setOffset(iterator1, 6, &status); in TestElemIter()
1445 if(ucol_getOffset(iterator1)==6) in TestElemIter()
1448 log_err("error in set and get Offset got %d instead of 6\n", ucol_getOffset(iterator1)); in TestElemIter()
1451 ucol_setOffset(iterator1, 0, &status); in TestElemIter()
1452 order1 = ucol_next(iterator1, &status); in TestElemIter()
1476 order1=ucol_next(iterator1, &status); in TestElemIter()
1489 order1=ucol_next(iterator1, &status); in TestElemIter()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingMiscTests.cpp6614 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6616 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6683 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6685 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6733 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6735 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6803 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6805 const auto& currentNLevelToResultItemPtrVecMap = iterator1.second; in verifyResultBuffer()
6846 for (const auto& iterator1 : nRayToNLevelToResultItemPtrVecMap) in verifyResultBuffer() local
6852 if (iterator1.second.find(nLevel) == iterator1.second.end()) in verifyResultBuffer()