Home
last modified time | relevance | path

Searched refs:UCharacterIterator (Results 1 – 25 of 30) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/
DTestUCharacterIterator.java14 import com.ibm.icu.text.UCharacterIterator;
43 UCharacterIterator iterator = UCharacterIterator.getInstance("testing"); in TestClone()
44 UCharacterIterator cloned = (UCharacterIterator)iterator.clone(); in TestClone()
46 while (completed != UCharacterIterator.DONE) { in TestClone()
53 public void getText(UCharacterIterator iterator, String result){ in getText()
74 UCharacterIterator iterator = UCharacterIterator.getInstance( in TestIteration()
76 UCharacterIterator iterator2 = UCharacterIterator.getInstance( in TestIteration()
93 while (ch != UCharacterIterator.DONE) { in TestIteration()
98 ch != UCharacterIterator.DONE) { in TestIteration()
112 while (ch != UCharacterIterator.DONE) { in TestIteration()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DIDNAReference.java10 import com.ibm.icu.text.UCharacterIterator;
119 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToASCII()
124 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToASCII()
127 public static StringBuffer convertToASCII(UCharacterIterator srcIter, int options) in convertToASCII()
142 while((ch = srcIter.next())!= UCharacterIterator.DONE){ in convertToASCII()
233 public static StringBuffer convertIDNtoASCII(UCharacterIterator iter,int options) in convertIDNtoASCII()
252 UCharacterIterator iter = UCharacterIterator.getInstance(label); in convertIDNToASCII()
268 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToUnicode()
273 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToUnicode()
276 public static StringBuffer convertToUnicode(UCharacterIterator iter, int options) in convertToUnicode()
[all …]
DNFS4StringPrep.java16 import com.ibm.icu.text.UCharacterIterator;
66 UCharacterIterator iter = UCharacterIterator.getInstance(s); in prepare()
137 UCharacterIterator prefix = UCharacterIterator.getInstance(prefixString); in mixed_prepare()
138 UCharacterIterator suffix = UCharacterIterator.getInstance(suffixString); in mixed_prepare()
143 UCharacterIterator iter = UCharacterIterator.getInstance(s); in mixed_prepare()
DNamePrepTransform.java17 import com.ibm.icu.text.UCharacterIterator;
99 public StringBuffer prepare(UCharacterIterator src, in prepare()
111 UCharacterIterator iter = UCharacterIterator.getInstance(caseMapOut); in map()
113 while((ch=iter.nextCodePoint())!=UCharacterIterator.DONE){ in map()
126 UCharacterIterator iter = UCharacterIterator.getInstance(mapOut); in prepare()
133 while((ch=iter.nextCodePoint())!= UCharacterIterator.DONE){ in prepare()
DTestIDNA.java16 import com.ibm.icu.text.UCharacterIterator;
78 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestToUnicode()
129 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestIDNToUnicode()
178 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestToASCII()
228 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestIDNToASCII()
292 UCharacterIterator iter = UCharacterIterator.getInstance(testCase.input); in TestNamePrepConformance()
371 …retVal = IDNA.compare(UCharacterIterator.getInstance(s1), UCharacterIterator.getInstance(s2), IDNA… in doTestCompare()
392 …retVal = IDNA.compare(UCharacterIterator.getInstance(s1), UCharacterIterator.getInstance(s2), IDNA… in doTestCompare()
908 UCharacterIterator uci = UCharacterIterator.getInstance("dummy"); in TestConvertIDNToASCII()
941 UCharacterIterator uci = UCharacterIterator.getInstance("dummy"); in TestConvertIDNToUnicode()
[all …]
DTestIDNARef.java11 import com.ibm.icu.text.UCharacterIterator;
108 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestToUnicode()
165 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestIDNToUnicode()
220 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestToASCII()
276 UCharacterIterator inIter = UCharacterIterator.getInstance(src); in doTestIDNToASCII()
351 UCharacterIterator iter = UCharacterIterator.getInstance(testCase.input); in TestNamePrepConformance()
448 …retVal = IDNAReference.compare(UCharacterIterator.getInstance(s1), UCharacterIterator.getInstance(… in doTestCompare()
469 …retVal = IDNAReference.compare(UCharacterIterator.getInstance(s1), UCharacterIterator.getInstance(… in doTestCompare()
DPunycodeReference.java30 import com.ibm.icu.text.UCharacterIterator;
227 UCharacterIterator iter = UCharacterIterator.getInstance(input); in encode()
228 while((ch=iter.nextCodePoint())!= UCharacterIterator.DONE){ in encode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DIDNA.java499 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToASCII()
530 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToASCII()
559 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
594 public static StringBuffer convertIDNToASCII(UCharacterIterator src, int options) in convertIDNToASCII()
697 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToUnicode()
728 UCharacterIterator iter = UCharacterIterator.getInstance(src); in convertToUnicode()
757 public static StringBuffer convertToUnicode(UCharacterIterator src, int options) in convertToUnicode()
789 public static StringBuffer convertIDNToUnicode(UCharacterIterator src, int options) in convertIDNToUnicode()
956 public static int compare(UCharacterIterator s1, UCharacterIterator s2, int options) in compare()
DUCharacterIterator.java33 public abstract class UCharacterIterator class
40 protected UCharacterIterator(){ in UCharacterIterator() method in UCharacterIterator
53 public static final UCharacterIterator getInstance(Replaceable source){ in getInstance()
65 public static final UCharacterIterator getInstance(String source){ in getInstance()
77 public static final UCharacterIterator getInstance(char[] source){ in getInstance()
89 public static final UCharacterIterator getInstance(char[] source, int start, int limit){ in getInstance()
100 public static final UCharacterIterator getInstance(StringBuffer source){ in getInstance()
112 public static final UCharacterIterator getInstance(CharacterIterator source){ in getInstance()
DCharsDictionaryMatcher.java22 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
25 if (c == UCharacterIterator.DONE) { in matches()
53 if (c == UCharacterIterator.DONE) { in matches()
DBytesDictionaryMatcher.java43 UCharacterIterator text = UCharacterIterator.getInstance(text_); in matches()
46 if (c == UCharacterIterator.DONE) { in matches()
74 if (c == UCharacterIterator.DONE) { in matches()
DStringPrep.java395 private StringBuffer map( UCharacterIterator iter, int options) in map()
400 int ch = UCharacterIterator.DONE; in map()
404 while((ch=iter.nextCodePoint())!= UCharacterIterator.DONE){ in map()
520 public StringBuffer prepare(UCharacterIterator src, int options) in prepare()
534 UCharacterIterator iter = UCharacterIterator.getInstance(normOut); in prepare()
541 while((ch=iter.nextCodePoint())!= UCharacterIterator.DONE){ in prepare()
605 StringBuffer result = prepare(UCharacterIterator.getInstance(src), options); in prepare()
DNormalizer.java130 private UCharacterIterator text;
209 public static final int DONE = UCharacterIterator.DONE;
534 this.text = UCharacterIterator.getInstance(str); in Normalizer()
557 this.text = UCharacterIterator.getInstance((CharacterIterator)iter.clone()); in Normalizer()
575 public Normalizer(UCharacterIterator iter, Mode mode, int options) { in Normalizer()
577 this.text = (UCharacterIterator)iter.clone(); in Normalizer()
600 copy.text = (UCharacterIterator) text.clone(); in clone()
1736 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1751 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1766 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
[all …]
DNumberingSystem.java269 UCharacterIterator it = UCharacterIterator.getInstance(str); in isValidDigitString()
272 while ( (c = it.nextCodePoint()) != UCharacterIterator.DONE) { in isValidDigitString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIDNA2003.java12 import com.ibm.icu.text.UCharacterIterator;
152 public static StringBuffer convertToASCII(UCharacterIterator src, int options) in convertToASCII()
166 while((ch = src.next())!= UCharacterIterator.DONE){ in convertToASCII()
273 UCharacterIterator iter = UCharacterIterator.getInstance(label); in convertIDNToASCII()
291 public static StringBuffer convertToUnicode(UCharacterIterator src, int options) in convertToUnicode()
308 while((ch=src.next())!= UCharacterIterator.DONE){ in convertToUnicode()
353 … StringBuffer toASCIIOut = convertToASCII(UCharacterIterator.getInstance(decodeOut), options); in convertToUnicode()
414 UCharacterIterator iter = UCharacterIterator.getInstance(label); in convertIDNToUnicode()
DUCharacterIteratorWrapper.java12 import com.ibm.icu.text.UCharacterIterator;
21 public UCharacterIteratorWrapper(UCharacterIterator iter){ in UCharacterIteratorWrapper()
25 private UCharacterIterator iterator;
133 result.iterator = (UCharacterIterator)this.iterator.clone(); in clone()
DUCharArrayIterator.java10 import com.ibm.icu.text.UCharacterIterator;
18 public final class UCharArrayIterator extends UCharacterIterator {
DStringUCharacterIterator.java9 import com.ibm.icu.text.UCharacterIterator;
18 public final class StringUCharacterIterator extends UCharacterIterator
DReplaceableUCharacterIterator.java11 import com.ibm.icu.text.UCharacterIterator;
24 public class ReplaceableUCharacterIterator extends UCharacterIterator {
DCharacterIteratorWrapper.java11 import com.ibm.icu.text.UCharacterIterator;
19 public class CharacterIteratorWrapper extends UCharacterIterator {
DSimpleFilteredSentenceBreakIterator.java14 import com.ibm.icu.text.UCharacterIterator;
28 private UCharacterIterator text; // TODO(Tom): suffice to move into the local scope in next() ?
55 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in next()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DIterCollationIterator.java14 import com.ibm.icu.text.UCharacterIterator;
22 public IterCollationIterator(CollationData d, boolean numeric, UCharacterIterator ui) { in IterCollationIterator()
74 protected UCharacterIterator iter;
DFCDIterCollationIterator.java15 import com.ibm.icu.text.UCharacterIterator;
22 UCharacterIterator ui, int startIndex) { in FCDIterCollationIterator()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java258 CollationElementIterator(UCharacterIterator source, RuleBasedCollator collator) { in CollationElementIterator()
532 public void setText(UCharacterIterator source) { in setText()
539 UCharacterIterator src; in setText()
541 src = (UCharacterIterator) source.clone(); in setText()
574 UCharacterIterator src = new CharacterIteratorWrapper(source); in setText()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java25 import com.ibm.icu.text.UCharacterIterator;
440 UCharacterIterator uchariter = UCharacterIterator.getInstance(test1); in TestSetText()

12