Lines Matching refs:sIter
855 UCharIterator sIter, cIter, rIter; in TestUCharIterator() local
857 uiter_setString(&sIter, s.getBuffer(), s.length()); in TestUCharIterator()
861 TestUCharIterator(&sIter, compareCI, moves, "uiter_setString"); in TestUCharIterator()
868 sIter.start=2; in TestUCharIterator()
869 sIter.index=3; in TestUCharIterator()
870 sIter.limit=5; in TestUCharIterator()
871 if( sIter.getIndex(&sIter, UITER_ZERO)!=0 || in TestUCharIterator()
872 sIter.getIndex(&sIter, UITER_START)!=2 || in TestUCharIterator()
873 sIter.getIndex(&sIter, UITER_CURRENT)!=3 || in TestUCharIterator()
874 sIter.getIndex(&sIter, UITER_LIMIT)!=5 || in TestUCharIterator()
875 sIter.getIndex(&sIter, UITER_LENGTH)!=s.length() in TestUCharIterator()
880 if( sIter.move(&sIter, 4, UITER_ZERO)!=4 || in TestUCharIterator()
881 sIter.move(&sIter, 1, UITER_START)!=3 || in TestUCharIterator()
882 sIter.move(&sIter, 3, UITER_CURRENT)!=5 || in TestUCharIterator()
883 sIter.move(&sIter, -1, UITER_LIMIT)!=4 || in TestUCharIterator()
884 sIter.move(&sIter, -5, UITER_LENGTH)!=3 || in TestUCharIterator()
885 sIter.move(&sIter, 0, UITER_CURRENT)!=sIter.getIndex(&sIter, UITER_CURRENT) || in TestUCharIterator()
886 sIter.getIndex(&sIter, UITER_CURRENT)!=3 in TestUCharIterator()
936 if(sIter.getIndex(&sIter, (enum UCharIteratorOrigin)-1) != -1) in TestUCharIterator()
941 if(sIter.move(&sIter, 0, (enum UCharIteratorOrigin)-1) != -1) in TestUCharIterator()
948 uiter_setString(&sIter, NULL, 1); in TestUCharIterator()
949 uiter_setState(&sIter, 1, &status); in TestUCharIterator()
958 if (uiter_getState(&sIter) != UITER_NO_STATE) { in TestUCharIterator()