HomeSort by relevance Sort by last modified time
    Searched refs:CharacterIterator (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/icu4c/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...]
uchriter.cpp 20 : CharacterIterator(),
28 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0),
36 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, position),
46 : CharacterIterator(textPtr != 0 ? (length>=0 ? length : u_strlen(textPtr)) : 0, textBegin, textEnd, position),
52 : CharacterIterator(that),
59 CharacterIterator::operator=(that);
90 CharacterIterator*
295 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) {
320 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) {
uiter.cpp 350 /* UCharIterator wrapper around CharacterIterator --------------------------- */
353 * This is wrapper code around a C++ CharacterIterator to
356 * The UCharIterator.context field holds a pointer to the CharacterIterator.
365 return ((CharacterIterator *)(iter->context))->startIndex();
367 return ((CharacterIterator *)(iter->context))->getIndex();
369 return ((CharacterIterator *)(iter->context))->endIndex();
371 return ((CharacterIterator *)(iter->context))->getLength();
383 ((CharacterIterator *)(iter->context))->setIndex(delta);
384 return ((CharacterIterator *)(iter->context))->getIndex();
388 return ((CharacterIterator *)(iter->context))->move(delta, (CharacterIterator::EOrigin)origin)
    [all...]
  /external/icu4c/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...]
schriter.h 32 * A concrete subclass of CharacterIterator that iterates over the
39 * @see CharacterIterator
131 virtual CharacterIterator* clone(void) const;
uchriter.h 22 * A concrete subclass of CharacterIterator that iterates over the
29 * @see CharacterIterator
33 class U_COMMON_API UCharCharacterIterator : public CharacterIterator {
130 * @return the CharacterIterator newly created
133 virtual CharacterIterator* clone(void) const;
rbbi.h 79 CharacterIterator *fCharIter;
83 * a characterIterator that wraps that data. Needed only for the
90 * dummy CharacterIterator over an empty string will
351 * Return a CharacterIterator over the text being analyzed.
354 * return the same CharacterIterator.
364 * returns an CharacterIterator containing no text.
374 virtual CharacterIterator& getText(void) const;
400 virtual void adoptText(CharacterIterator* newText);
  /libcore/luni/src/main/java/java/text/
CharacterIterator.java 25 public interface CharacterIterator extends Cloneable {
34 * Returns a new {@code CharacterIterator} with the same properties.
RuleBasedBreakIterator.java 51 CharacterIterator it = wrapped.getText();
58 @Override public CharacterIterator getText() {
78 @Override public void setText(CharacterIterator newText) {
BreakIterator.java 82 * {@link CharacterIterator}, which makes it possible to use {@code
84 * {@code CharacterIterator} interface.
223 * @see CharacterIterator
423 * Returns a {@code CharacterIterator} which represents the text being
429 * @return a {@code CharacterIterator} which represents the text being
432 public abstract CharacterIterator getText();
472 * Sets the new text to be analyzed by the given {@code CharacterIterator}.
477 * the {@code CharacterIterator} referring to the text to be
480 public abstract void setText(CharacterIterator newText);
CollationElementIterator.java 196 public void setText(CharacterIterator source) {
  /external/icu4c/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 25 class SCharacterIterator : public CharacterIterator {
57 virtual CharacterIterator* clone(void) const {
78 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin){
101 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin){
200 CharacterIterator* test1 = new StringCharacterIterator(testText);
201 CharacterIterator* test1b= new StringCharacterIterator(testText, -1);
202 CharacterIterator* test1c= new StringCharacterIterator(testText, 100);
203 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5);
204 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5);
205 CharacterIterator* test2 = new StringCharacterIterator(testText, 5)
    [all...]
dadrcoll.cpp 97 while(currChar != CharacterIterator::DONE) {
104 case CharacterIterator::DONE:
108 currChar = CharacterIterator::DONE;
112 currChar = CharacterIterator::DONE;
116 currChar = CharacterIterator::DONE;
130 if(currChar == CharacterIterator::DONE) {
  /external/icu4c/i18n/unicode/
stsearch.h 203 * Note: No parsing of the text within the <tt>CharacterIterator</tt>
205 * in <tt>CharacterIterator</tt> will be used as it is.
222 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
232 * Note: No parsing of the text within the <tt>CharacterIterator</tt>
234 * in <tt>CharacterIterator</tt> will be used as it is.
252 StringSearch(const UnicodeString &pattern, CharacterIterator &text,
351 * Note: No parsing of the text within the <tt>CharacterIterator</tt>
353 * in <tt>CharacterIterator</tt> will be used as it is.
359 virtual void setText(CharacterIterator &text, UErrorCode &status);
coleitr.h 250 void setText(CharacterIterator& str, UErrorCode& status);
321 CollationElementIterator(const CharacterIterator& sourceText,
search.h 244 * Note: No parsing of the text within the <tt>CharacterIterator</tt>
246 * in <tt>CharacterIterator</tt> will be used as it is.
253 virtual void setText(CharacterIterator &text, UErrorCode &status);
463 * Note: No parsing of the text within the <tt>CharacterIterator</tt>
465 * in <tt>CharacterIterator</tt> will be used as it is.
479 SearchIterator(CharacterIterator &text, BreakIterator *breakiter = NULL);
  /external/icu4c/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);
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/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...]
AttributedCharacterIteratorTest.java 22 import java.text.CharacterIterator;
40 assertTrue("Wrong final", it.current() == CharacterIterator.DONE);
59 assertTrue("Wrong first4", it.first() == CharacterIterator.DONE);
112 assertTrue("Wrong last4", it.last() == CharacterIterator.DONE);
126 assertTrue("Wrong final", it.next() == CharacterIterator.DONE);
  /libcore/luni/src/main/java/libcore/icu/
NativeBreakIterator.java 19 import java.text.CharacterIterator;
36 private CharacterIterator charIterator;
49 // The RI doesn't clone the CharacterIterator.
92 public CharacterIterator getText() {
114 public void setText(CharacterIterator newText) {
116 for (char c = newText.first(); c != CharacterIterator.DONE; c = newText.next()) {
126 private void setText(String s, CharacterIterator it) {
RuleBasedCollatorICU.java 13 import java.text.CharacterIterator;
113 public CollationElementIteratorICU getCollationElementIterator(CharacterIterator it) {
118 private String characterIteratorToString(CharacterIterator it) {
120 for (char ch = it.current(); ch != CharacterIterator.DONE; ch = it.next()) {
CollationElementIteratorICU.java 12 import java.text.CharacterIterator;
102 public void setText(CharacterIterator source) {
  /external/webkit/Source/WebCore/dom/
DOMTextContentWalker.cpp 50 CharacterIterator forwardChar(forwardRange.get(), TextIteratorStopsOnFormControls);
72 CharacterIterator iterator(m_contentRange.get());
  /external/webkit/Source/WebCore/platform/text/gtk/
TextBreakIteratorGtk.cpp 37 class CharacterIterator {
63 int CharacterIterator::characterSize(int index)
75 bool CharacterIterator::setText(const UChar* string, int length)
91 void CharacterIterator::setIndex(int index)
114 void CharacterIterator::setUTF16Index(int index)
137 int CharacterIterator::first()
143 int CharacterIterator::last()
150 int CharacterIterator::next()
165 int CharacterIterator::previous()
191 CharacterIterator m_charIterator
    [all...]

Completed in 2739 milliseconds

1 2 3 4