Home
last modified time | relevance | path

Searched refs:CharacterIterator (Results 1 – 25 of 90) sorted by relevance

1234

/external/icu4c/common/
Dchariter.cpp21 CharacterIterator::CharacterIterator() in CharacterIterator() function in CharacterIterator
25 CharacterIterator::CharacterIterator(int32_t length) in CharacterIterator() function in CharacterIterator
32 CharacterIterator::CharacterIterator(int32_t length, int32_t position) in CharacterIterator() function in CharacterIterator
44 CharacterIterator::CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t po… in CharacterIterator() function in CharacterIterator
66 CharacterIterator::~CharacterIterator() {} in ~CharacterIterator()
68 CharacterIterator::CharacterIterator(const CharacterIterator &that) : in CharacterIterator() function in CharacterIterator
74 CharacterIterator &
75 CharacterIterator::operator=(const CharacterIterator &that) { in operator =()
87 CharacterIterator::firstPostInc(void) { in firstPostInc()
93 CharacterIterator::first32PostInc(void) { in first32PostInc()
Duiter.cpp365 return ((CharacterIterator *)(iter->context))->startIndex(); in characterIteratorGetIndex()
367 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorGetIndex()
369 return ((CharacterIterator *)(iter->context))->endIndex(); in characterIteratorGetIndex()
371 return ((CharacterIterator *)(iter->context))->getLength(); in characterIteratorGetIndex()
383 ((CharacterIterator *)(iter->context))->setIndex(delta); in characterIteratorMove()
384 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
388 … return ((CharacterIterator *)(iter->context))->move(delta, (CharacterIterator::EOrigin)origin); in characterIteratorMove()
390 …((CharacterIterator *)(iter->context))->setIndex(((CharacterIterator *)(iter->context))->getLength… in characterIteratorMove()
391 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
401 return ((CharacterIterator *)(iter->context))->hasNext(); in characterIteratorHasNext()
[all …]
Duchriter.cpp20 : CharacterIterator(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0), in UCharCharacterIterator()
36 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position), in UCharCharacterIterator()
46 …: CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEn… in UCharCharacterIterator()
52 : CharacterIterator(that), in UCharCharacterIterator()
59 CharacterIterator::operator=(that); in operator =()
90 CharacterIterator*
295 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { in move()
320 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { in move32()
Dnormlzr.cpp50 Normalizer::Normalizer(const CharacterIterator& iter, UNormalizationMode mode) : in Normalizer()
404 CharacterIterator *newIter = new StringCharacterIterator(newText); in setText()
419 Normalizer::setText(const CharacterIterator& newText, in setText()
425 CharacterIterator *newIter = newText.clone(); in setText()
443 CharacterIterator *newIter = new UCharCharacterIterator(newText, length); in setText()
485 text->move32(-1, CharacterIterator::kCurrent); in nextNormalize()
/external/chromium_org/third_party/icu/source/common/
Dchariter.cpp21 CharacterIterator::CharacterIterator() in CharacterIterator() function in CharacterIterator
25 CharacterIterator::CharacterIterator(int32_t length) in CharacterIterator() function in CharacterIterator
32 CharacterIterator::CharacterIterator(int32_t length, int32_t position) in CharacterIterator() function in CharacterIterator
44 CharacterIterator::CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t po… in CharacterIterator() function in CharacterIterator
66 CharacterIterator::CharacterIterator(const CharacterIterator &that) : in CharacterIterator() function in CharacterIterator
72 CharacterIterator &
73 CharacterIterator::operator=(const CharacterIterator &that) { in operator =()
85 CharacterIterator::firstPostInc(void) { in firstPostInc()
91 CharacterIterator::first32PostInc(void) { in first32PostInc()
Duiter.cpp362 return ((CharacterIterator *)(iter->context))->startIndex(); in characterIteratorGetIndex()
364 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorGetIndex()
366 return ((CharacterIterator *)(iter->context))->endIndex(); in characterIteratorGetIndex()
368 return ((CharacterIterator *)(iter->context))->getLength(); in characterIteratorGetIndex()
380 ((CharacterIterator *)(iter->context))->setIndex(delta); in characterIteratorMove()
381 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
385 … return ((CharacterIterator *)(iter->context))->move(delta, (CharacterIterator::EOrigin)origin); in characterIteratorMove()
387 …((CharacterIterator *)(iter->context))->setIndex(((CharacterIterator *)(iter->context))->getLength… in characterIteratorMove()
388 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
398 return ((CharacterIterator *)(iter->context))->hasNext(); in characterIteratorHasNext()
[all …]
Duchriter.cpp19 : CharacterIterator(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
27 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0), in UCharCharacterIterator()
35 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position), in UCharCharacterIterator()
45 …: CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEn… in UCharCharacterIterator()
51 : CharacterIterator(that), in UCharCharacterIterator()
58 CharacterIterator::operator=(that); in operator =()
89 CharacterIterator*
294 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { in move()
319 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { in move32()
Dnormlzr.cpp49 Normalizer::Normalizer(const CharacterIterator& iter, UNormalizationMode mode) : in Normalizer()
405 CharacterIterator *newIter = new StringCharacterIterator(newText); in setText()
420 Normalizer::setText(const CharacterIterator& newText, in setText()
426 CharacterIterator *newIter = newText.clone(); in setText()
444 CharacterIterator *newIter = new UCharCharacterIterator(newText, length); in setText()
486 text->move32(-1, CharacterIterator::kCurrent); in nextNormalize()
/external/icu4c/common/unicode/
Dchariter.h356 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
368 virtual ~CharacterIterator();
378 virtual CharacterIterator* clone(void) const = 0;
623 CharacterIterator();
629 CharacterIterator(int32_t length);
635 CharacterIterator(int32_t length, int32_t position);
641 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
649 CharacterIterator(const CharacterIterator &that);
658 CharacterIterator &operator=(const CharacterIterator &that);
692 CharacterIterator::setToStart() { in setToStart()
[all …]
Drbbi.h79 CharacterIterator *fCharIter;
374 virtual CharacterIterator& getText(void) const;
400 virtual void adoptText(CharacterIterator* newText);
/external/chromium_org/third_party/icu/source/common/unicode/
Dchariter.h356 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
372 virtual CharacterIterator* clone(void) const = 0;
617 CharacterIterator();
623 CharacterIterator(int32_t length);
629 CharacterIterator(int32_t length, int32_t position);
635 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
643 CharacterIterator(const CharacterIterator &that);
652 CharacterIterator &operator=(const CharacterIterator &that);
686 CharacterIterator::setToStart() { in setToStart()
691 CharacterIterator::setToEnd() { in setToEnd()
[all …]
Drbbi.h79 CharacterIterator *fCharIter;
346 virtual CharacterIterator& getText(void) const;
372 virtual void adoptText(CharacterIterator* newText);
/external/icu4c/test/intltest/
Dcitrtest.cpp25 class SCharacterIterator : public CharacterIterator {
57 virtual CharacterIterator* clone(void) const { in clone()
78 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){ in move()
101 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin){ in move32()
200 CharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality()
201 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality()
202 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality()
203 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality()
204 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality()
205 CharacterIterator* test2 = new StringCharacterIterator(testText, 5); in TestConstructionAndEquality()
[all …]
Ddadrcoll.cpp97 while(currChar != CharacterIterator::DONE) { in getNextInSequence()
104 case CharacterIterator::DONE: in getNextInSequence()
108 currChar = CharacterIterator::DONE; in getNextInSequence()
112 currChar = CharacterIterator::DONE; in getNextInSequence()
116 currChar = CharacterIterator::DONE; in getNextInSequence()
130 if(currChar == CharacterIterator::DONE) { in getNextInSequence()
/external/chromium_org/third_party/icu/source/test/intltest/
Dcitrtest.cpp24 class SCharacterIterator : public CharacterIterator {
56 virtual CharacterIterator* clone(void) const { in clone()
77 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){ in move()
100 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin){ in move32()
199 CharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality()
200 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality()
201 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality()
202 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality()
203 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality()
204 CharacterIterator* test2 = new StringCharacterIterator(testText, 5); in TestConstructionAndEquality()
[all …]
Ddadrcoll.cpp97 while(currChar != CharacterIterator::DONE) { in getNextInSequence()
104 case CharacterIterator::DONE: in getNextInSequence()
108 currChar = CharacterIterator::DONE; in getNextInSequence()
112 currChar = CharacterIterator::DONE; in getNextInSequence()
116 currChar = CharacterIterator::DONE; in getNextInSequence()
130 if(currChar == CharacterIterator::DONE) { in getNextInSequence()
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DStringCharacterIteratorTest.java20 import java.text.CharacterIterator;
194 assertTrue("Not DONE", it1.first() == CharacterIterator.DONE); in test_first()
283 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next()
285 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next()
287 assertEquals(CharacterIterator.DONE, fixture.next()); in test_next()
295 assertTrue("Wrong next char3", it1.next() == CharacterIterator.DONE); in test_next()
296 assertTrue("Wrong next char4", it1.next() == CharacterIterator.DONE); in test_next()
300 it1.current() == CharacterIterator.DONE); in test_next()
308 assertEquals(CharacterIterator.DONE, fixture.previous()); in test_previous()
315 assertEquals(CharacterIterator.DONE, fixture.next()); in test_previous()
[all …]
DAttributedCharacterIteratorTest.java22 import java.text.CharacterIterator;
40 assertTrue("Wrong final", it.current() == CharacterIterator.DONE); in test_current()
59 assertTrue("Wrong first4", it.first() == CharacterIterator.DONE); in test_first()
112 assertTrue("Wrong last4", it.last() == CharacterIterator.DONE); in test_last()
126 assertTrue("Wrong final", it.next() == CharacterIterator.DONE); in test_next()
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h163 class CharacterIterator {
165 virtual ~CharacterIterator() {} in ~CharacterIterator()
174 CharacterIterator() {} in CharacterIterator() function
180 virtual CMap::CharacterIterator* Iterator() = 0;
244 class CharacterIterator : public CMap::CharacterIterator {
246 virtual ~CharacterIterator();
251 CharacterIterator(int32_t start, int32_t end);
259 CMap::CharacterIterator* Iterator();
287 class CharacterIterator : public CMap::CharacterIterator {
289 virtual ~CharacterIterator();
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h163 class CharacterIterator {
165 virtual ~CharacterIterator() {} in ~CharacterIterator()
174 CharacterIterator() {} in CharacterIterator() function
180 virtual CMap::CharacterIterator* Iterator() = 0;
244 class CharacterIterator : public CMap::CharacterIterator {
246 virtual ~CharacterIterator();
251 CharacterIterator(int32_t start, int32_t end);
259 CMap::CharacterIterator* Iterator();
287 class CharacterIterator : public CMap::CharacterIterator {
289 virtual ~CharacterIterator();
[all …]
/external/icu4c/samples/citer/
Dciter.cpp29 } else if (ch == CharacterIterator::DONE) { in printUChar()
83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
95 if (c != CharacterIterator::DONE) { in TestUChariter()
103 } while (c != CharacterIterator::DONE); in TestUChariter()
146 if (c == CharacterIterator::DONE) { in TestStringiter()
158 if (c != CharacterIterator::DONE) { in TestStringiter()
165 } while (c != CharacterIterator::DONE); in TestStringiter()
/external/sfntly/cpp/src/test/
Dcmap_iterator_test.cc68 int32_t CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator*
101 CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator* character_iterator, in CompareCMapIterAndBitSet()
132 CMapTable::CMap::CharacterIterator* character_iterator = NULL; in TEST_P()
135 reinterpret_cast<CMapTable::CMap::CharacterIterator*>(NULL)); in TEST_P()
/external/chromium_org/third_party/sfntly/cpp/src/test/
Dcmap_iterator_test.cc68 int32_t CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator*
101 CompareCMapIterAndBitSet(CMapTable::CMap::CharacterIterator* character_iterator, in CompareCMapIterAndBitSet()
132 CMapTable::CMap::CharacterIterator* character_iterator = NULL; in TEST_P()
135 reinterpret_cast<CMapTable::CMap::CharacterIterator*>(NULL)); in TEST_P()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dstsearch.h222 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
252 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
359 virtual void setText(CharacterIterator &text, UErrorCode &status);
/external/icu4c/i18n/unicode/
Dstsearch.h222 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
252 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
359 virtual void setText(CharacterIterator &text, UErrorCode &status);

1234