Home
last modified time | relevance | path

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

12345678

/third_party/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 =()
297 UCharCharacterIterator::move(int32_t delta, CharacterIterator::EOrigin origin) { in move()
322 UCharCharacterIterator::move32(int32_t delta, CharacterIterator::EOrigin origin) { in move32()
/third_party/node/deps/icu-small/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() { in firstPostInc()
95 CharacterIterator::first32PostInc() { 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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/icu/icu4c/source/common/unicode/
Dchariter.h361 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
373 virtual ~CharacterIterator();
383 virtual CharacterIterator* clone() const = 0;
632 CharacterIterator();
638 CharacterIterator(int32_t length);
644 CharacterIterator(int32_t length, int32_t position);
650 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
658 CharacterIterator(const CharacterIterator &that);
667 CharacterIterator &operator=(const CharacterIterator &that);
701 CharacterIterator::setToStart() { in setToStart()
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dchariter.h361 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
373 virtual ~CharacterIterator();
383 virtual CharacterIterator* clone() const = 0;
632 CharacterIterator();
638 CharacterIterator(int32_t length);
644 CharacterIterator(int32_t length, int32_t position);
650 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
658 CharacterIterator(const CharacterIterator &that);
667 CharacterIterator &operator=(const CharacterIterator &that);
701 CharacterIterator::setToStart() { in setToStart()
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dchariter.h361 class U_COMMON_API CharacterIterator : public ForwardCharacterIterator {
373 virtual ~CharacterIterator();
383 virtual CharacterIterator* clone() const = 0;
632 CharacterIterator();
638 CharacterIterator(int32_t length);
644 CharacterIterator(int32_t length, int32_t position);
650 CharacterIterator(int32_t length, int32_t textBegin, int32_t textEnd, int32_t position);
658 CharacterIterator(const CharacterIterator &that);
667 CharacterIterator &operator=(const CharacterIterator &that);
701 CharacterIterator::setToStart() { in setToStart()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcitrtest.cpp28 class SCharacterIterator : public CharacterIterator {
81 virtual int32_t move(int32_t delta,CharacterIterator::EOrigin origin) override { in move()
104 virtual int32_t move32(int32_t delta, CharacterIterator::EOrigin origin) override { in move32()
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()
207 CharacterIterator* test3 = new StringCharacterIterator(testText, 2, 20, 5); in TestConstructionAndEquality()
208 CharacterIterator* test4 = new StringCharacterIterator(testText2); in TestConstructionAndEquality()
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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,
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/skia/third_party/externals/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 …]
/third_party/icu/docs/userguide/strings/
Dcharacteriterator.md3 title: CharacterIterator
12 # CharacterIterator Class
16 CharacterIterator is the abstract base class that defines a protocol for
21 Using CharacterIterator ICU iterates over text that is independent of its
23 database, or other method. The CharacterIterator methods make the text appear as
26 The CharacterIterator keeps track of its current position and index in the text
41 > :point_right: **Note**: *CharacterIterator is different from
42 [Normalizer](../transforms/normalization/index) in that CharacterIterator
45 Prior to ICU release 1.6, the CharacterIterator class allowed access to a single
48 encodings. Beginning with ICU release 1.6, the CharacterIterator class now
[all …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
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()
185 public int findBreaks(CharacterIterator text, int startPos, int endPos,
226 abstract int divideUpDictionaryRange(CharacterIterator text,

12345678