Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/uciter8/
Duciter8.c50 UCharIterator *iter2, const char *n2) { in compareIterators() argument
56 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
71 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
79 c2=iter2->current(iter2); in compareIterators()
88 c2=iter2->next(iter2); in compareIterators()
98 c2=iter2->previous(iter2); in compareIterators()
116 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
121 if(!iter2->hasNext(iter2)) { in compareIterators()
128 c2=iter2->next(iter2); in compareIterators()
139 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.c428 UCharIterator iter1, iter2; in TestStringFunctions() local
464 uiter_setString(&iter2, strings[i+1], len2); in TestStringFunctions()
465 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
468 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1190 UCharIterator *iter2, const char *n2) { in compareIterators() argument
1196 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
1211 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
1219 c2=iter2->current(iter2); in compareIterators()
1228 c2=iter2->next(iter2); in compareIterators()
1238 c2=iter2->previous(iter2); in compareIterators()
[all …]
Dcitertst.c709 UCollationElements *iter1, *iter2; in TestSetText() local
724 iter2=ucol_openElements(en_us, test2, u_strlen(test2), &status); in TestSetText()
733 c = ucol_next(iter2, &status); in TestSetText()
741 ucol_closeElements(iter2); in TestSetText()
747 c = ucol_next(iter2, &status); in TestSetText()
751 ucol_setText(iter2, test1, u_strlen(test1), &status); in TestSetText()
758 assertEqual(iter1, iter2); in TestSetText()
762 ucol_setText(iter2, NULL, 2, &status); in TestSetText()
769 ucol_closeElements(iter2); in TestSetText()
/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/libchrome/base/metrics/
Dhistogram_base_unittest.cc61 PickleIterator iter2(pickle); in TEST_F() local
62 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
86 PickleIterator iter2(pickle); in TEST_F() local
87 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
108 PickleIterator iter2(pickle); in TEST_F() local
109 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
135 PickleIterator iter2(pickle); in TEST_F() local
136 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
157 PickleIterator iter2(pickle); in TEST_F() local
158 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
Dpersistent_memory_allocator_unittest.cc199 PersistentMemoryAllocator::Iterator iter2(allocator2.get()); in TEST_F() local
200 EXPECT_EQ(block1, iter2.GetNext(&type)); in TEST_F()
201 EXPECT_EQ(block2, iter2.GetNext(&type)); in TEST_F()
202 EXPECT_EQ(0U, iter2.GetNext(&type)); in TEST_F()
561 PersistentMemoryAllocator::Iterator iter2(&shalloc2); in TEST() local
563 EXPECT_EQ(r123, iter2.GetNext(&type)); in TEST()
564 EXPECT_EQ(r789, iter2.GetNext(&type)); in TEST()
565 EXPECT_EQ(0U, iter2.GetNext(&type)); in TEST()
605 EXPECT_EQ(obj, iter2.GetNext(&type)); in TEST()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java52 Iterator<Event> iter2 = events2.iterator(); in compareEvents() local
55 Event event2 = iter2.next(); in compareEvents()
137 Iterator<Node> iter2 = seq2.getValue().iterator(); in compareNodes() local
139 Node child2 = iter2.next(); in compareNodes()
147 Iterator<NodeTuple> iter2 = seq2.getValue().iterator(); in compareNodes() local
149 NodeTuple child2 = iter2.next(); in compareNodes()
173 Iterator<Node> iter2 = events2.iterator(); in testComposer() local
175 compareNodes(iter1.next(), iter2.next()); in testComposer()
285 Iterator<Object> iter2 = documents2.iterator(); in testConstructor() local
287 Object object2 = iter2.next(); in testConstructor()
DPyEmitterTest.java89 Iterator<Event> iter2 = newEvents.iterator(); in _testEmitter() local
92 Event newEvent = iter2.next(); in _testEmitter()
250 Iterator<Event> iter2 = newEvents.iterator(); in testEmitterEvents() local
253 Event newEvent = iter2.next(); in testEmitterEvents()
/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc1112 RepeatedPtrField<string>::iterator iter2 = iter; in TEST_F() local
1113 ++iter2; in TEST_F()
1114 ++iter2; in TEST_F()
1115 EXPECT_TRUE(iter + 2 == iter2); in TEST_F()
1116 EXPECT_TRUE(iter == iter2 - 2); in TEST_F()
1124 RepeatedPtrField<string>::const_iterator iter2 = iter + 1; in TEST_F() local
1126 EXPECT_TRUE(iter != iter2); in TEST_F()
1127 EXPECT_TRUE(iter < iter2); in TEST_F()
1128 EXPECT_TRUE(iter <= iter2); in TEST_F()
1130 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/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java407 CollationElementIterator iter2 = en_us.getCollationElementIterator(test2); in TestSetText() local
410 int c = iter2.next(); in TestSetText()
415 c = iter2.next(); in TestSetText()
424 iter2.setText(test1); in TestSetText()
429 assertEqual(iter1, iter2); in TestSetText()
435 iter2.setText(chariter); in TestSetText()
440 assertEqual(iter1, iter2); in TestSetText()
446 iter2.setText(uchariter); in TestSetText()
451 assertEqual(iter1, iter2); in TestSetText()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationIteratorTest.java408 CollationElementIterator iter2 = en_us.getCollationElementIterator(test2); in TestSetText() local
411 int c = iter2.next(); in TestSetText()
416 c = iter2.next(); in TestSetText()
425 iter2.setText(test1); in TestSetText()
430 assertEqual(iter1, iter2); in TestSetText()
436 iter2.setText(chariter); in TestSetText()
441 assertEqual(iter1, iter2); in TestSetText()
447 iter2.setText(uchariter); in TestSetText()
452 assertEqual(iter1, iter2); in TestSetText()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java273 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
277 previousNext(iter2); in TestPreviousNext()
281 getText(iter2,new String(src)); in TestPreviousNext()
285 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
290 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
299 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
304 if(clone2.moveIndex(3)!=iter2.moveIndex(3)){ in TestPreviousNext()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java272 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
276 previousNext(iter2); in TestPreviousNext()
280 getText(iter2,new String(src)); in TestPreviousNext()
284 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
289 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
298 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
303 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.java273 Iterator iter2 = cc.iterator(); in emitClassesByDiff() local
274 while (iter2.hasNext()) { in emitClassesByDiff()
275 ClassDiff classDiff = (ClassDiff)(iter2.next()); in emitClassesByDiff()
390 Iterator iter2 = pkg.classesChanged.iterator(); in emitNumbersByElement() local
391 while (iter2.hasNext()) { in emitNumbersByElement()
392 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.cpp828 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
832 if(iter1==NULL || iter2==NULL) { in u_strCompareIter()
835 if(iter1==iter2) { in u_strCompareIter()
841 iter2->move(iter2, 0, UITER_START); in u_strCompareIter()
846 c2=iter2->next(iter2); in u_strCompareIter()
869 (c2<=0xdbff && U16_IS_TRAIL(iter2->current(iter2))) || in u_strCompareIter()
870 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2)))) in u_strCompareIter()
/external/python/cpython2/Lib/test/
Dtest_xrange.py199 iter2 = pyrange(start, end, step)
202 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
209 iter2 = pyrange_reversed(start, end, step)
211 self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp330 BasicBlock::iterator iter2 = Block2->begin(); in CompareIfRegionBlock() local
335 if (iter2 != end2) in CompareIfRegionBlock()
340 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
367 ++iter2; in CompareIfRegionBlock()
/external/snakeyaml/src/test/java/examples/collections/
DTypeSafeMap2Test.java100 Iterator<Color> iter2 = developers.keySet().iterator(); in testLoadMap() local
101 Color firstColor = iter2.next(); in testLoadMap()
106 Color secondColor = iter2.next(); in testLoadMap()
/external/dng_sdk/source/
Ddng_area_task.cpp219 dng_tile_iterator iter2 (repeatingTile2, tile1); in ProcessOnThread() local
221 while (iter2.GetOneTile (tile2)) in ProcessOnThread()
/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.cpp159 Iter iter2; in test_tllist() local
176 iter2.init(list1, Iter::kTail_IterStart); in test_tllist()
177 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist()

12