/external/icu/icu4c/source/samples/uciter8/ |
D | uciter8.c | 43 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument 49 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators() 59 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 72 c1=iter1->current(iter1); in compareIterators() 81 c1=iter1->next(iter1); in compareIterators() 84 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators() 91 c1=iter1->previous(iter1); in compareIterators() 94 …%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators() 100 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators() 105 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/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 …]
|
D | numfmtst.cpp | 6696 FieldPositionIterator iter1; in TestFieldPositionIterator() local 6707 assertTrue((UnicodeString)"self==", iter1 == iter1); in TestFieldPositionIterator() 6708 assertTrue((UnicodeString)"iter1==iter2", iter1 == iter2); in TestFieldPositionIterator() 6710 decFmt->format(num, str1, &iter1, status); in TestFieldPositionIterator() 6711 assertTrue((UnicodeString)"iter1 != iter2", iter1 != iter2); in TestFieldPositionIterator() 6713 assertTrue((UnicodeString)"iter1 == iter2 (2)", iter1 == iter2); in TestFieldPositionIterator() 6714 iter1.next(pos); in TestFieldPositionIterator() 6715 assertTrue((UnicodeString)"iter1 != iter2 (2)", iter1 != iter2); in TestFieldPositionIterator() 6717 assertTrue((UnicodeString)"iter1 == iter2 (3)", iter1 == iter2); in TestFieldPositionIterator()
|
/external/icu/icu4c/source/test/cintltst/ |
D | custrtst.c | 426 UCharIterator iter1, iter2; in TestStringFunctions() local 461 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions() 463 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions() 466 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions() 1187 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument 1193 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators() 1203 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators() 1216 c1=iter1->current(iter1); in compareIterators() 1225 c1=iter1->next(iter1); in compareIterators() 1228 …= 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 | 707 UCollationElements *iter1, *iter2; in TestSetText() local 715 iter1=ucol_openElements(en_us, test1, u_strlen(test1), &status); in TestSetText() 740 ucol_closeElements(iter1); in TestSetText() 756 assertEqual(iter1, iter2); in TestSetText() 768 ucol_closeElements(iter1); in TestSetText()
|
D | cmsccoll.c | 1443 UCollationElements *iter1; in TestContraction() local 1452 iter1 = ucol_openElements(coll, testdata[i], 2, &status); in TestContraction() 1468 if ((uint32_t)ucol_next(iter1, &status) != ce) { in TestContraction() 1477 if (ucol_next(iter1, &status) != UCOL_NULLORDER) { in TestContraction() 1481 ucol_closeElements(iter1); in TestContraction() 1505 UCollationElements *iter1, in TestContraction() 1517 iter1 = ucol_openElements(coll1, &ch, 1, &status); in TestContraction() 1523 ce = ucol_next(iter1, &status); in TestContraction() 1536 ce = ucol_next(iter1, &status); in TestContraction() 1546 ucol_closeElements(iter1); in TestContraction()
|
/external/icu/icu4c/source/common/ |
D | ustring.cpp | 826 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument 830 if(iter1==NULL || iter2==NULL) { in u_strCompareIter() 833 if(iter1==iter2) { in u_strCompareIter() 838 iter1->move(iter1, 0, UITER_START); in u_strCompareIter() 843 c1=iter1->next(iter1); in u_strCompareIter() 857 (c1<=0xdbff && U16_IS_TRAIL(iter1->current(iter1))) || in u_strCompareIter() 858 (U16_IS_TRAIL(c1) && (iter1->previous(iter1), U16_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter() 901 if(!U16_IS_TRAIL(iter1->current(iter1))) { 906 int32_t idx=iter1->getIndex(iter1, UITER_CURRENT); 907 iter1->previous(iter1); /* ==c1 */ [all …]
|
/external/skia/tests/ |
D | LListTest.cpp | 124 Iter iter1; in test_tllist() local 130 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kHead_IterStart)); in test_tllist() 131 REPORTER_ASSERT(reporter, nullptr == iter1.init(list1, Iter::kTail_IterStart)); in test_tllist() 141 iter1.init(list1, Iter::kHead_IterStart); in test_tllist() 143 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist() 146 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 147 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist() 165 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in test_tllist() 166 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in test_tllist()
|
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 276 … UCharacterIterator iter1 = UCharacterIterator.getInstance(new ReplaceableString(new String(src))); in TestPreviousNext() local 280 previousNext(iter1); in TestPreviousNext() 284 getText(iter1,new String(src)); in TestPreviousNext() 288 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext() 291 if(citer1.first() !=iter1.current()){ in TestPreviousNext() 302 UCharacterIterator clone1 = (UCharacterIterator)iter1.clone(); in TestPreviousNext() 305 if(clone1.moveIndex(3)!=iter1.moveIndex(3)){ in TestPreviousNext()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 280 … UCharacterIterator iter1 = UCharacterIterator.getInstance(new ReplaceableString(new String(src))); in TestPreviousNext() local 284 previousNext(iter1); in TestPreviousNext() 288 getText(iter1,new String(src)); in TestPreviousNext() 292 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext() 295 if(citer1.first() !=iter1.current()){ in TestPreviousNext() 306 UCharacterIterator clone1 = (UCharacterIterator)iter1.clone(); in TestPreviousNext() 309 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/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 402 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText() local 425 assertEqual(iter1, iter2); in TestSetText() 427 iter1.reset(); in TestSetText() 436 assertEqual(iter1, iter2); in TestSetText() 438 iter1.reset(); in TestSetText() 447 assertEqual(iter1, iter2); in TestSetText()
|
D | CollationMiscTest.java | 1147 CollationElementIterator iter1; in TestJ3087() local 1156 iter1 = rbc.getCollationElementIterator("CH"); in TestJ3087() 1164 ce1 = iter1.next(); in TestJ3087() 1421 CollationElementIterator iter1 = null; in TestContraction() local 1432 iter1 = coll.getCollationElementIterator(testdata[i]); in TestContraction() 1449 if (iter1.next() != ce) { in TestContraction() 1457 if (iter1.next() != CollationElementIterator.NULLORDER) { in TestContraction() 2975 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local 2978 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationIteratorTest.java | 406 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText() local 429 assertEqual(iter1, iter2); in TestSetText() 431 iter1.reset(); in TestSetText() 440 assertEqual(iter1, iter2); in TestSetText() 442 iter1.reset(); in TestSetText() 451 assertEqual(iter1, iter2); in TestSetText()
|
D | CollationMiscTest.java | 1151 CollationElementIterator iter1; in TestJ3087() local 1160 iter1 = rbc.getCollationElementIterator("CH"); in TestJ3087() 1168 ce1 = iter1.next(); in TestJ3087() 1425 CollationElementIterator iter1 = null; in TestContraction() local 1436 iter1 = coll.getCollationElementIterator(testdata[i]); in TestContraction() 1453 if (iter1.next() != ce) { in TestContraction() 1461 if (iter1.next() != CollationElementIterator.NULLORDER) { in TestContraction() 2979 CollationElementIterator iter1 = coll.getCollationElementIterator(str1); in TestHungarianTailoring() local 2982 while((ce1 = iter1.next()) != CollationElementIterator.NULLORDER && in TestHungarianTailoring()
|
/external/selinux/policycoreutils/gui/ |
D | modulesPage.py | 78 def sort_int(self, treemodel, iter1, iter2, user_data): argument 80 p1 = int(treemodel.get_value(iter1, 1)) 81 p2 = int(treemodel.get_value(iter1, 1))
|
D | portsPage.py | 109 def sort_int(self, treemodel, iter1, iter2, user_data): argument 111 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 | 163 IDMap<TestObject>::const_iterator iter1(&map); in TEST() local 168 IDMap<TestObject>::const_iterator iter2(iter1); in TEST() 191 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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | test_util.py | 92 def assertIterEqual(self, iter1, iter2): argument 102 list1 = list(iter1)
|
/external/icu/icu4c/source/common/unicode/ |
D | ustring.h | 496 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder);
|