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