Home
last modified time | relevance | path

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

12

/external/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 …]
/external/google-breakpad/src/processor/
Dmodule_comparer.cc94 BasicModule::FileMap::const_iterator iter1 = basic_module->files_.begin(); in CompareModule() local
96 while (iter1 != basic_module->files_.end() in CompareModule()
98 ASSERT_TRUE(iter1->first == iter2.GetKey()); in CompareModule()
100 ASSERT_TRUE(iter1->second == tmp); in CompareModule()
101 ++iter1; in CompareModule()
104 ASSERT_TRUE(iter1 == basic_module->files_.end()); in CompareModule()
110 RangeMap<MemAddr, linked_ptr<BasicFunc> >::MapConstIterator iter1; in CompareModule() local
112 iter1 = basic_module->functions_.map_.begin(); in CompareModule()
114 while (iter1 != basic_module->functions_.map_.end() in CompareModule()
116 ASSERT_TRUE(iter1->first == iter2.GetKey()); in CompareModule()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcustrtst.c428 UCharIterator iter1, iter2; in TestStringFunctions() local
463 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions()
465 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
468 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1189 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
1195 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
1205 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1218 c1=iter1->current(iter1); in compareIterators()
1227 c1=iter1->next(iter1); in compareIterators()
1230 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
[all …]
Dcitertst.c710 UCollationElements *iter1, *iter2; in TestSetText() local
718 iter1=ucol_openElements(en_us, test1, u_strlen(test1), &status); in TestSetText()
743 ucol_closeElements(iter1); in TestSetText()
759 assertEqual(iter1, iter2); in TestSetText()
771 ucol_closeElements(iter1); in TestSetText()
/external/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 …]
/external/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 …]
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp328 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
334 if (iter1 == end1) { in CompareIfRegionBlock()
340 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
345 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
346 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
354 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
357 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
361 if (!AA || AA->alias(&*iter1, &*BI)) in CompareIfRegionBlock()
366 ++iter1; in CompareIfRegionBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp340 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
346 if (iter1 == end1) { in CompareIfRegionBlock()
352 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
357 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
358 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
366 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
369 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
373 if (!AA || AA->alias(&*iter1, &*BI)) in CompareIfRegionBlock()
378 ++iter1; in CompareIfRegionBlock()
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DTagContext.java68 Iterator<Tag> iter1 = getIterator(); in equals() local
71 while (iter1 != null && iter1.hasNext()) { in equals()
72 Tag tag = iter1.next(); in equals()
/external/skqp/tests/
DLListTest.cpp163 Iter iter1; in test_tllist() local
169 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist()
170 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist()
180 iter1.init(list1, Iter::kHead_IterStart); in test_tllist()
182 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist()
185 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
186 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
204 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
205 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
/external/skia/tests/
DLListTest.cpp163 Iter iter1; in test_tllist() local
169 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist()
170 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist()
180 iter1.init(list1, Iter::kHead_IterStart); in test_tllist()
182 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist()
185 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
186 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
204 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist()
205 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/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()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java51 Iterator<Event> iter1 = events1.iterator(); in compareEvents() local
53 while (iter1.hasNext()) { in compareEvents()
54 Event event1 = iter1.next(); in compareEvents()
172 Iterator<Node> iter1 = events1.iterator(); in testComposer() local
174 while (iter1.hasNext()) { in testComposer()
175 compareNodes(iter1.next(), iter2.next()); in testComposer()
DPyEmitterTest.java88 Iterator<Event> iter1 = events.iterator(); in _testEmitter() local
90 while (iter1.hasNext()) { in _testEmitter()
91 Event event = iter1.next(); in _testEmitter()
249 Iterator<Event> iter1 = events.iterator(); in testEmitterEvents() local
251 while (iter1.hasNext()) { in testEmitterEvents()
252 Event event = iter1.next(); in testEmitterEvents()
/external/python/cpython2/Lib/test/
Dtest_xrange.py195 iter1 = xrange(start, end, step)
202 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
205 iter1 = reversed(xrange(start, end, step))
211 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
/external/grpc-grpc/test/cpp/common/
Dauth_property_iterator_test.cc55 TestAuthPropertyIterator iter1; in TEST_F() local
57 EXPECT_EQ(iter1, iter2); in TEST_F()
/external/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()
/external/icu/android_icu4j/src/main/tests/android/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()
/external/selinux/gui/
DmodulesPage.py88 def sort_int(self, treemodel, iter1, iter2, user_data): argument
90 p1 = int(treemodel.get_value(iter1, 1))
91 p2 = int(treemodel.get_value(iter1, 1))
DportsPage.py117 def sort_int(self, treemodel, iter1, iter2, user_data): argument
119 p1 = int(treemodel.get_value(iter1, PORT_COL).split('-')[0])
/external/dng_sdk/source/
Ddng_area_task.cpp212 dng_tile_iterator iter1 (repeatingTile3, area); in ProcessOnThread() local
214 while (iter1.GetOneTile (tile1)) in ProcessOnThread()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DRedundentExprEliminator.java196 WalkingIterator iter1 = (WalkingIterator) testee.m_exprOwner.getExpression(); in matchAndEliminatePartialPaths()
207 if (stepsEqual(iter1, iter2, lengthToTest)) in matchAndEliminatePartialPaths()
520 protected boolean stepsEqual(WalkingIterator iter1, WalkingIterator iter2, in stepsEqual() argument
523 AxesWalker aw1 = iter1.getFirstWalker(); in stepsEqual()
/external/python/cpython3/Lib/test/
Dtest_range.py494 iter1 = range(start, end, step)
498 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
500 iter1 = reversed(range(start, end, step))
503 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
/external/tensorflow/tensorflow/python/util/
Dutil.cc755 ValueIteratorPtr iter1 = value_iterator_getter(o1); in AssertSameStructureHelper() local
758 if (!iter1->valid() || !iter2->valid()) return false; in AssertSameStructureHelper()
761 Safe_PyObjectPtr v1 = iter1->next(); in AssertSameStructureHelper()

12