Home
last modified time | relevance | path

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

123456

/external/icu/icu4c/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() {} 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()
/external/icu/icu4c/source/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 …]
/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp26 class SCharacterIterator : public CharacterIterator {
58 virtual CharacterIterator* clone(void) const { in clone()
79 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){ in move()
102 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 …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterIteratorWrapper.java10 import java.text.CharacterIterator;
23 private CharacterIterator iterator;
26 public CharacterIteratorWrapper(CharacterIterator iter){ in CharacterIteratorWrapper()
38 if(c==CharacterIterator.DONE){ in current()
64 if(i==CharacterIterator.DONE){ in next()
75 if(i==CharacterIterator.DONE){ in previous()
109 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { in getText()
124 result.iterator = (CharacterIterator)this.iterator.clone(); in clone()
147 public CharacterIterator getCharacterIterator(){ in getCharacterIterator()
148 return (CharacterIterator)iterator.clone(); in getCharacterIterator()
DCharacterIteration.java10 import java.text.CharacterIterator;
33 public static int next32(CharacterIterator ci) { in next32()
69 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32()
70 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
87 public static int previous32(CharacterIterator ci) { in previous32()
106 public static int current32(CharacterIterator ci) { in current32()
121 if (lead == CharacterIterator.DONE) { in current32()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteratorWrapper.java9 import java.text.CharacterIterator;
21 private CharacterIterator iterator;
24 public CharacterIteratorWrapper(CharacterIterator iter){ in CharacterIteratorWrapper()
36 if(c==CharacterIterator.DONE){ in current()
62 if(i==CharacterIterator.DONE){ in next()
73 if(i==CharacterIterator.DONE){ in previous()
107 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { in getText()
122 result.iterator = (CharacterIterator)this.iterator.clone(); in clone()
145 public CharacterIterator getCharacterIterator(){ in getCharacterIterator()
146 return (CharacterIterator)iterator.clone(); in getCharacterIterator()
DCharacterIteration.java9 import java.text.CharacterIterator;
29 public static int next32(CharacterIterator ci) { in next32()
65 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32()
66 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
83 public static int previous32(CharacterIterator ci) { in previous32()
102 public static int current32(CharacterIterator ci) { in current32()
117 if (lead == CharacterIterator.DONE) { in current32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java10 import java.text.CharacterIterator;
70 protected CharacterIterator targetText;
98 CharacterIterator text() { in text()
102 void setTarget(CharacterIterator text) { in setTarget()
232 search_.breakIter().setText((CharacterIterator)search_.text().clone()); in setBreakIterator()
248 public void setTarget(CharacterIterator text) in setTarget()
263 search_.breakIter().setText((CharacterIterator)text.clone()); in setTarget()
266 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); in setTarget()
347 public CharacterIterator getTarget() { in getTarget()
370 CharacterIterator it = search_.text(); in getMatchedText()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java11 import java.text.CharacterIterator;
68 protected CharacterIterator targetText;
95 CharacterIterator text() { in text()
99 void setTarget(CharacterIterator text) { in setTarget()
225 search_.breakIter().setText((CharacterIterator)search_.text().clone()); in setBreakIterator()
240 public void setTarget(CharacterIterator text) in setTarget()
255 search_.breakIter().setText((CharacterIterator)text.clone()); in setTarget()
258 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); in setTarget()
334 public CharacterIterator getTarget() { in getTarget()
356 CharacterIterator it = search_.text(); in getMatchedText()
[all …]
DDictionaryBreakEngine.java10 import java.text.CharacterIterator;
40 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates()
59 public int acceptMarked(CharacterIterator fIter) { in acceptMarked()
66 public boolean backUp(CharacterIterator fIter) { in backUp()
172 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks()
224 abstract int divideUpDictionaryRange(CharacterIterator text, in divideUpDictionaryRange()
DDictionaryMatcher.java10 import java.text.CharacterIterator;
29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
32 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
DLanguageBreakEngine.java10 import java.text.CharacterIterator;
38 int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks()
/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/icu/icu4c/source/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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryBreakEngine.java9 import java.text.CharacterIterator;
39 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates()
58 public int acceptMarked(CharacterIterator fIter) { in acceptMarked()
65 public boolean backUp(CharacterIterator fIter) { in backUp()
171 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks()
223 abstract int divideUpDictionaryRange(CharacterIterator text, in divideUpDictionaryRange()
DDictionaryMatcher.java9 import java.text.CharacterIterator;
28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
31 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DBreakIteratorRegTest.java10 import java.text.CharacterIterator;
75 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg()
99 CharacterIterator sci = test1.getText(); in TestRegUnreg()
117 private static String getString(CharacterIterator ci) { in getString()
120 for (char c = ci.first(); c != CharacterIterator.DONE; c = ci.next()) { in getString()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java9 import java.text.CharacterIterator;
71 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg()
95 CharacterIterator sci = test1.getText(); in TestRegUnreg()
113 private static String getString(CharacterIterator ci) { in getString()
116 for (char c = ci.first(); c != CharacterIterator.DONE; c = ci.next()) { in getString()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DBreakIterator.java10 import java.text.CharacterIterator;
382 public abstract CharacterIterator getText(); in getText()
409 public abstract void setText(CharacterIterator newText); in setText()
785 public CharacterIterator getText() { in getText()
788 public void setText(CharacterIterator newText) { in setText()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DBreakIteratorICU.java9 import java.text.CharacterIterator;
56 public CharacterIterator getText() { in getText()
91 public void setText(CharacterIterator newText) { in setText()
/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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java9 import java.text.CharacterIterator;
288 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
289 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
290 CharacterIterator citer3 = iter3.getCharacterIterator(); in TestPreviousNext()
396 CharacterIterator wrap_ci = it.getCharacterIterator(); in TestUCharacterIteratorWrapper()
397 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()
450 CharacterIterator cloneWCI = (CharacterIterator) wrap_ci.clone(); in TestUCharacterIteratorWrapper()
/external/icu/icu4c/source/i18n/unicode/
Dstsearch.h216 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
246 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
353 virtual void setText(CharacterIterator &text, UErrorCode &status);

123456