Home
last modified time | relevance | path

Searched refs:StringCharacterIterator (Results 1 – 25 of 70) sorted by relevance

123

/external/icu/icu4c/source/common/
Dschriter.cpp25 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(StringCharacterIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
27 StringCharacterIterator::StringCharacterIterator() in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
34 StringCharacterIterator::StringCharacterIterator(const UnicodeString& textStr) in StringCharacterIterator() function in StringCharacterIterator
42 StringCharacterIterator::StringCharacterIterator(const UnicodeString& textStr, in StringCharacterIterator() function in StringCharacterIterator
51 StringCharacterIterator::StringCharacterIterator(const UnicodeString& textStr, in StringCharacterIterator() function in StringCharacterIterator
62 StringCharacterIterator::StringCharacterIterator(const StringCharacterIterator& that) in StringCharacterIterator() function in StringCharacterIterator
70 StringCharacterIterator::~StringCharacterIterator() { in ~StringCharacterIterator()
73 StringCharacterIterator&
74 StringCharacterIterator::operator=(const StringCharacterIterator& that) { in operator =()
83 StringCharacterIterator::operator==(const ForwardCharacterIterator& that) const { in operator ==()
[all …]
/external/icu/icu4c/source/common/unicode/
Dschriter.h45 class U_COMMON_API StringCharacterIterator : public UCharCharacterIterator {
54 StringCharacterIterator(const UnicodeString& textStr);
65 StringCharacterIterator(const UnicodeString& textStr,
84 StringCharacterIterator(const UnicodeString& textStr,
97 StringCharacterIterator(const StringCharacterIterator& that);
103 virtual ~StringCharacterIterator();
113 StringCharacterIterator&
114 operator=(const StringCharacterIterator& that);
170 StringCharacterIterator();
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringCharacterIterator.java35 public final class StringCharacterIterator implements CharacterIterator class
48 public StringCharacterIterator(String text) in StringCharacterIterator() method in StringCharacterIterator
61 public StringCharacterIterator(String text, int pos) in StringCharacterIterator() method in StringCharacterIterator
77 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() method in StringCharacterIterator
256 if (!(obj instanceof StringCharacterIterator)) { in equals()
260 StringCharacterIterator that = (StringCharacterIterator) obj; in equals()
294 StringCharacterIterator other in clone()
295 = (StringCharacterIterator) super.clone(); in clone()
DBreakIterator.java14 import java.text.StringCharacterIterator;
493 setText(new StringCharacterIterator(newText)); in setText()
DCjkBreakEngine.java107 text = new java.text.StringCharacterIterator(prenormstr); in divideUpDictionaryRange()
118 text = new java.text.StringCharacterIterator(normStr); in divideUpDictionaryRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringCharacterIterator.java33 public final class StringCharacterIterator implements CharacterIterator class
46 public StringCharacterIterator(String text) in StringCharacterIterator() method in StringCharacterIterator
59 public StringCharacterIterator(String text, int pos) in StringCharacterIterator() method in StringCharacterIterator
75 public StringCharacterIterator(String text, int begin, int end, int pos) { in StringCharacterIterator() method in StringCharacterIterator
254 if (!(obj instanceof StringCharacterIterator)) { in equals()
258 StringCharacterIterator that = (StringCharacterIterator) obj; in equals()
292 StringCharacterIterator other in clone()
293 = (StringCharacterIterator) super.clone(); in clone()
DBreakIterator.java13 import java.text.StringCharacterIterator;
520 setText(new StringCharacterIterator(newText)); in setText()
DCjkBreakEngine.java106 text = new java.text.StringCharacterIterator(prenormstr); in divideUpDictionaryRange()
117 text = new java.text.StringCharacterIterator(normStr); in divideUpDictionaryRange()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java27 import java.text.StringCharacterIterator;
596 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertCanonicalEqual()
627 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertEqual()
655 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertEqualWithAttribute()
752 StringCharacterIterator textiter = new StringCharacterIterator(text); in TestConstructor()
810 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestBreakIterator()
845 … strsrch = new StringSearch(pattern, new StringCharacterIterator(text), collator, breaker); in TestBreakIterator()
889 … strsrch = new StringSearch(pattern, new StringCharacterIterator(text), collator, breaker); in TestBreakIteratorCanonical()
944 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestCollator()
988 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestCollatorCanonical()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java28 import java.text.StringCharacterIterator;
599 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertCanonicalEqual()
630 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertEqual()
658 …strsrch = new StringSearch(pattern, new StringCharacterIterator(text), (RuleBasedCollator)collator… in assertEqualWithAttribute()
755 StringCharacterIterator textiter = new StringCharacterIterator(text); in TestConstructor()
813 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestBreakIterator()
848 … strsrch = new StringSearch(pattern, new StringCharacterIterator(text), collator, breaker); in TestBreakIterator()
892 … strsrch = new StringSearch(pattern, new StringCharacterIterator(text), collator, breaker); in TestBreakIteratorCanonical()
947 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestCollator()
991 strsrch = new StringSearch(pattern, new StringCharacterIterator(text), m_en_us_, null); in TestCollatorCanonical()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcitrtest.cpp201 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()
207 CharacterIterator* test3 = new StringCharacterIterator(testText, 2, 20, 5); in TestConstructionAndEquality()
208 CharacterIterator* test4 = new StringCharacterIterator(testText2); in TestConstructionAndEquality()
244 *((StringCharacterIterator*)test1) = *((StringCharacterIterator*)test3); in TestConstructionAndEquality()
258 StringCharacterIterator* testChar1=new StringCharacterIterator(testText); in TestConstructionAndEquality()
[all …]
Ditercoll.cpp317 CharacterIterator* chariter = new StringCharacterIterator(test1); in TestSetText()
335 ((StringCharacterIterator *)chariter)->setText(empty); in TestSetText()
550 StringCharacterIterator chariter(test1); in TestConstructors()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DConformanceTest.java15 import java.text.StringCharacterIterator;
250 out = iterativeNorm(new StringCharacterIterator(field[0]), Normalizer.FCD, buf, +1,options); in checkConformance()
251 out = iterativeNorm(new StringCharacterIterator(field[0]), Normalizer.FCD, buf, -1,options); in checkConformance()
253 out = iterativeNorm(new StringCharacterIterator(field[2]), Normalizer.FCD, buf, +1,options); in checkConformance()
254 out = iterativeNorm(new StringCharacterIterator(field[2]), Normalizer.FCD, buf, -1,options); in checkConformance()
256 out = iterativeNorm(new StringCharacterIterator(field[4]), Normalizer.FCD, buf, +1,options); in checkConformance()
257 out = iterativeNorm(new StringCharacterIterator(field[4]), Normalizer.FCD, buf, -1,options); in checkConformance()
316 out = iterativeNorm(new StringCharacterIterator(s), mode, buf, +1,options); in checkNorm()
321 out = iterativeNorm(new StringCharacterIterator(s), mode, buf, -1,options); in checkNorm()
395 private String iterativeNorm(StringCharacterIterator str, Normalizer.Mode mode, in iterativeNorm()
DTestDeprecatedNormalizerAPI.java22 import android.icu.text.StringCharacterIterator;
37 java.text.CharacterIterator iter = new StringCharacterIterator(s+s); in TestNormalizerAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java14 import java.text.StringCharacterIterator;
247 out = iterativeNorm(new StringCharacterIterator(field[0]), Normalizer.FCD, buf, +1,options); in checkConformance()
248 out = iterativeNorm(new StringCharacterIterator(field[0]), Normalizer.FCD, buf, -1,options); in checkConformance()
250 out = iterativeNorm(new StringCharacterIterator(field[2]), Normalizer.FCD, buf, +1,options); in checkConformance()
251 out = iterativeNorm(new StringCharacterIterator(field[2]), Normalizer.FCD, buf, -1,options); in checkConformance()
253 out = iterativeNorm(new StringCharacterIterator(field[4]), Normalizer.FCD, buf, +1,options); in checkConformance()
254 out = iterativeNorm(new StringCharacterIterator(field[4]), Normalizer.FCD, buf, -1,options); in checkConformance()
313 out = iterativeNorm(new StringCharacterIterator(s), mode, buf, +1,options); in checkNorm()
318 out = iterativeNorm(new StringCharacterIterator(s), mode, buf, -1,options); in checkNorm()
392 private String iterativeNorm(StringCharacterIterator str, Normalizer.Mode mode, in iterativeNorm()
DTestDeprecatedNormalizerAPI.java21 import com.ibm.icu.text.StringCharacterIterator;
34 java.text.CharacterIterator iter = new StringCharacterIterator(s+s); in TestNormalizerAPI()
/external/icu/icu4c/source/samples/citer/
Dciter.cpp27 using icu::StringCharacterIterator;
128 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter()
129 StringCharacterIterator* test2 = (StringCharacterIterator*)iter.clone(); in TestStringiter()
/external/testng/src/main/java/org/testng/reporters/
DXMLUtils.java6 import java.text.StringCharacterIterator;
125 StringCharacterIterator iterator = new StringCharacterIterator(input); in escape()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/
DCSCharacterIteratorTest.java8 import java.text.StringCharacterIterator;
29 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DCSCharacterIteratorTest.java7 import java.text.StringCharacterIterator;
26 CharacterIterator sci = new StringCharacterIterator(text); in TestAPI()
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIXUtilities.java11 import java.text.StringCharacterIterator;
348 StringCharacterIterator si = new StringCharacterIterator(cur); in POSIXYesNoExpr()
350 for (char c = si.first(); c != StringCharacterIterator.DONE; c = si.next()) { in POSIXYesNoExpr()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DBreakIterator.java13 import java.text.StringCharacterIterator;
397 setText(new StringCharacterIterator(newText)); in setText()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DBreakIteratorTest.java13 import java.text.StringCharacterIterator;
216 CharacterIterator ci = new StringCharacterIterator(text, pos); in testSetTextCharacterIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java12 import java.text.StringCharacterIterator;
276 …UCharacterIterator iter3 = UCharacterIterator.getInstance(new StringCharacterIterator(new String(s… in TestPreviousNext()
396 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/iterator/
DTestUCharacterIterator.java13 import java.text.StringCharacterIterator;
279 …UCharacterIterator iter3 = UCharacterIterator.getInstance(new StringCharacterIterator(new String(s… in TestPreviousNext()
399 CharacterIterator ci = new StringCharacterIterator(source); in TestUCharacterIteratorWrapper()

123