Home
last modified time | relevance | path

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

123456

/external/icu/icu4c/source/common/
Dchariter.cpp23 CharacterIterator::CharacterIterator() in CharacterIterator() function in CharacterIterator
27 CharacterIterator::CharacterIterator(int32_t length) in CharacterIterator() function in CharacterIterator
34 CharacterIterator::CharacterIterator(int32_t length, int32_t position) in CharacterIterator() function in CharacterIterator
46 CharacterIterator::CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t po… in CharacterIterator() function in CharacterIterator
68 CharacterIterator::~CharacterIterator() {} in ~CharacterIterator()
70 CharacterIterator::CharacterIterator(const CharacterIterator &that) : in CharacterIterator() function in CharacterIterator
76 CharacterIterator &
77 CharacterIterator::operator=(const CharacterIterator &that) { in operator =()
89 CharacterIterator::firstPostInc(void) { in firstPostInc()
95 CharacterIterator::first32PostInc(void) { in first32PostInc()
Duiter.cpp367 return ((CharacterIterator *)(iter->context))->startIndex(); in characterIteratorGetIndex()
369 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorGetIndex()
371 return ((CharacterIterator *)(iter->context))->endIndex(); in characterIteratorGetIndex()
373 return ((CharacterIterator *)(iter->context))->getLength(); in characterIteratorGetIndex()
385 ((CharacterIterator *)(iter->context))->setIndex(delta); in characterIteratorMove()
386 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
390 … return ((CharacterIterator *)(iter->context))->move(delta, (CharacterIterator::EOrigin)origin); in characterIteratorMove()
392 …((CharacterIterator *)(iter->context))->setIndex(((CharacterIterator *)(iter->context))->getLength… in characterIteratorMove()
393 return ((CharacterIterator *)(iter->context))->getIndex(); in characterIteratorMove()
403 return ((CharacterIterator *)(iter->context))->hasNext(); in characterIteratorHasNext()
[all …]
Duchriter.cpp22 : CharacterIterator(), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
30 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0), in UCharCharacterIterator()
38 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position), in UCharCharacterIterator()
48 …: CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEn… in UCharCharacterIterator()
54 : CharacterIterator(that), in UCharCharacterIterator()
61 CharacterIterator::operator=(that); in operator =()
92 CharacterIterator*
297 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { in move()
322 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { in move32()
/external/icu/icu4c/source/common/unicode/
Dchariter.h358 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
370 virtual ~CharacterIterator();
380 virtual CharacterIterator* clone(void) const = 0;
625 CharacterIterator();
631 CharacterIterator(int32_t length);
637 CharacterIterator(int32_t length, int32_t position);
643 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
651 CharacterIterator(const CharacterIterator &that);
660 CharacterIterator &operator=(const CharacterIterator &that);
694 CharacterIterator::setToStart() { in setToStart()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp28 class SCharacterIterator : public CharacterIterator {
60 virtual CharacterIterator* clone(void) const { in clone()
81 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){ in move()
104 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin){ in move32()
201 CharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality()
202 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality()
203 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality()
204 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality()
205 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality()
206 CharacterIterator* test2 = new StringCharacterIterator(testText, 5); in TestConstructionAndEquality()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteratorWrapper.java11 import java.text.CharacterIterator;
23 private CharacterIterator iterator;
26 public CharacterIteratorWrapper(CharacterIterator iter){ in CharacterIteratorWrapper()
39 if(c==CharacterIterator.DONE){ in current()
68 if(i==CharacterIterator.DONE){ in next()
80 if(i==CharacterIterator.DONE){ in previous()
117 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { in getText()
133 result.iterator = (CharacterIterator)this.iterator.clone(); in clone()
158 public CharacterIterator getCharacterIterator(){ in getCharacterIterator()
159 return (CharacterIterator)iterator.clone(); in getCharacterIterator()
DCharacterIteration.java11 import java.text.CharacterIterator;
31 public static int next32(CharacterIterator ci) { in next32()
67 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32()
68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
85 public static int previous32(CharacterIterator ci) { in previous32()
104 public static int current32(CharacterIterator ci) { in current32()
119 if (lead == CharacterIterator.DONE) { in current32()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterIteratorWrapper.java12 import java.text.CharacterIterator;
25 private CharacterIterator iterator;
28 public CharacterIteratorWrapper(CharacterIterator iter){ in CharacterIteratorWrapper()
41 if(c==CharacterIterator.DONE){ in current()
70 if(i==CharacterIterator.DONE){ in next()
82 if(i==CharacterIterator.DONE){ in previous()
119 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { in getText()
135 result.iterator = (CharacterIterator)this.iterator.clone(); in clone()
160 public CharacterIterator getCharacterIterator(){ in getCharacterIterator()
161 return (CharacterIterator)iterator.clone(); in getCharacterIterator()
DCharacterIteration.java12 import java.text.CharacterIterator;
35 public static int next32(CharacterIterator ci) { in next32()
71 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32()
72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
89 public static int previous32(CharacterIterator ci) { in previous32()
108 public static int current32(CharacterIterator ci) { in current32()
123 if (lead == CharacterIterator.DONE) { in current32()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DSearchIterator.java12 import java.text.CharacterIterator;
72 protected CharacterIterator targetText;
100 CharacterIterator text() { in text()
104 void setTarget(CharacterIterator text) { in setTarget()
234 search_.breakIter().setText((CharacterIterator)search_.text().clone()); in setBreakIterator()
250 public void setTarget(CharacterIterator text) in setTarget()
265 search_.breakIter().setText((CharacterIterator)text.clone()); in setTarget()
268 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); in setTarget()
349 public CharacterIterator getTarget() { in getTarget()
372 CharacterIterator it = search_.text(); in getMatchedText()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSearchIterator.java13 import java.text.CharacterIterator;
70 protected CharacterIterator targetText;
97 CharacterIterator text() { in text()
101 void setTarget(CharacterIterator text) { in setTarget()
227 search_.breakIter().setText((CharacterIterator)search_.text().clone()); in setBreakIterator()
242 public void setTarget(CharacterIterator text) in setTarget()
257 search_.breakIter().setText((CharacterIterator)text.clone()); in setTarget()
260 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); in setTarget()
336 public CharacterIterator getTarget() { in getTarget()
358 CharacterIterator it = search_.text(); in getMatchedText()
[all …]
DDictionaryBreakEngine.java12 import java.text.CharacterIterator;
42 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates()
61 public int acceptMarked(CharacterIterator fIter) { in acceptMarked()
68 public boolean backUp(CharacterIterator fIter) { in backUp()
176 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks()
228 abstract int divideUpDictionaryRange(CharacterIterator text, in divideUpDictionaryRange()
DDictionaryMatcher.java12 import java.text.CharacterIterator;
31 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
34 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
/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.cpp35 } else if (ch == CharacterIterator::DONE) { in printUChar()
89 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
101 if (c != CharacterIterator::DONE) { in TestUChariter()
109 } while (c != CharacterIterator::DONE); in TestUChariter()
152 if (c == CharacterIterator::DONE) { in TestStringiter()
164 if (c != CharacterIterator::DONE) { in TestStringiter()
171 } while (c != CharacterIterator::DONE); in TestStringiter()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryBreakEngine.java11 import java.text.CharacterIterator;
41 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { in candidates()
60 public int acceptMarked(CharacterIterator fIter) { in acceptMarked()
67 public boolean backUp(CharacterIterator fIter) { in backUp()
175 public int findBreaks(CharacterIterator text, int startPos, int endPos, in findBreaks()
227 abstract int divideUpDictionaryRange(CharacterIterator text, in divideUpDictionaryRange()
DDictionaryMatcher.java11 import java.text.CharacterIterator;
30 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
33 public int matches(CharacterIterator text, int maxLength, int[] lengths, in matches()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DBreakIteratorRegTest.java11 import java.text.CharacterIterator;
72 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg()
96 CharacterIterator sci = test1.getText(); in TestRegUnreg()
114 private static String getString(CharacterIterator ci) { in getString()
117 for (char c = ci.first(); c != CharacterIterator.DONE; c = ci.next()) { in getString()
DAbstractBreakIteratorTests.java5 import java.text.CharacterIterator;
72 public CharacterIterator getText() { in getText()
77 public void setText(CharacterIterator newText) { in setText()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DBreakIteratorRegTest.java12 import java.text.CharacterIterator;
73 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg()
97 CharacterIterator sci = test1.getText(); in TestRegUnreg()
115 private static String getString(CharacterIterator ci) { in getString()
118 for (char c = ci.first(); c != CharacterIterator.DONE; c = ci.next()) { in getString()
DAbstractBreakIteratorTests.java6 import java.text.CharacterIterator;
73 public CharacterIterator getText() { in getText()
78 public void setText(CharacterIterator newText) { in setText()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DBreakIterator.java12 import java.text.CharacterIterator;
384 public abstract CharacterIterator getText(); in getText()
411 public abstract void setText(CharacterIterator newText); in setText()
787 public CharacterIterator getText() { in getText()
790 public void setText(CharacterIterator newText) { in setText()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DBreakIteratorICU.java11 import java.text.CharacterIterator;
58 public CharacterIterator getText() { in getText()
93 public void setText(CharacterIterator newText) { in setText()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java12 import java.text.CharacterIterator;
284 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
285 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
286 CharacterIterator citer3 = iter3.getCharacterIterator(); in TestPreviousNext()
393 CharacterIterator wrap_ci = it.getCharacterIterator(); in TestUCharacterIteratorWrapper()
394 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()
447 CharacterIterator cloneWCI = (CharacterIterator) wrap_ci.clone(); in TestUCharacterIteratorWrapper()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java11 import java.text.CharacterIterator;
283 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
284 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
285 CharacterIterator citer3 = iter3.getCharacterIterator(); in TestPreviousNext()
392 CharacterIterator wrap_ci = it.getCharacterIterator(); in TestUCharacterIteratorWrapper()
393 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()
446 CharacterIterator cloneWCI = (CharacterIterator) wrap_ci.clone(); in TestUCharacterIteratorWrapper()

123456