Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/samples/uciter8/
Duciter8.c45 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
51 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
61 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
74 c1=iter1->current(iter1); in compareIterators()
83 c1=iter1->next(iter1); in compareIterators()
86 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
93 c1=iter1->previous(iter1); in compareIterators()
96 …%04x=%s->previous() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
102 pos1=iter1->move(iter1, 0, UITER_START); in compareIterators()
107 if(!iter1->hasNext(iter1)) { in compareIterators()
[all …]
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcustrtst.c431 UCharIterator iter1, iter2; in TestStringFunctions() local
466 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions()
468 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
471 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1192 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
1198 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
1208 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1221 c1=iter1->current(iter1); in compareIterators()
1230 c1=iter1->next(iter1); in compareIterators()
1233 …= U+%04x=%s->next() at %d (started in middle)\n", n1, c1, c2, n2, iter1->getIndex(iter1, UITER_CUR… in compareIterators()
[all …]
Dcitertst.c712 UCollationElements *iter1, *iter2; in TestSetText() local
720 iter1=ucol_openElements(en_us, test1, u_strlen(test1), &status); in TestSetText()
745 ucol_closeElements(iter1); in TestSetText()
761 assertEqual(iter1, iter2); in TestSetText()
778 ucol_closeElements(iter1); in TestSetText()
/external/chromium_org/third_party/icu/source/test/intltest/
Ditercoll.cpp229 CollationElementIterator *iter1 = en_us->createCollationElementIterator(test1); in TestSetText() local
243 delete iter1; in TestSetText()
258 assertEqual(*iter1, *iter2); in TestSetText()
260 iter1->reset(); in TestSetText()
270 assertEqual(*iter1, *iter2); in TestSetText()
275 iter1->setText(empty, status); in TestSetText()
277 || iter1->next(status) != (int32_t)UCOL_NULLORDER) { in TestSetText()
281 iter1->setText(*chariter, status); in TestSetText()
283 || iter1->next(status) != (int32_t)UCOL_NULLORDER) { in TestSetText()
288 delete iter1; in TestSetText()
[all …]
Dnumfmtst.cpp5887 FieldPositionIterator iter1; in TestFieldPositionIterator() local
5898 assertTrue((UnicodeString)"self==", iter1 == iter1); in TestFieldPositionIterator()
5899 assertTrue((UnicodeString)"iter1==iter2", iter1 == iter2); in TestFieldPositionIterator()
5901 decFmt->format(num, str1, &iter1, status); in TestFieldPositionIterator()
5902 assertTrue((UnicodeString)"iter1 != iter2", iter1 != iter2); in TestFieldPositionIterator()
5904 assertTrue((UnicodeString)"iter1 == iter2 (2)", iter1 == iter2); in TestFieldPositionIterator()
5905 iter1.next(pos); in TestFieldPositionIterator()
5906 assertTrue((UnicodeString)"iter1 != iter2 (2)", iter1 != iter2); in TestFieldPositionIterator()
5908 assertTrue((UnicodeString)"iter1 == iter2 (3)", iter1 == iter2); in TestFieldPositionIterator()
/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 …]
/external/icu/icu4c/source/test/cintltst/
Dcustrtst.c427 UCharIterator iter1, iter2; in TestStringFunctions() local
462 uiter_setString(&iter1, strings[i], len1); in TestStringFunctions()
464 if(u_strCompareIter(&iter1, &iter2, TRUE)>=0) { in TestStringFunctions()
467 r1=u_strCompareIter(&iter1, &iter2, FALSE); in TestStringFunctions()
1188 compareIterators(UCharIterator *iter1, const char *n1, in compareIterators() argument
1194 length=iter1->getIndex(iter1, UITER_LENGTH); in compareIterators()
1204 pos1=iter1->move(iter1, middle, UITER_ZERO); in compareIterators()
1217 c1=iter1->current(iter1); in compareIterators()
1226 c1=iter1->next(iter1); in compareIterators()
1229 …= 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()
/external/chromium_org/chrome/browser/
Dmemory_details.cc146 for (ProcessMemoryInformationList::reverse_iterator iter1 = in ToLogString() local
148 iter1 != processes.rend(); in ToLogString()
149 ++iter1) { in ToLogString()
151 iter1->process_type, iter1->renderer_type); in ToLogString()
152 if (!iter1->titles.empty()) { in ToLogString()
155 iter1->titles.begin(); in ToLogString()
156 iter2 != iter1->titles.end(); ++iter2) { in ToLogString()
157 if (iter2 != iter1->titles.begin()) in ToLogString()
164 static_cast<int>(iter1->working_set.priv) / 1024, in ToLogString()
165 static_cast<int>(iter1->working_set.shared) / 1024); in ToLogString()
[all …]
/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/chromium_org/third_party/icu/source/common/
Dustring.c825 u_strCompareIter(UCharIterator *iter1, UCharIterator *iter2, UBool codePointOrder) { in u_strCompareIter() argument
829 if(iter1==NULL || iter2==NULL) { in u_strCompareIter()
832 if(iter1==iter2) { in u_strCompareIter()
837 iter1->move(iter1, 0, UITER_START); in u_strCompareIter()
842 c1=iter1->next(iter1); in u_strCompareIter()
856 (c1<=0xdbff && UTF_IS_TRAIL(iter1->current(iter1))) || in u_strCompareIter()
857 (UTF_IS_TRAIL(c1) && (iter1->previous(iter1), UTF_IS_LEAD(iter1->previous(iter1)))) in u_strCompareIter()
900 if(!UTF_IS_TRAIL(iter1->current(iter1))) {
905 int32_t idx=iter1->getIndex(iter1, UITER_CURRENT);
906 iter1->previous(iter1); /* ==c1 */
[all …]
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp328 BasicBlock::iterator iter1 = Block1->begin(); in CompareIfRegionBlock() local
334 if (iter1 == end1) { in CompareIfRegionBlock()
340 if (!iter1->isIdenticalTo(iter2)) in CompareIfRegionBlock()
345 if (iter1->mayHaveSideEffects()) { in CompareIfRegionBlock()
346 Instruction *CurI = &*iter1; in CompareIfRegionBlock()
354 if (iter1->mayReadFromMemory()) in CompareIfRegionBlock()
357 if (iter1->mayWriteToMemory()) { in CompareIfRegionBlock()
361 if (!AA || AA->alias(iter1, BI)) in CompareIfRegionBlock()
366 ++iter1; in CompareIfRegionBlock()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dstring-weight.h293 StringWeightIterator<L, S> iter1(w1);
296 for (; !iter1.Done() ; iter1.Next(), iter2.Next())
297 if (iter1.Value() != iter2.Value())
387 StringWeightIterator<L, STRING_LEFT> iter1(w1); in Plus()
389 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
390 iter1.Next(), iter2.Next()) in Plus()
391 sum.PushBack(iter1.Value()); in Plus()
406 StringWeightReverseIterator<L, STRING_RIGHT> iter1(w1); in Plus()
408 for (; !iter1.Done() && !iter2.Done() && iter1.Value() == iter2.Value(); in Plus()
409 iter1.Next(), iter2.Next()) in Plus()
[all …]
Ddeterminize.h63 StringWeightIterator<L, S> iter1(w1); in operator()
74 return Weight(iter1.Value()); in operator()
75 else if (iter1.Value() == iter2.Value()) in operator()
76 return Weight(iter1.Value()); in operator()
393 for (typename Subset::iterator iter1 = subset1->begin(); in operator() local
394 iter1 != subset1->end(); in operator()
395 ++iter1) { in operator()
396 Element &element1 = *iter1; in operator()
408 for (typename Subset::iterator iter1 = subset1->begin(); in operator() local
409 iter1 != subset1->end(); in operator()
[all …]
Dmap.h733 StringWeightIterator<Label, S> iter1(w1); in operator()
735 Label l = w1.Size() == 1 ? iter1.Value() : 0; in operator()
798 StringWeightIterator<Label, S> iter1(w1); in operator()
803 ++i, iter1.Next(), p = n) { in operator()
805 fst_->AddArc(p, ToArc(i ? 0 : l, iter1.Value(), AW::One(), n)); in operator()
808 s = s + osymbols_->Find(iter1.Value()); in operator()
/external/chromium_org/chrome/browser/ui/ash/launcher/
Dapp_window_launcher_controller.cc198 WindowToAppShelfIdMap::iterator iter1 = in UnregisterApp() local
200 DCHECK(iter1 != window_to_app_shelf_id_map_.end()); in UnregisterApp()
201 std::string app_shelf_id = iter1->second; in UnregisterApp()
202 window_to_app_shelf_id_map_.erase(iter1); in UnregisterApp()
227 WindowToAppShelfIdMap::iterator iter1 = in ControllerForWindow() local
229 if (iter1 == window_to_app_shelf_id_map_.end()) in ControllerForWindow()
231 std::string app_shelf_id = iter1->second; in ControllerForWindow()
/external/chromium_org/third_party/skia/tests/
DLListTest.cpp131 Iter iter1; in TestTLList() local
141 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kHead_IterStart)); in TestTLList()
142 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kTail_IterStart)); in TestTLList()
155 iter1.init(list1, Iter::kHead_IterStart); in TestTLList()
157 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList()
160 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
161 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
183 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
184 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
/external/skia/tests/
DLListTest.cpp131 Iter iter1; in TestTLList() local
141 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kHead_IterStart)); in TestTLList()
142 REPORTER_ASSERT(reporter, NULL == iter1.init(list1, Iter::kTail_IterStart)); in TestTLList()
155 iter1.init(list1, Iter::kHead_IterStart); in TestTLList()
157 REPORTER_ASSERT(reporter, iter1.get()->fID == iter2.get()->fID); in TestTLList()
160 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
161 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
183 REPORTER_ASSERT(reporter, iter3.get()->fID == iter1.get()->fID); in TestTLList()
184 REPORTER_ASSERT(reporter, iter4.get()->fID == iter1.get()->fID); in TestTLList()
/external/stlport/test/unit/
Diter_test.cpp19 CPPUNIT_TEST(iter1);
29 void iter1();
43 void IterTest::iter1() in iter1() function in IterTest
/external/chromium_org/base/
Did_map_unittest.cc158 IDMap<TestObject>::const_iterator iter1(&map); in TEST() local
163 IDMap<TestObject>::const_iterator iter2(iter1); in TEST()
186 IDMap<TestObject>::const_iterator iter1(&map); in TEST() local
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dcodegen.cc442 Instructions::const_iterator iter1 = insns1.begin(); in PointerCompare() local
444 for (;; ++iter1, ++iter2) { in PointerCompare()
448 if (iter1 == insns1.end() || iter2 == insns2.end()) { in PointerCompare()
449 if (iter1 != insns1.end()) { in PointerCompare()
474 const Instruction& insn1 = **iter1; in PointerCompare()
/external/chromium_org/chromeos/network/
Dshill_property_handler.cc343 for (base::ListValue::const_iterator iter1 = entries.begin(); in UpdateObserved() local
344 iter1 != entries.end(); ++iter1) { in UpdateObserved()
346 (*iter1)->GetAsString(&path); in UpdateObserved()
/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/chromium_org/chrome/browser/search_engines/
Dtemplate_url_service_sync_unittest.cc302 for (SyncDataMap::const_iterator iter1 = map1.begin(); in AssertEquals() local
303 iter1 != map1.end(); iter1++) { in AssertEquals()
304 SyncDataMap::iterator iter2 = map2.find(iter1->first); in AssertEquals()
306 ASSERT_EQ(GetKeyword(iter1->second), GetKeyword(iter2->second)); in AssertEquals()
307 ASSERT_EQ(GetURL(iter1->second), GetURL(iter2->second)); in AssertEquals()
/external/chromium_org/ui/base/clipboard/
Dclipboard_unittest.cc615 PickleIterator iter1(read_pickle1); in TEST_F() local
617 ASSERT_TRUE(read_pickle1.ReadString(&iter1, &unpickled_string1)); in TEST_F()

12