/external/icu/icu4c/source/common/ |
chariter.cpp | 21 CharacterIterator::CharacterIterator() 25 CharacterIterator::CharacterIterator(int32_t length) 32 CharacterIterator::CharacterIterator(int32_t length, int32_t position) 44 CharacterIterator::CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position) 66 CharacterIterator::~CharacterIterator() {} [all...] |
/external/icu/icu4c/source/common/unicode/ |
chariter.h | 136 * DO NOT CONSIDER IT PART OF CHARACTERITERATOR'S API! 194 * CharacterIterator classes but extends them significantly: 196 * <li>CharacterIterator is now a subclass of ForwardCharacterIterator.</li> 219 * void forward1(CharacterIterator &it) { 230 * void forward2(CharacterIterator &it) { 232 * for(c=it.firstPostInc(); c!=CharacterIterator::DONE; c=it.nextPostInc()) { 239 * void backward1(CharacterIterator &it) { 249 * void backward2(CharacterIterator &it) { 251 * for(c=it.last(); c!=CharacterIterator::DONE; c=it.previous()) { 259 * void random(CharacterIterator &it) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
LanguageBreakEngine.java | 10 import java.text.CharacterIterator; 38 int findBreaks(CharacterIterator text, int startPos, int endPos,
|
DictionaryMatcher.java | 10 import java.text.CharacterIterator; 20 * @param text A CharacterIterator representing the text. The iterator is 29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, 32 public int matches(CharacterIterator text, int maxLength, int[] lengths,
|
SearchIterator.java | 11 import java.text.CharacterIterator; 65 * @see #setTarget(CharacterIterator) 68 protected CharacterIterator targetText; 95 CharacterIterator text() { 99 void setTarget(CharacterIterator text) { 225 search_.breakIter().setText((CharacterIterator)search_.text().clone()); 240 public void setTarget(CharacterIterator text) 255 search_.breakIter().setText((CharacterIterator)text.clone()); 258 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); 334 public CharacterIterator getTarget() [all...] |
DictionaryBreakEngine.java | 10 import java.text.CharacterIterator; 40 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { 59 public int acceptMarked(CharacterIterator fIter) { 66 public boolean backUp(CharacterIterator fIter) { 172 public int findBreaks(CharacterIterator text, int startPos, int endPos, 224 abstract int divideUpDictionaryRange(CharacterIterator text,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DictionaryMatcher.java | 9 import java.text.CharacterIterator; 19 * @param text A CharacterIterator representing the text. The iterator is 28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, 31 public int matches(CharacterIterator text, int maxLength, int[] lengths,
|
LanguageBreakEngine.java | 9 import java.text.CharacterIterator; 37 int findBreaks(CharacterIterator text, int startPos, int endPos,
|
DictionaryBreakEngine.java | 9 import java.text.CharacterIterator; 39 public int candidates(CharacterIterator fIter, DictionaryMatcher dict, int rangeEnd) { 58 public int acceptMarked(CharacterIterator fIter) { 65 public boolean backUp(CharacterIterator fIter) { 171 public int findBreaks(CharacterIterator text, int startPos, int endPos, 223 abstract int divideUpDictionaryRange(CharacterIterator text,
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CharacterIteratorWrapper.java | 10 import java.text.CharacterIterator; 15 * This class is a wrapper around CharacterIterator and implements the 23 private CharacterIterator iterator; 26 public CharacterIteratorWrapper(CharacterIterator iter){ 38 if(c==CharacterIterator.DONE){ 64 if(i==CharacterIterator.DONE){ 75 if(i==CharacterIterator.DONE){ 109 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { 124 result.iterator = (CharacterIterator)this.iterator.clone(); 147 public CharacterIterator getCharacterIterator() [all...] |
CharacterIteration.java | 10 import java.text.CharacterIterator; 33 public static int next32(CharacterIterator ci) { 69 public static int nextTrail32(CharacterIterator ci, int lead) { 70 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { 87 public static int previous32(CharacterIterator ci) { 106 public static int current32(CharacterIterator ci) { 121 if (lead == CharacterIterator.DONE) {
|
UCharacterIteratorWrapper.java | 11 import java.text.CharacterIterator; 17 * CharacterIterator protocol 21 public class UCharacterIteratorWrapper implements CharacterIterator{
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CharacterIteratorWrapper.java | 9 import java.text.CharacterIterator; 14 * This class is a wrapper around CharacterIterator and implements the 21 private CharacterIterator iterator; 24 public CharacterIteratorWrapper(CharacterIterator iter){ 36 if(c==CharacterIterator.DONE){ 62 if(i==CharacterIterator.DONE){ 73 if(i==CharacterIterator.DONE){ 107 for (char ch = iterator.first(); ch != CharacterIterator.DONE; ch = iterator.next()) { 122 result.iterator = (CharacterIterator)this.iterator.clone(); 145 public CharacterIterator getCharacterIterator() [all...] |
CharacterIteration.java | 9 import java.text.CharacterIterator; 29 public static int next32(CharacterIterator ci) { 65 public static int nextTrail32(CharacterIterator ci, int lead) { 66 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { 83 public static int previous32(CharacterIterator ci) { 102 public static int current32(CharacterIterator ci) { 117 if (lead == CharacterIterator.DONE) {
|
UCharacterIteratorWrapper.java | 10 import java.text.CharacterIterator; 16 * CharacterIterator protocol 19 public class UCharacterIteratorWrapper implements CharacterIterator{
|
/libcore/ojluni/src/main/java/java/text/ |
CharacterIterator.java | 66 * public void traverseForward(CharacterIterator iter) { 67 * for(char c = iter.first(); c != CharacterIterator.DONE; c = iter.next()) { 75 * public void traverseBackward(CharacterIterator iter) { 76 * for(char c = iter.last(); c != CharacterIterator.DONE; c = iter.previous()) { 86 * public void traverseOut(CharacterIterator iter, int pos) { 88 * c != CharacterIterator.DONE && notBoundary(c); 93 * c != CharacterIterator.DONE && notBoundary(c); 105 public interface CharacterIterator extends Cloneable
|
IcuIteratorWrapper.java | 267 * (i.e., the CharacterIterator's starting offset). 277 * (i.e., the CharacterIterator's ending offset). 320 protected static final void checkOffset(int offset, CharacterIterator text) { 334 CharacterIterator text = getText(); 350 CharacterIterator text = getText(); 364 CharacterIterator text = getText(); 379 * Return a CharacterIterator over the text being analyzed. This version 380 * of this method returns the actual CharacterIterator we're using internally. 386 public CharacterIterator getText() { 400 public void setText(CharacterIterator newText) [all...] |
/external/icu/icu4c/source/test/intltest/ |
citrtest.h | 14 * Some tests for CharacterIterator and StringCharacterIterator 40 void TestUCharIterator(UCharIterator *iter, CharacterIterator &ci, const char *moves, const char *which);
|
citrtest.cpp | 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) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
stsearch.h | 197 * Note: No parsing of the text within the <tt>CharacterIterator</tt> 199 * in <tt>CharacterIterator</tt> will be used as it is. 216 StringSearch(const UnicodeString &pattern, CharacterIterator &text, 226 * Note: No parsing of the text within the <tt>CharacterIterator</tt> 228 * in <tt>CharacterIterator</tt> will be used as it is. 246 StringSearch(const UnicodeString &pattern, CharacterIterator &text, 345 * Note: No parsing of the text within the <tt>CharacterIterator</tt> 347 * in <tt>CharacterIterator</tt> will be used as it is. 353 virtual void setText(CharacterIterator &text, UErrorCode &status);
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
SearchIterator.java | 10 import java.text.CharacterIterator; 66 * @see #setTarget(CharacterIterator) 70 protected CharacterIterator targetText; 98 CharacterIterator text() { 102 void setTarget(CharacterIterator text) { 232 search_.breakIter().setText((CharacterIterator)search_.text().clone()); 248 public void setTarget(CharacterIterator text) 263 search_.breakIter().setText((CharacterIterator)text.clone()); 266 search_.internalBreakIter_.setText((CharacterIterator)text.clone()); 347 public CharacterIterator getTarget() [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
BreakIteratorICU.java | 9 import java.text.CharacterIterator; 56 public CharacterIterator getText() { 91 public void setText(CharacterIterator newText) {
|
/external/sfntly/cpp/src/sfntly/table/core/ |
cmap_table.h | 106 // The cmap offers CharacterIterator to allow iteration over 162 // The fully qualified name is CMapTable::CMap::CharacterIterator 163 class CharacterIterator { 165 virtual ~CharacterIterator() {} 173 // a CharacterIterator. 174 CharacterIterator() {} 180 virtual CMap::CharacterIterator* Iterator() = 0; 243 // The fully qualified name is CMapTable::CMapFormat0::CharacterIterator 244 class CharacterIterator : public CMap::CharacterIterator { [all...] |
/external/icu/icu4c/source/samples/citer/ |
citer.cpp | 29 } else if (ch == CharacterIterator::DONE) { 30 u_fprintf(out, "[CharacterIterator::DONE = 0xFFFF]"); 83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { 95 if (c != CharacterIterator::DONE) { 103 } while (c != CharacterIterator::DONE); 146 if (c == CharacterIterator::DONE) { 158 if (c != CharacterIterator::DONE) { 165 } while (c != CharacterIterator::DONE);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
StringCharacterIteratorTest.java | 20 import java.text.CharacterIterator; 194 assertTrue("Not DONE", it1.first() == CharacterIterator.DONE); 283 assertEquals(CharacterIterator.DONE, fixture.next()); 285 assertEquals(CharacterIterator.DONE, fixture.next()); 287 assertEquals(CharacterIterator.DONE, fixture.next()); 295 assertTrue("Wrong next char3", it1.next() == CharacterIterator.DONE); 296 assertTrue("Wrong next char4", it1.next() == CharacterIterator.DONE); 300 it1.current() == CharacterIterator.DONE); 308 assertEquals(CharacterIterator.DONE, fixture.previous()); 315 assertEquals(CharacterIterator.DONE, fixture.next()) [all...] |