Lines Matching refs:sIter
857 UCharIterator sIter, cIter, rIter; in TestUCharIterator() local
859 uiter_setString(&sIter, s.getBuffer(), s.length()); in TestUCharIterator()
863 TestUCharIterator(&sIter, compareCI, moves, "uiter_setString"); in TestUCharIterator()
870 sIter.start=2; in TestUCharIterator()
871 sIter.index=3; in TestUCharIterator()
872 sIter.limit=5; in TestUCharIterator()
873 if( sIter.getIndex(&sIter, UITER_ZERO)!=0 || in TestUCharIterator()
874 sIter.getIndex(&sIter, UITER_START)!=2 || in TestUCharIterator()
875 sIter.getIndex(&sIter, UITER_CURRENT)!=3 || in TestUCharIterator()
876 sIter.getIndex(&sIter, UITER_LIMIT)!=5 || in TestUCharIterator()
877 sIter.getIndex(&sIter, UITER_LENGTH)!=s.length() in TestUCharIterator()
882 if( sIter.move(&sIter, 4, UITER_ZERO)!=4 || in TestUCharIterator()
883 sIter.move(&sIter, 1, UITER_START)!=3 || in TestUCharIterator()
884 sIter.move(&sIter, 3, UITER_CURRENT)!=5 || in TestUCharIterator()
885 sIter.move(&sIter, -1, UITER_LIMIT)!=4 || in TestUCharIterator()
886 sIter.move(&sIter, -5, UITER_LENGTH)!=3 || in TestUCharIterator()
887 sIter.move(&sIter, 0, UITER_CURRENT)!=sIter.getIndex(&sIter, UITER_CURRENT) || in TestUCharIterator()
888 sIter.getIndex(&sIter, UITER_CURRENT)!=3 in TestUCharIterator()
938 if(sIter.getIndex(&sIter, (enum UCharIteratorOrigin)-1) != -1) in TestUCharIterator()
943 if(sIter.move(&sIter, 0, (enum UCharIteratorOrigin)-1) != -1) in TestUCharIterator()
950 uiter_setString(&sIter, NULL, 1); in TestUCharIterator()
951 uiter_setState(&sIter, 1, &status); in TestUCharIterator()
960 if (uiter_getState(&sIter) != UITER_NO_STATE) { in TestUCharIterator()