Lines Matching refs:CharacterIterator
26 class SCharacterIterator : public CharacterIterator {
58 virtual CharacterIterator* clone(void) const {
79 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){
102 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin){
199 CharacterIterator* test1 = new StringCharacterIterator(testText);
200 CharacterIterator* test1b= new StringCharacterIterator(testText, -1);
201 CharacterIterator* test1c= new StringCharacterIterator(testText, 100);
202 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5);
203 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5);
204 CharacterIterator* test2 = new StringCharacterIterator(testText, 5);
205 CharacterIterator* test3 = new StringCharacterIterator(testText, 2, 20, 5);
206 CharacterIterator* test4 = new StringCharacterIterator(testText2);
207 CharacterIterator* test5 = test1->clone();
229 errln("getLength of CharacterIterator failed");
400 if (c == CharacterIterator::DONE && i != text.length())
412 if (c != CharacterIterator::DONE) {
416 } while (c != CharacterIterator::DONE);
418 if(c!= CharacterIterator::DONE)
421 if(c!= CharacterIterator::DONE)
429 if (c == CharacterIterator::DONE && i >= 0)
443 if (c != CharacterIterator::DONE) {
447 } while (c != CharacterIterator::DONE);
450 if(c!= CharacterIterator::DONE)
470 if (c != CharacterIterator::DONE)
485 if(c!= CharacterIterator::DONE)
502 if (c == CharacterIterator::DONE && i != 15)
516 if (c != CharacterIterator::DONE) {
520 } while (c != CharacterIterator::DONE);
527 if (c == CharacterIterator::DONE && i >= 5)
539 if (c != CharacterIterator::DONE) {
543 } while (c != CharacterIterator::DONE);
568 i=iter.move32(1, CharacterIterator::kStart);
573 i=iter.move32(2, CharacterIterator::kCurrent);
578 i=iter.move32(-2, CharacterIterator::kCurrent);
584 i=iter.move32(-2, CharacterIterator::kEnd);
599 if (c == CharacterIterator::DONE && i != text.length())
610 if (c != CharacterIterator::DONE) {
614 } while (c != CharacterIterator::DONE);
625 if(c!= CharacterIterator::DONE)
628 if(c!= CharacterIterator::DONE)
636 if (c == CharacterIterator::DONE && i >= 0)
649 if (c != CharacterIterator::DONE) {
653 } while (c != CharacterIterator::DONE);
658 if(c!= CharacterIterator::DONE)
679 if (c != CharacterIterator::DONE)
692 if(c!= CharacterIterator::DONE)
712 if (c == CharacterIterator::DONE && i != 11)
724 if (c != CharacterIterator::DONE) {
728 } while (c != CharacterIterator::DONE);
730 if(c != CharacterIterator::DONE)
739 if (c == CharacterIterator::DONE && i >= 5)
752 if (c != CharacterIterator::DONE) {
757 } while (c != CharacterIterator::DONE);
759 if(c!= CharacterIterator::DONE)
766 void CharIterTest::TestUCharIterator(UCharIterator *iter, CharacterIterator &ci,
817 c2=(UChar32)ci.move(2, CharacterIterator::kCurrent);
823 c2=(UChar32)ci.move(-2, CharacterIterator::kCurrent);
965 class SubCharIter : public CharacterIterator {
967 // public default constructor, to get coverage of CharacterIterator()
968 SubCharIter() : CharacterIterator() {
1093 virtual CharacterIterator *clone() const {
1163 // in ICU's own CharacterIterator subclasses