Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/uciter8/
Duciter8.c43 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/
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 …]
Dnumfmtst.cpp6252 FieldPositionIterator iter1; in TestFieldPositionIterator() local
6263 assertTrue((UnicodeString)"self==", iter1 == iter1); in TestFieldPositionIterator()
6264 assertTrue((UnicodeString)"iter1==iter2", iter1 == iter2); in TestFieldPositionIterator()
6266 decFmt->format(num, str1, &iter1, status); in TestFieldPositionIterator()
6267 assertTrue((UnicodeString)"iter1 != iter2", iter1 != iter2); in TestFieldPositionIterator()
6269 assertTrue((UnicodeString)"iter1 == iter2 (2)", iter1 == iter2); in TestFieldPositionIterator()
6270 iter1.next(pos); in TestFieldPositionIterator()
6271 assertTrue((UnicodeString)"iter1 != iter2 (2)", iter1 != iter2); in TestFieldPositionIterator()
6273 assertTrue((UnicodeString)"iter1 == iter2 (3)", iter1 == iter2); in TestFieldPositionIterator()
/external/icu/icu4c/source/test/cintltst/
Dcustrtst.c426 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 …]
Dcitertst.c707 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()
Dcmsccoll.c1443 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()
Dcapitst.c449 UCollationElements *iter1, *iter2; in TestRuleBasedColl() local
523 iter1 = ucol_openElements(col1, teststr, 3, &status); in TestRuleBasedColl()
531 uint32_t ce = ucol_next(iter1, &status); in TestRuleBasedColl()
544 ucol_closeElements(iter1); in TestRuleBasedColl()
/external/icu/icu4c/source/common/
Dustring.cpp826 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/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp329 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
335 if (iter1 == end1) { in CompareIfRegionBlock()
341 if (!iter1->isIdenticalTo(iter2)) in CompareIfRegionBlock()
346 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
347 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
355 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
358 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
362 if (!AA || AA->alias(iter1, BI)) in CompareIfRegionBlock()
367 ++iter1; in CompareIfRegionBlock()
/external/skia/tests/
DLListTest.cpp132 Iter iter1; in TestTLList() local
142 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kHead_IterStart)); in TestTLList()
143 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kTail_IterStart)); in TestTLList()
156 iter1.init(list1, Iter::kHead_IterStart); in TestTLList()
158 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList()
161 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
162 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
184 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
185 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
/external/openfst/src/include/fst/
Dstring-weight.h301 StringWeightIterator<L, S> iter1(w1);
304 for (; !iter1.Done() ; iter1.Next(), iter2.Next())
305 if (iter1.Value() != iter2.Value())
403 StringWeightIterator<L, STRING_LEFT> iter1(w1); in Plus()
405 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
406 iter1.Next(), iter2.Next()) in Plus()
407 sum.PushBack(iter1.Value()); in Plus()
424 StringWeightReverseIterator<L, STRING_RIGHT> iter1(w1); in Plus()
426 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
427 iter1.Next(), iter2.Next()) in Plus()
[all …]
Ddeterminize.h73 StringWeightIterator<L, S> iter1(w1); in operator()
84 return Weight(iter1.Value()); in operator()
85 } else if (iter1.Value() == iter2.Value()) { in operator()
86 return Weight(iter1.Value()); in operator()
254 for (typename Subset::iterator iter1 = subset1->begin(); in operator() local
255 iter1 != subset1->end(); in operator()
256 ++iter1) { in operator()
257 Element &element1 = *iter1; in operator()
273 for (typename Subset::iterator iter1 = subset1->begin(); in operator() local
274 iter1 != subset1->end(); in operator()
[all …]
Darc-map.h824 StringWeightIterator<Label, S> iter1(w1); in operator()
826 Label l = w1.Size() == 1 ? iter1.Value() : 0; in operator()
907 StringWeightIterator<Label, S> iter1(w1); in operator()
912 ++i, iter1.Next(), p = n) { in operator()
914 fst_->AddArc(p, ToArc(i ? 0 : l, iter1.Value(), AW::One(), n)); in operator()
917 s = s + osymbols_->Find(iter1.Value()); in operator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java276 … 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/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java402 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()
DCollationMiscTest.java1147 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/selinux/policycoreutils/gui/
DmodulesPage.py76 def sort_int(self, treemodel, iter1, iter2, user_data): argument
78 p1 = int(treemodel.get_value(iter1,1))
79 p2 = int(treemodel.get_value(iter1,1))
DportsPage.py107 def sort_int(self, treemodel, iter1, iter2, user_data): argument
109 p1 = int(treemodel.get_value(iter1,PORT_COL).split('-')[0])
/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/icu/icu4c/source/common/unicode/
Dustring.h496 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...