Home
last modified time | relevance | path

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

123

/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/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/test/cintltst/
Dcustrtst.c432 UCharIterator iter1, iter2; in TestStringFunctions() local
467 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions()
469 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
472 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1252 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
1258 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
1268 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1281 c1=iter1->current(iter1); in compareIterators()
1290 c1=iter1->next(iter1); in compareIterators()
1293 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
[all …]
/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/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-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()
/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-project/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp330 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
336 if (iter1 == end1) { in CompareIfRegionBlock()
342 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
347 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
348 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
356 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
359 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
363 if (!AA || AA->alias(&*iter1, &*BI)) in CompareIfRegionBlock()
368 ++iter1; in CompareIfRegionBlock()
/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/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/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/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/tensorflow/tensorflow/core/profiler/utils/
Dkernel_stats_utils_test.cc54 auto iter1 = kernel_stats_by_op_name.find("op1"); in TEST() local
56 ASSERT_NE(iter1, kernel_stats_by_op_name.end()); in TEST()
58 const OpLevelKernelStats& op1_stats = iter1->second; in TEST()
/external/snakeyaml/src/test/java/org/pyyaml/
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()
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()
/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/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/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/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/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))
/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/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Ddef.h144 bool upb_oneof_iter_isequal(const upb_oneof_iter *iter1,
227 bool upb_msg_field_iter_isequal(const upb_msg_field_iter * iter1,
234 bool upb_msg_oneof_iter_isequal(const upb_msg_oneof_iter *iter1,
/external/libchrome/base/containers/
Did_map_unittest.cc170 IDMap<TestObject*>::const_iterator iter1(&map); in TEST() local
175 IDMap<TestObject*>::const_iterator iter2(iter1); in TEST()
198 IDMap<TestObject*>::const_iterator iter1(&map); in TEST() local
/external/rust/crates/regex-automata/data/tests/
Diter.toml2 name = "iter1"

123