Lines Matching full:siter
856 UCharIterator sIter, cIter, rIter;
858 uiter_setString(&sIter, s.getBuffer(), s.length());
862 TestUCharIterator(&sIter, compareCI, moves, "uiter_setString");
869 sIter.start=2;
870 sIter.index=3;
871 sIter.limit=5;
872 if( sIter.getIndex(&sIter, UITER_ZERO)!=0 ||
873 sIter.getIndex(&sIter, UITER_START)!=2 ||
874 sIter.getIndex(&sIter, UITER_CURRENT)!=3 ||
875 sIter.getIndex(&sIter, UITER_LIMIT)!=5 ||
876 sIter.getIndex(&sIter, UITER_LENGTH)!=s.length()
881 if( sIter.move(&sIter, 4, UITER_ZERO)!=4 ||
882 sIter.move(&sIter, 1, UITER_START)!=3 ||
883 sIter.move(&sIter, 3, UITER_CURRENT)!=5 ||
884 sIter.move(&sIter, -1, UITER_LIMIT)!=4 ||
885 sIter.move(&sIter, -5, UITER_LENGTH)!=3 ||
886 sIter.move(&sIter, 0, UITER_CURRENT)!=sIter.getIndex(&sIter, UITER_CURRENT) ||
887 sIter.getIndex(&sIter, UITER_CURRENT)!=3
937 if(sIter.getIndex(&sIter, (enum UCharIteratorOrigin)-1) != -1)
942 if(sIter.move(&sIter, 0, (enum UCharIteratorOrigin)-1) != -1)
949 uiter_setString(&sIter, NULL, 1);
950 uiter_setState(&sIter, 1, &status);
959 if (uiter_getState(&sIter) != UITER_NO_STATE) {