• Home
  • Raw
  • Download

Lines Matching refs:iter2

432         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()
1319 pos2=iter2->move(iter2, 0, UITER_START); in compareIterators()
1324 if(!iter2->hasNext(iter2)) { in compareIterators()
1331 c2=iter2->next(iter2); in compareIterators()
1342 if(iter2->hasNext(iter2)) { in compareIterators()
1354 pos2=iter2->move(iter2, middle, UITER_ZERO); in compareIterators()
1367 pos2=iter2->move(iter2, 1, UITER_ZERO); in compareIterators()
1384 pos2=iter2->move(iter2, 0, UITER_LIMIT); in compareIterators()
1389 if(!iter2->hasPrevious(iter2)) { in compareIterators()
1396 c2=iter2->previous(iter2); in compareIterators()
1407 if(iter2->hasPrevious(iter2)) { in compareIterators()
1423 testIteratorState(UCharIterator *iter1, UCharIterator *iter2, const char *n, int32_t middle) { in testIteratorState() argument
1449 uiter_setState(iter2, state, &errorCode); in testIteratorState()
1455 c=iter2->current(iter2); in testIteratorState()
1460 c=iter2->previous(iter2); in testIteratorState()
1465 iter2->move(iter2, 2, UITER_CURRENT); in testIteratorState()
1466 c=iter2->next(iter2); in testIteratorState()
1471 iter2->move(iter2, -3, UITER_CURRENT); in testIteratorState()
1472 c=iter2->previous(iter2); in testIteratorState()
1478 iter2->move(iter2, 1, UITER_CURRENT); in testIteratorState()
1479 iter2->next(iter2); in testIteratorState()
1483 j=iter2->getIndex(iter2, UITER_CURRENT); in testIteratorState()
1493 j=iter2->getIndex(iter2, UITER_LENGTH); in testIteratorState()
1506 UCharIterator iter, iter1, iter2; in TestUCharIterator() local
1523 uiter_setString(&iter2, text, length); in TestUCharIterator()
1524 testIteratorState(&iter1, &iter2, "UTF16IteratorState", length/2); in TestUCharIterator()
1525 testIteratorState(&iter1, &iter2, "UTF16IteratorStatePlus1", length/2+1); in TestUCharIterator()
1536 uiter_setUTF8(&iter2, bytes, length); in TestUCharIterator()
1537 compareIterators(&iter1, "UTF16Iterator", &iter2, "UTF8Iterator"); in TestUCharIterator()
1540 uiter_setUTF8(&iter2, bytes, -1); in TestUCharIterator()
1541 compareIterators(&iter1, "UTF16Iterator", &iter2, "UTF8Iterator_1"); in TestUCharIterator()
1546 testIteratorState(&iter1, &iter2, "UTF8IteratorState", length/2); in TestUCharIterator()
1547 testIteratorState(&iter1, &iter2, "UTF8IteratorStatePlus1", length/2+1); in TestUCharIterator()
1563 uiter_setUTF16BE(&iter2, bytes, length); in TestUCharIterator()
1564 compareIterators(&iter1, "UTF16Iterator", &iter2, "UTF16BEIterator"); in TestUCharIterator()
1567 uiter_setUTF16BE(&iter2, bytes, -1); in TestUCharIterator()
1568 compareIterators(&iter1, "UTF16Iterator", &iter2, "UTF16BEIterator_1"); in TestUCharIterator()
1572 uiter_setUTF16BE(&iter2, bytes+1, -1); in TestUCharIterator()
1573 compareIterators(&iter1, "UTF16Iterator", &iter2, "UTF16BEIteratorMoved1"); in TestUCharIterator()