Home
last modified time | relevance | path

Searched refs:iter2 (Results 1 – 25 of 41) 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()
/external/v8/test/mjsunit/es6/
Dgenerators-mirror.js96 var iter2 = generator.call(obj, function() { variable
97 var mirror = debug.MakeMirror(iter2);
103 TestGeneratorMirror(iter2, 'suspended', 7, 19, obj);
105 iter2.next();
106 TestGeneratorMirror(iter2, 'suspended', 9, 2, obj);
108 iter2.next();
109 TestGeneratorMirror(iter2, 'suspended', 11, 2, obj);
111 iter2.next();
112 TestGeneratorMirror(iter2, 'closed', 0, 0, obj);
/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc51 PickleIterator iter2(pickle); in TEST_F() local
52 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
76 PickleIterator iter2(pickle); in TEST_F() local
77 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
98 PickleIterator iter2(pickle); in TEST_F() local
99 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
125 PickleIterator iter2(pickle); in TEST_F() local
126 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
147 PickleIterator iter2(pickle); in TEST_F() local
148 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
/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/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/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()
/external/icu/android_icu4j/src/main/tests/android/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/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()
/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/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java281 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
285 previousNext(iter2); in TestPreviousNext()
289 getText(iter2,new String(src)); in TestPreviousNext()
293 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
298 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
307 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
312 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()
/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.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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/
DHieroSettings.java340 for (Iterator iter2 = effect.getValues().iterator(); iter2.hasNext();) { in save()
341 Value value = (Value)iter2.next(); in save()
/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/skia/tests/
DLListTest.cpp125 Iter iter2; in test_tllist() local
142 iter2.init(list1, Iter::kTail_IterStart); in test_tllist()
143 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in test_tllist()
/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()

12