/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 53 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/ |
D | module_comparer.cc | 94 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/ |
D | custrtst.c | 428 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 …]
|
D | citertst.c | 710 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/ |
D | itercoll.cpp | 284 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/ |
D | ustring.cpp | 829 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/ |
D | FlattenCFG.cpp | 328 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/skqp/tests/ |
D | LListTest.cpp | 158 Iter iter1; in test_tllist() local 164 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist() 165 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist() 175 iter1.init(list1, Iter::kHead_IterStart); in test_tllist() 177 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist() 180 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 181 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist() 199 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 200 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
|
/external/skia/tests/ |
D | LListTest.cpp | 158 Iter iter1; in test_tllist() local 164 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist() 165 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist() 175 iter1.init(list1, Iter::kHead_IterStart); in test_tllist() 177 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist() 180 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 181 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist() 199 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 200 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 277 … 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/ |
D | TestUCharacterIterator.java | 274 … 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/ |
D | PyStructureTest.java | 51 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()
|
D | PyEmitterTest.java | 88 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/ |
D | test_xrange.py | 195 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/ |
D | CollationIteratorTest.java | 412 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()
|
D | CollationMiscTest.java | 1177 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() 3049 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local 3052 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 409 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()
|
D | CollationMiscTest.java | 1174 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() 3046 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local 3049 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
|
/external/selinux/gui/ |
D | modulesPage.py | 88 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))
|
D | portsPage.py | 117 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/ |
D | dng_area_task.cpp | 212 dng_tile_iterator iter1 (repeatingTile3, area); in ProcessOnThread() local 214 while (iter1.GetOneTile (tile1)) in ProcessOnThread()
|
/external/libchrome/base/ |
D | id_map_unittest.cc | 166 IDMap<TestObject*>::const_iterator iter1(&map); in TEST() local 171 IDMap<TestObject*>::const_iterator iter2(iter1); in TEST() 194 IDMap<TestObject*>::const_iterator iter1(&map); in TEST() local
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
D | RedundentExprEliminator.java | 196 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/ |
D | test_range.py | 486 iter1 = range(start, end, step) 490 self.assert_iterators_equal(iter1, iter2, test_id, limit=100) 492 iter1 = reversed(range(start, end, step)) 495 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
|
/external/annotation-tools/annotation-file-utilities/src/annotator/find/ |
D | Insertions.java | 1192 Iterator<Map.Entry<ASTPath, E>> iter1 = in entrySet() 1198 if (iter1.hasNext()) { return true; } in entrySet() 1203 iter1 = entry.getValue().entrySet().iterator(); in entrySet() 1204 if (iter1.hasNext()) { return true; } in entrySet() 1206 iter1 = Collections.<Map.Entry<ASTPath, E>>emptyIterator(); in entrySet() 1213 final Map.Entry<ASTPath, E> e0 = iter1.next(); in entrySet()
|