Home
last modified time | relevance | path

Searched refs:iter2 (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/samples/uciter8/
Duciter8.c44 UCharIterator *iter2, const char *n2) { in compareIterators() argument
50 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
65 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
73 c2=iter2->current(iter2); in compareIterators()
82 c2=iter2->next(iter2); in compareIterators()
92 c2=iter2->previous(iter2); in compareIterators()
110 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
115 if(!iter2->hasNext(iter2)) { in compareIterators()
122 c2=iter2->next(iter2); in compareIterators()
133 if(iter2->hasNext(iter2)) { in compareIterators()
[all …]
/external/google-breakpad/src/processor/
Dmodule_comparer.cc95 FastModule::FileMap::iterator iter2 = fast_module->files_.begin(); in CompareModule() local
97 && iter2 != fast_module->files_.end()) { in CompareModule()
98 ASSERT_TRUE(iter1->first == iter2.GetKey()); in CompareModule()
99 string tmp(iter2.GetValuePtr()); in CompareModule()
102 ++iter2; in CompareModule()
105 ASSERT_TRUE(iter2 == fast_module->files_.end()); in CompareModule()
111 StaticRangeMap<MemAddr, FastFunc>::MapConstIterator iter2; in CompareModule() local
113 iter2 = fast_module->functions_.map_.begin(); in CompareModule()
115 && iter2 != fast_module->functions_.map_.end()) { in CompareModule()
116 ASSERT_TRUE(iter1->first == iter2.GetKey()); in CompareModule()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcustrtst.c426 UCharIterator iter1, iter2; in TestStringFunctions() local
462 uiter_setString(&iter2, strings[i+1], len2); in TestStringFunctions()
463 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
466 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1188 UCharIterator *iter2, const char *n2) { in compareIterators() argument
1194 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
1209 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
1217 c2=iter2->current(iter2); in compareIterators()
1226 c2=iter2->next(iter2); in compareIterators()
1236 c2=iter2->previous(iter2); in compareIterators()
[all …]
Dcitertst.c707 UCollationElements *iter1, *iter2; in TestSetText() local
722 iter2=ucol_openElements(en_us, test2, u_strlen(test2), &status); in TestSetText()
731 c = ucol_next(iter2, &status); in TestSetText()
739 ucol_closeElements(iter2); in TestSetText()
745 c = ucol_next(iter2, &status); in TestSetText()
749 ucol_setText(iter2, test1, u_strlen(test1), &status); in TestSetText()
756 assertEqual(iter1, iter2); in TestSetText()
760 ucol_setText(iter2, NULL, 2, &status); in TestSetText()
767 ucol_closeElements(iter2); in TestSetText()
Dcmsccoll.c1458 UCollationElements *iter2 = ucol_openElements(coll, in TestContraction() local
1466 ce = ucol_next(iter2, &status); in TestContraction()
1472 ce = ucol_next(iter2, &status); in TestContraction()
1475 ucol_closeElements(iter2); in TestContraction()
1506 *iter2; in TestContraction()
1518 iter2 = ucol_openElements(coll2, &ch, 1, &status); in TestContraction()
1529 uint32_t ce2 = (uint32_t)ucol_next(iter2, &status); in TestContraction()
1542 if (ucol_next(iter2, &status) != UCOL_NULLORDER) { in TestContraction()
1547 ucol_closeElements(iter2); in TestContraction()
/external/icu/icu4c/source/test/intltest/
Ditercoll.cpp285 CollationElementIterator *iter2 = en_us->createCollationElementIterator(test2); in TestSetText() local
289 int32_t c = iter2->next(status); in TestSetText()
297 delete iter2; in TestSetText()
301 c = iter2->next(status); in TestSetText()
305 iter2->setText(test1, status); in TestSetText()
313 assertEqual(*iter1, *iter2); in TestSetText()
318 iter2->setText(*chariter, status); in TestSetText()
325 assertEqual(*iter1, *iter2); in TestSetText()
342 delete iter2; in TestSetText()
474 CollationElementIterator iter2 = *iter1; in TestAssignment() local
[all …]
/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc1022 RepeatedPtrField<string>::iterator iter2 = iter; in TEST_F() local
1023 ++iter2; in TEST_F()
1024 ++iter2; in TEST_F()
1025 EXPECT_TRUE(iter + 2 == iter2); in TEST_F()
1026 EXPECT_TRUE(iter == iter2 - 2); in TEST_F()
1034 RepeatedPtrField<string>::const_iterator iter2 = iter + 1; in TEST_F() local
1036 EXPECT_TRUE(iter != iter2); in TEST_F()
1037 EXPECT_TRUE(iter < iter2); in TEST_F()
1038 EXPECT_TRUE(iter <= iter2); in TEST_F()
1040 EXPECT_TRUE(iter2 > iter); in TEST_F()
[all …]
/external/mesa3d/src/glx/
Dpixel.c179 GLubyte *iter2; in __glFillImage() local
212 iter2 = newimage; in __glFillImage()
223 iter2[k - 1] = iterc[elementSize - k]; in __glFillImage()
225 iter2 += elementSize; in __glFillImage()
238 __GLX_MEM_COPY(iter2, itera, in __glFillImage()
240 iter2 += elementsPerRow * elementSize * height; in __glFillImage()
245 __GLX_MEM_COPY(iter2, iter, elementsPerRow * elementSize); in __glFillImage()
246 iter2 += elementsPerRow * elementSize; in __glFillImage()
/external/openfst/src/include/fst/
Dstring-weight.h302 StringWeightIterator<L, S> iter2(w2);
304 for (; !iter1.Done() ; iter1.Next(), iter2.Next())
305 if (iter1.Value() != iter2.Value())
404 StringWeightIterator<L, STRING_LEFT> iter2(w2); in Plus()
405 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
406 iter1.Next(), iter2.Next()) in Plus()
425 StringWeightReverseIterator<L, STRING_RIGHT> iter2(w2); in Plus()
426 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
427 iter1.Next(), iter2.Next()) in Plus()
Ddeterminize.h74 StringWeightIterator<L, S> iter2(w2); in operator()
82 return Weight(iter2.Value()); in operator()
85 } else if (iter1.Value() == iter2.Value()) { in operator()
264 for (typename Subset::iterator iter2 = subset2->begin(); in operator() local
265 iter2 != subset2->end(); in operator()
266 ++iter2) { in operator()
267 Element &element2 = *iter2; in operator()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java403 CollationElementIterator iter2 = en_us.getCollationElementIterator(test2); in TestSetText() local
406 int c = iter2.next(); in TestSetText()
411 c = iter2.next(); in TestSetText()
420 iter2.setText(test1); in TestSetText()
425 assertEqual(iter1, iter2); in TestSetText()
431 iter2.setText(chariter); in TestSetText()
436 assertEqual(iter1, iter2); in TestSetText()
442 iter2.setText(uchariter); in TestSetText()
447 assertEqual(iter1, iter2); in TestSetText()
DCollationMiscTest.java1148 CollationElementIterator iter2; in TestJ3087() local
1157 iter2 = rbc.getCollationElementIterator("\u0427"); in TestJ3087()
1165 ce2 = iter2.next(); in TestJ3087()
1438 CollationElementIterator iter2; in TestContraction() local
1441 iter2 = coll.getCollationElementIterator(String.valueOf(testdata[i].charAt(j))); in TestContraction()
1447 ce = iter2.next(); in TestContraction()
1453 ce = iter2.next(); in TestContraction()
2976 CollationElementIterator iter2 = coll.getCollationElementIterator(str2); in TestHungarianTailoring() local
2979 (ce2 = iter2.next()) != CollationElementIterator.NULLORDER) { in TestHungarianTailoring()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java277 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
281 previousNext(iter2); in TestPreviousNext()
285 getText(iter2,new String(src)); in TestPreviousNext()
289 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
294 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
303 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
308 if(clone2.moveIndex(3)!=iter2.moveIndex(3)){ in TestPreviousNext()
/external/jdiff/src/jdiff/
DXMLToAPI.java101 Iterator iter2 = pkg.classes_.iterator(); in addInheritedElements() local
102 while (iter2.hasNext()) { in addInheritedElements()
103 ClassAPI cls = (ClassAPI)(iter2.next()); in addInheritedElements()
143 Iterator iter2 = child.methods_.iterator(); in addInheritedElements() local
144 while (iter2.hasNext()) { in addInheritedElements()
145 MethodAPI localM = (MethodAPI)(iter2.next()); in addInheritedElements()
DHTMLStatistics.java265 Iterator iter2 = cc.iterator(); in emitClassesByDiff() local
266 while (iter2.hasNext()) { in emitClassesByDiff()
267 ClassDiff classDiff = (ClassDiff)(iter2.next()); in emitClassesByDiff()
382 Iterator iter2 = pkg.classesChanged.iterator(); in emitNumbersByElement() local
383 while (iter2.hasNext()) { in emitNumbersByElement()
384 ClassDiff classDiff = (ClassDiff)(iter2.next()); in emitNumbersByElement()
DMergeChanges.java41 Iterator iter2 = pkgDiff.classesChanged.iterator(); in mergeRemoveAdd() local
42 while (iter2.hasNext()) { in mergeRemoveAdd()
43 ClassDiff classDiff = (ClassDiff)(iter2.next()); in mergeRemoveAdd()
/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()
839 iter2->move(iter2, 0, UITER_START); in u_strCompareIter()
844 c2=iter2->next(iter2); in u_strCompareIter()
867 (c2<=0xdbff && U16_IS_TRAIL(iter2->current(iter2))) || in u_strCompareIter()
868 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2)))) in u_strCompareIter()
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp331 BasicBlock::iterator iter2 = Block2->begin(); in CompareIfRegionBlock() local
336 if (iter2 != end2) in CompareIfRegionBlock()
341 if (!iter1->isIdenticalTo(iter2)) in CompareIfRegionBlock()
368 ++iter2; in CompareIfRegionBlock()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DSparseFieldVector.java414 OpenIntToFieldHashMap<T>.Iterator iter2 = v.entries.iterator(); in outerProduct()
415 while (iter2.hasNext()) { in outerProduct()
416 iter2.advance(); in outerProduct()
417 res.setEntry(iter.key(), iter2.key(), iter.value().multiply(iter2.value())); in outerProduct()
/external/skia/tests/
DLListTest.cpp133 Iter iter2; in TestTLList() local
157 iter2.init(list1, Iter::kTail_IterStart); in TestTLList()
158 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList()
/external/skia/tools/skpdiff/
DSkDiffContext.cpp429 SkTLList<DiffRecord>::Iter iter2(fRecords, SkTLList<DiffRecord>::Iter::kHead_IterStart); in outputCsv() local
430 currentRecord = iter2.get(); in outputCsv()
459 currentRecord = iter2.next(); in outputCsv()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DRedundentExprEliminator.java206 WalkingIterator iter2 = (WalkingIterator) meh.m_exprOwner.getExpression(); in matchAndEliminatePartialPaths() local
207 if (stepsEqual(iter1, iter2, lengthToTest)) in matchAndEliminatePartialPaths()
520 protected boolean stepsEqual(WalkingIterator iter1, WalkingIterator iter2, in stepsEqual() argument
524 AxesWalker aw2 = iter2.getFirstWalker(); in stepsEqual()
/external/selinux/policycoreutils/gui/
DportsPage.py107 def sort_int(self, treemodel, iter1, iter2, user_data): argument
110 p2 = int(treemodel.get_value(iter2,PORT_COL).split('-')[0])
DmodulesPage.py76 def sort_int(self, treemodel, iter1, iter2, user_data): argument
/external/jetty/src/java/org/eclipse/jetty/webapp/
DStandardDescriptorProcessor.java1338 Iterator<XmlParser.Node> iter2 = group.iterator("url-pattern"); in visitJspConfig() local
1339 while (iter2.hasNext()) in visitJspConfig()
1341 String url = iter2.next().toString(false, true); in visitJspConfig()
1448 Iterator<XmlParser.Node> iter2 = collection.iterator("url-pattern"); in visitSecurityConstraint() local
1449 while (iter2.hasNext()) in visitSecurityConstraint()
1451 String url = iter2.next().toString(false, true); in visitSecurityConstraint()

12