Home
last modified time | relevance | path

Searched refs:CharacterIterator (Results 1 – 25 of 147) 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;
629 CharacterIterator();
635 CharacterIterator(int32_t length);
641 CharacterIterator(int32_t length, int32_t position);
647 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
655 CharacterIterator(const CharacterIterator &that);
664 CharacterIterator &operator=(const CharacterIterator &that);
698 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;
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()
185 public int findBreaks(CharacterIterator text, int startPos, int endPos,
226 abstract int divideUpDictionaryRange(CharacterIterator text,
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/icu/icu4c/source/samples/citer/
Dciter.cpp26 using icu::CharacterIterator;
40 } else if (ch == CharacterIterator::DONE) { in printUChar()
94 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
106 if (c != CharacterIterator::DONE) { in TestUChariter()
114 } while (c != CharacterIterator::DONE); in TestUChariter()
157 if (c == CharacterIterator::DONE) { in TestStringiter()
169 if (c != CharacterIterator::DONE) { in TestStringiter()
176 } while (c != CharacterIterator::DONE); in TestStringiter()
/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/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCSCharacterIteratorTest.java7 import java.text.CharacterIterator;
28 CharacterIterator csci = new CSCharacterIterator(cs); in TestAPI()
29 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI()
43 CharacterIterator clci = (CharacterIterator)csci.clone(); in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCSCharacterIteratorTest.java6 import java.text.CharacterIterator;
25 CharacterIterator csci = new CSCharacterIterator(cs); in TestAPI()
26 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI()
40 CharacterIterator clci = (CharacterIterator)csci.clone(); in TestAPI()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDictionaryBreakEngine.java11 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()
184 public int findBreaks(CharacterIterator text, int startPos, int endPos,
225 abstract int divideUpDictionaryRange(CharacterIterator text,
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;
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/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/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DBreakIteratorRegTest.java12 import java.text.CharacterIterator;
78 CharacterIterator sci = BreakIterator.getWordInstance(Locale.US).getText(); in TestRegUnreg()
102 CharacterIterator sci = test1.getText(); in TestRegUnreg()
120 private static String getString(CharacterIterator ci) { in getString()
123 for (char c = ci.first(); c != CharacterIterator.DONE; c = ci.next()) { in getString()
/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/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/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java12 import java.text.CharacterIterator;
289 CharacterIterator citer1 = iter1.getCharacterIterator(); in TestPreviousNext()
290 CharacterIterator citer2 = iter2.getCharacterIterator(); in TestPreviousNext()
291 CharacterIterator citer3 = iter3.getCharacterIterator(); in TestPreviousNext()
398 CharacterIterator wrap_ci = it.getCharacterIterator(); in TestUCharacterIteratorWrapper()
399 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()
452 CharacterIterator cloneWCI = (CharacterIterator) wrap_ci.clone(); in TestUCharacterIteratorWrapper()

123456