Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/samples/uciter8/
Duciter8.c54 UCharIterator *iter2, const char *n2) { in compareIterators() argument
60 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
75 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
83 c2=iter2->current(iter2); in compareIterators()
92 c2=iter2->next(iter2); in compareIterators()
102 c2=iter2->previous(iter2); in compareIterators()
120 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
125 if(!iter2->hasNext(iter2)) { in compareIterators()
132 c2=iter2->next(iter2); in compareIterators()
143 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.c432 UCharIterator iter1, iter2; in TestStringFunctions() local
468 uiter_setString(&iter2, strings[i+1], len2); in TestStringFunctions()
469 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
472 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1253 UCharIterator *iter2, const char *n2) { in compareIterators() argument
1259 pos2=iter2->getIndex(iter2, UITER_LENGTH); in compareIterators()
1274 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
1282 c2=iter2->current(iter2); in compareIterators()
1291 c2=iter2->next(iter2); in compareIterators()
1301 c2=iter2->previous(iter2); in compareIterators()
[all …]
Dcitertst.c710 UCollationElements *iter1, *iter2; in TestSetText() local
725 iter2=ucol_openElements(en_us, test2, u_strlen(test2), &status); in TestSetText()
734 c = ucol_next(iter2, &status); in TestSetText()
742 ucol_closeElements(iter2); in TestSetText()
748 c = ucol_next(iter2, &status); in TestSetText()
752 ucol_setText(iter2, test1, u_strlen(test1), &status); in TestSetText()
759 assertEqual(iter1, iter2); in TestSetText()
763 ucol_setText(iter2, NULL, 2, &status); in TestSetText()
770 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.cc55 PickleIterator iter2(pickle); in TEST_F() local
56 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
80 PickleIterator iter2(pickle); in TEST_F() local
81 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
102 PickleIterator iter2(pickle); in TEST_F() local
103 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
129 PickleIterator iter2(pickle); in TEST_F() local
130 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
151 PickleIterator iter2(pickle); in TEST_F() local
152 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DTagContext.java69 Iterator<Tag> iter2 = otherTags.getIterator(); in equals() local
79 while (iter2 != null && iter2.hasNext()) { in equals()
80 Tag tag = iter2.next(); in equals()
/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()
/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/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc1515 RepeatedPtrField<std::string>::iterator iter2 = iter; in TEST_F() local
1516 ++iter2; in TEST_F()
1517 ++iter2; in TEST_F()
1518 EXPECT_TRUE(iter + 2 == iter2); in TEST_F()
1519 EXPECT_TRUE(iter == iter2 - 2); in TEST_F()
1527 RepeatedPtrField<std::string>::const_iterator iter2 = iter + 1; in TEST_F() local
1529 EXPECT_TRUE(iter != iter2); in TEST_F()
1530 EXPECT_TRUE(iter < iter2); in TEST_F()
1531 EXPECT_TRUE(iter <= iter2); in TEST_F()
1533 EXPECT_TRUE(iter2 > iter); in TEST_F()
[all …]
/external/skia/tools/
DSkSharingProc.cpp45 auto iter2 = context->fNonTexMap.find(id); in serializeImage() local
46 if (iter2 != context->fNonTexMap.end()) { in serializeImage()
47 img = iter2->second.get(); in serializeImage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationIteratorTest.java413 CollationElementIterator iter2 = en_us.getCollationElementIterator(test2); in TestSetText() local
416 int c = iter2.next(); in TestSetText()
421 c = iter2.next(); in TestSetText()
430 iter2.setText(test1); in TestSetText()
435 assertEqual(iter1, iter2); in TestSetText()
441 iter2.setText(chariter); in TestSetText()
446 assertEqual(iter1, iter2); in TestSetText()
452 iter2.setText(uchariter); in TestSetText()
457 assertEqual(iter1, iter2); in TestSetText()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java410 CollationElementIterator iter2 = en_us.getCollationElementIterator(test2); in TestSetText() local
413 int c = iter2.next(); in TestSetText()
418 c = iter2.next(); in TestSetText()
427 iter2.setText(test1); in TestSetText()
432 assertEqual(iter1, iter2); in TestSetText()
438 iter2.setText(chariter); in TestSetText()
443 assertEqual(iter1, iter2); in TestSetText()
449 iter2.setText(uchariter); in TestSetText()
454 assertEqual(iter1, iter2); in TestSetText()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java275 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
279 previousNext(iter2); in TestPreviousNext()
283 getText(iter2,new String(src)); in TestPreviousNext()
287 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
292 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
301 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
306 if(clone2.moveIndex(3)!=iter2.moveIndex(3)){ in TestPreviousNext()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java278 UCharacterIterator iter2 = UCharacterIterator.getInstance(src/*char array*/); in TestPreviousNext() local
282 previousNext(iter2); in TestPreviousNext()
286 getText(iter2,new String(src)); in TestPreviousNext()
290 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
295 if(citer2.first() !=iter2.current()){ in TestPreviousNext()
304 UCharacterIterator clone2 = (UCharacterIterator)iter2.clone(); in TestPreviousNext()
309 if(clone2.moveIndex(3)!=iter2.moveIndex(3)){ in TestPreviousNext()
/external/tensorflow/tensorflow/core/profiler/utils/
Dkernel_stats_utils_test.cc55 auto iter2 = kernel_stats_by_op_name.find("op2"); in TEST() local
57 ASSERT_NE(iter2, kernel_stats_by_op_name.end()); in TEST()
59 const OpLevelKernelStats& op2_stats = iter2->second; in TEST()
/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.java261 Iterator iter2 = cc.iterator(); in emitClassesByDiff() local
262 while (iter2.hasNext()) { in emitClassesByDiff()
263 ClassDiff classDiff = (ClassDiff)(iter2.next()); in emitClassesByDiff()
378 Iterator iter2 = pkg.classesChanged.iterator(); in emitNumbersByElement() local
379 while (iter2.hasNext()) { in emitNumbersByElement()
380 ClassDiff classDiff = (ClassDiff)(iter2.next()); in emitNumbersByElement()
/external/icu/icu4c/source/common/
Dustring.cpp829 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
833 if(iter1==NULL || iter2==NULL) { in u_strCompareIter()
836 if(iter1==iter2) { in u_strCompareIter()
842 iter2->move(iter2, 0, UITER_START); in u_strCompareIter()
847 c2=iter2->next(iter2); in u_strCompareIter()
870 (c2<=0xdbff && U16_IS_TRAIL(iter2->current(iter2))) || in u_strCompareIter()
871 (U16_IS_TRAIL(c2) && (iter2->previous(iter2), U16_IS_LEAD(iter2->previous(iter2)))) in u_strCompareIter()
/external/grpc-grpc/test/cpp/common/
Dauth_property_iterator_test.cc56 TestAuthPropertyIterator iter2; in TEST_F() local
57 EXPECT_EQ(iter1, iter2); in TEST_F()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp341 BasicBlock::iterator iter2 = Block2->begin(); in CompareIfRegionBlock() local
346 if (iter2 != end2) in CompareIfRegionBlock()
351 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
378 ++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/llvm-project/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp332 BasicBlock::iterator iter2 = Block2->begin(); in CompareIfRegionBlock() local
337 if (iter2 != end2) in CompareIfRegionBlock()
342 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
369 ++iter2; in CompareIfRegionBlock()

123