Home
last modified time | relevance | path

Searched refs:iter1 (Results 1 – 25 of 32) sorted by relevance

12

/third_party/icu/icu4c/source/samples/uciter8/
Duciter8.c53 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
59 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
69 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
82 c1=iter1->current(iter1); in compareIterators()
91 c1=iter1->next(iter1); in compareIterators()
94 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
101 c1=iter1->previous(iter1); in compareIterators()
104 …%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
110 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators()
115 if(!iter1->hasNext(iter1)) { in compareIterators()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/uciter8/
Duciter8.c53 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
59 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
69 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
82 c1=iter1->current(iter1); in compareIterators()
91 c1=iter1->next(iter1); in compareIterators()
94 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
101 c1=iter1->previous(iter1); in compareIterators()
104 …%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
110 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators()
115 if(!iter1->hasNext(iter1)) { in compareIterators()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dcustrtst.c433 UCharIterator iter1, iter2; in TestStringFunctions() local
468 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions()
470 if(u_strCompareIter(&iter1, &iter2, true)>=0) { in TestStringFunctions()
473 r1=u_strCompareIter(&iter1, &iter2, false); in TestStringFunctions()
1253 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
1259 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
1269 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1282 c1=iter1->current(iter1); in compareIterators()
1291 c1=iter1->next(iter1); in compareIterators()
1294 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
[all …]
Dcitertst.c711 UCollationElements *iter1, *iter2; in TestSetText() local
719 iter1=ucol_openElements(en_us, test1, u_strlen(test1), &status); in TestSetText()
744 ucol_closeElements(iter1); in TestSetText()
760 assertEqual(iter1, iter2); in TestSetText()
772 ucol_closeElements(iter1); in TestSetText()
Dcmsccoll.c1442 UCollationElements *iter1; in TestContraction() local
1451 iter1 = ucol_openElements(coll, testdata[i], 2, &status); in TestContraction()
1467 if (ucol_next(iter1, &status) != ce) { in TestContraction()
1476 if (ucol_next(iter1, &status) != UCOL_NULLORDER) { in TestContraction()
1480 ucol_closeElements(iter1); in TestContraction()
1504 UCollationElements *iter1, in TestContraction()
1516 iter1 = ucol_openElements(coll1, &ch, 1, &status); in TestContraction()
1522 ce = ucol_next(iter1, &status); in TestContraction()
1535 ce = ucol_next(iter1, &status); in TestContraction()
1545 ucol_closeElements(iter1); in TestContraction()
Dcapitst.c455 UCollationElements *iter1, *iter2; in TestRuleBasedColl() local
529 iter1 = ucol_openElements(col1, teststr, 3, &status); in TestRuleBasedColl()
537 int32_t ce = ucol_next(iter1, &status); in TestRuleBasedColl()
550 ucol_closeElements(iter1); in TestRuleBasedColl()
/third_party/icu/icu4c/source/test/intltest/
Ditercoll.cpp284 CollationElementIterator *iter1 = en_us->createCollationElementIterator(test1); in TestSetText() local
298 delete iter1; in TestSetText()
313 assertEqual(*iter1, *iter2); in TestSetText()
315 iter1->reset(); in TestSetText()
325 assertEqual(*iter1, *iter2); in TestSetText()
330 iter1->setText(empty, status); in TestSetText()
332 || iter1->next(status) != (int32_t)CollationElementIterator::NULLORDER) { in TestSetText()
336 iter1->setText(*chariter, status); in TestSetText()
338 || iter1->next(status) != (int32_t)CollationElementIterator::NULLORDER) { in TestSetText()
343 delete iter1; in TestSetText()
[all …]
/third_party/node/deps/icu-small/source/common/
Dustring.cpp829 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
833 if(iter1==nullptr || iter2==nullptr) { in u_strCompareIter()
836 if(iter1==iter2) { in u_strCompareIter()
841 iter1->move(iter1, 0, UITER_START); in u_strCompareIter()
846 c1=iter1->next(iter1); in u_strCompareIter()
860 (c1<=0xdbff && U16_IS_TRAIL(iter1->current(iter1))) || in u_strCompareIter()
861 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter()
904 if(!U16_IS_TRAIL(iter1->current(iter1))) {
909 int32_t idx=iter1->getIndex(iter1, UITER_CURRENT);
910 iter1->previous(iter1); /* ==c1 */
[all …]
/third_party/icu/icu4c/source/common/
Dustring.cpp829 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
833 if(iter1==NULL || iter2==NULL) { in u_strCompareIter()
836 if(iter1==iter2) { in u_strCompareIter()
841 iter1->move(iter1, 0, UITER_START); in u_strCompareIter()
846 c1=iter1->next(iter1); in u_strCompareIter()
860 (c1<=0xdbff && U16_IS_TRAIL(iter1->current(iter1))) || in u_strCompareIter()
861 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter()
904 if(!U16_IS_TRAIL(iter1->current(iter1))) {
909 int32_t idx=iter1->getIndex(iter1, UITER_CURRENT);
910 iter1->previous(iter1); /* ==c1 */
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dustring.cpp829 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
833 if(iter1==NULL || iter2==NULL) { in u_strCompareIter()
836 if(iter1==iter2) { in u_strCompareIter()
841 iter1->move(iter1, 0, UITER_START); in u_strCompareIter()
846 c1=iter1->next(iter1); in u_strCompareIter()
860 (c1<=0xdbff && U16_IS_TRAIL(iter1->current(iter1))) || in u_strCompareIter()
861 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter()
904 if(!U16_IS_TRAIL(iter1->current(iter1))) {
909 int32_t idx=iter1->getIndex(iter1, UITER_CURRENT);
910 iter1->previous(iter1); /* ==c1 */
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp339 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
345 if (iter1 == end1) { in CompareIfRegionBlock()
351 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
356 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
357 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
365 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
368 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
372 if (!AA || AA->alias(&*iter1, &*BI)) in CompareIfRegionBlock()
377 ++iter1; in CompareIfRegionBlock()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java274 … UCharacterIterator iter1 = UCharacterIterator.getInstance(new ReplaceableString(new String(src))); in TestPreviousNext() local
278 previousNext(iter1); in TestPreviousNext()
282 getText(iter1,new String(src)); in TestPreviousNext()
286 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
289 if(citer1.first() !=iter1.current()){ in TestPreviousNext()
300 UCharacterIterator clone1 = (UCharacterIterator)iter1.clone(); in TestPreviousNext()
303 if(clone1.moveIndex(3)!=iter1.moveIndex(3)){ in TestPreviousNext()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/
DTestUCharacterIterator.java277 … UCharacterIterator iter1 = UCharacterIterator.getInstance(new ReplaceableString(new String(src))); in TestPreviousNext() local
281 previousNext(iter1); in TestPreviousNext()
285 getText(iter1,new String(src)); in TestPreviousNext()
289 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
292 if(citer1.first() !=iter1.current()){ in TestPreviousNext()
303 UCharacterIterator clone1 = (UCharacterIterator)iter1.clone(); in TestPreviousNext()
306 if(clone1.moveIndex(3)!=iter1.moveIndex(3)){ in TestPreviousNext()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java409 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText() local
432 assertEqual(iter1, iter2); in TestSetText()
434 iter1.reset(); in TestSetText()
443 assertEqual(iter1, iter2); in TestSetText()
445 iter1.reset(); in TestSetText()
454 assertEqual(iter1, iter2); in TestSetText()
DCollationMiscTest.java1174 CollationElementIterator iter1; in TestJ3087() local
1183 iter1 = rbc.getCollationElementIterator("CH"); in TestJ3087()
1191 ce1 = iter1.next(); in TestJ3087()
1453 CollationElementIterator iter1 = null; in TestContraction() local
1464 iter1 = coll.getCollationElementIterator(testdata[i]); in TestContraction()
1481 if (iter1.next() != ce) { in TestContraction()
1489 if (iter1.next() != CollationElementIterator.NULLORDER) { in TestContraction()
3044 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local
3047 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationIteratorTest.java412 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText() local
435 assertEqual(iter1, iter2); in TestSetText()
437 iter1.reset(); in TestSetText()
446 assertEqual(iter1, iter2); in TestSetText()
448 iter1.reset(); in TestSetText()
457 assertEqual(iter1, iter2); in TestSetText()
DCollationMiscTest.java1177 CollationElementIterator iter1; in TestJ3087() local
1186 iter1 = rbc.getCollationElementIterator("CH"); in TestJ3087()
1194 ce1 = iter1.next(); in TestJ3087()
1456 CollationElementIterator iter1 = null; in TestContraction() local
1467 iter1 = coll.getCollationElementIterator(testdata[i]); in TestContraction()
1484 if (iter1.next() != ce) { in TestContraction()
1492 if (iter1.next() != CollationElementIterator.NULLORDER) { in TestContraction()
3047 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local
3050 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_area_task.cpp212 dng_tile_iterator iter1 (repeatingTile3, area); in ProcessOnThread() local
214 while (iter1.GetOneTile (tile1)) in ProcessOnThread()
Ddng_mosaic_info.cpp1871 dng_tile_iterator iter1 (dstImage, dstImage.Bounds ()); in InterpolateGeneric() local
1873 while (iter1.GetOneTile (dstArea)) in InterpolateGeneric()
/third_party/python/Lib/test/
Dtest_range.py519 iter1 = range(start, end, step)
523 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
525 iter1 = reversed(range(start, end, step))
528 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
/third_party/icu/tools/release/java/src/main/java/com/ibm/icu/dev/tools/docs/
DStableAPI.java938 for (Iterator<Function> iter1 = left.iterator(); iter1.hasNext();) { in fullJoin()
939 Function f1 = iter1.next(); in fullJoin()
/third_party/icu/icu4c/source/common/unicode/
Dustring.h498 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dustring.h498 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder);
/third_party/node/deps/icu-small/source/common/unicode/
Dustring.h498 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder);
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dbtree_test.cc1575 auto iter1 = m.find(NoDefaultCtor(1)); in TEST() local
1576 ASSERT_NE(iter1, m.end()); in TEST()
1577 EXPECT_EQ(iter1->second.num, 99); in TEST()
1600 auto iter1 = m.find(NoDefaultCtor(1)); in TEST() local
1601 ASSERT_NE(iter1, m.end()); in TEST()
1602 EXPECT_EQ(iter1->second.num, 99); in TEST()

12