/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ReplaceableString.java | 100 return UTF16.charAt(buf, offset);
|
TransliterationRule.java | 246 int c = UTF16.charAt(pattern, anteContextLength); 339 pos - UTF16.getCharCount(str.char32At(pos-1)) : 345 pos + UTF16.getCharCount(str.char32At(pos)) : 568 int ch = UTF16.charAt(pattern, i); 569 i += UTF16.getCharCount(ch);
|
RBBISymbolTable.java | 119 int c = UTF16.charAt(text, i); 124 i += UTF16.getCharCount(c);
|
CaseFoldTransliterator.java | 101 delta=iter.replace(UTF16.valueOf(c));
|
SourceTargetUtility.java | 65 String s = transform.transform(UTF16.valueOf(i));
|
UnicodeNameTransliterator.java | 64 int clen = UTF16.getCharCount(c);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
UCAConformanceTest.java | 29 import android.icu.text.UTF16; 41 comparer = new UTF16.StringComparator(true, false, UTF16.StringComparator.FOLD_CASE_DEFAULT); 46 private UTF16.StringComparator comparer;
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetUTF32.java | 18 import com.ibm.icu.text.UTF16; 150 target.put(UTF16.getLeadSurrogate(char32)); 151 char32 = UTF16.getTrailSurrogate(char32); 224 if (UTF16.isSurrogate(ch)) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/ |
TokenIterator.java | 19 import com.ibm.icu.text.UTF16; 144 UTF16.append(buf, c32);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ReplaceableString.java | 107 return UTF16.charAt(buf, offset);
|
RBBISymbolTable.java | 118 int c = UTF16.charAt(text, i); 123 i += UTF16.getCharCount(c);
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
UCAConformanceTest.java | 28 import com.ibm.icu.text.UTF16; 40 comparer = new UTF16.StringComparator(true, false, UTF16.StringComparator.FOLD_CASE_DEFAULT); 45 private UTF16.StringComparator comparer;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
WriteCharts.java | 28 import android.icu.text.UTF16; 190 String ss = UTF16.valueOf(j); 196 if (UTF16.countCodePoint(ts) == 1) { 197 leftOverSet.remove(UTF16.charAt(ts,0)); 223 String ss2 = UTF16.valueOf(j2); 259 String ts = UTF16.valueOf(j); 371 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 372 cp = UTF16.charAt(s, i); 385 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 386 cp = UTF16.charAt(s, i) [all...] |
RoundTripTest.java | 31 import android.icu.text.UTF16; 295 UTF16.append(b,it.codepoint); [all...] |
AnyScriptTest.java | 17 import android.icu.text.UTF16; 43 testBuffer.append(UTF16.valueOf(test.charAt(i)));
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
CaseIterator.java | 20 import com.ibm.icu.text.UTF16; 228 String cp = UTF16.valueOf(i); 312 if (UTF16.countCodePoint(key) < 2) continue; 333 if (UTF16.countCodePoint(key) > 2) { 438 piece = UTF16.valueOf(source, i); 452 piece = UTF16.valueOf(source, i); 536 String cp = UTF16.valueOf(i);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
WriteCharts.java | 27 import com.ibm.icu.text.UTF16; 189 String ss = UTF16.valueOf(j); 195 if (UTF16.countCodePoint(ts) == 1) { 196 leftOverSet.remove(UTF16.charAt(ts,0)); 222 String ss2 = UTF16.valueOf(j2); 258 String ts = UTF16.valueOf(j); 370 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 371 cp = UTF16.charAt(s, i); 384 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 385 cp = UTF16.charAt(s, i) [all...] |
RoundTripTest.java | 30 import com.ibm.icu.text.UTF16; 294 UTF16.append(b,it.codepoint); [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
TransliterationRule.java | 245 int c = UTF16.charAt(pattern, anteContextLength); 338 pos - UTF16.getCharCount(str.char32At(pos-1)) : 344 pos + UTF16.getCharCount(str.char32At(pos)) : 567 int ch = UTF16.charAt(pattern, i); 568 i += UTF16.getCharCount(ch);
|
/external/unicode/ |
harness.c | 135 test02 - Test round trip UTF32 -> UTF16 -> UTF8 -> UTF16 -> UTF32 152 UTF16 utf16_buf[3], utf16_result[3]; 155 UTF16 *utf16SourceStart, *utf16TargetStart; 172 * Test UTF32 -> UTF16 199 * Test UTF16 -> UTF8, with legality check on. We check for everything except 203 result = ConvertUTF16toUTF8((const UTF16 **) &utf16SourceStart, &(utf16_buf[2]), &utf8TargetStart, &(utf8_buf[7]), strictConversion); 244 * Test UTF8 -> UTF16, with legality check on. 259 for (n = 0; n < 3; n++) { /* check that the utf16 result is the same as what went in. */ 268 * Test UTF16 -> UTF32, with legality check on. If the result of our previou [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
writertest.cpp | 113 // UTF8 -> UTF16 -> UTF8
117 Writer<StringBuffer, UTF16<>, UTF8<> > writer(buffer);
118 GenericReader<UTF8<>, UTF16<> > reader;
324 GenericStringBuffer<UTF16<> > buffer;
325 Writer<GenericStringBuffer<UTF16<> >, UTF8<>, UTF16<> > writer(buffer);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
BasicTest.java | 30 import android.icu.text.UTF16; 693 s=UTF16.valueOf(c); 720 lead=UTF16.charAt(nfd, 0); 721 trail=UTF16.charAt(nfd, nfd.length()-1); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
BasicTest.java | 29 import com.ibm.icu.text.UTF16; 692 s=UTF16.valueOf(c); 719 lead=UTF16.charAt(nfd, 0); 720 trail=UTF16.charAt(nfd, nfd.length()-1); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Utility.java | 19 import android.icu.text.UTF16; 759 i += UTF16.getCharCount(c); 819 offset += UTF16.getCharCount(c); 831 if (offset < length && UTF16.charAt(s, offset) == 0x7B /*{*/) { 852 c = UTF16.charAt(s, offset); 858 offset += UTF16.getCharCount(c); 878 UTF16.isLeadSurrogate((char) result)) { 886 if (UTF16.isTrailSurrogate((char) c)) { 907 c = UTF16.charAt(s, offset); 908 offset16[0] = offset + UTF16.getCharCount(c) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Utility.java | 18 import com.ibm.icu.text.UTF16; 755 i += UTF16.getCharCount(c); 815 offset += UTF16.getCharCount(c); 827 if (offset < length && UTF16.charAt(s, offset) == 0x7B /*{*/) { 848 c = UTF16.charAt(s, offset); 854 offset += UTF16.getCharCount(c); 874 UTF16.isLeadSurrogate((char) result)) { 882 if (UTF16.isTrailSurrogate((char) c)) { 903 c = UTF16.charAt(s, offset); 904 offset16[0] = offset + UTF16.getCharCount(c) [all...] |