/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
WriteIndicCharts.java | 18 import com.ibm.icu.text.UTF16; 86 arr[0]=UTF16.valueOf(i+ 0xE000); 87 table.put(UTF16.valueOf(i),arr); 105 String[] temp = (String[])table.get(UTF16.valueOf(i)); 108 if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 || 146 nameBuf.append(UCharacter.getExtendedName(UTF16.charAt(str,f))); 151 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 159 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 165 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 210 arr[0]=UTF16.valueOf((i&0xFF) + 0xE000) [all...] |
UnicodeSetCloseOver.java | 31 import com.ibm.icu.text.UTF16; 89 String cp = UTF16.valueOf(i); 348 String cp = UTF16.valueOf(i); 384 String cp = UTF16.valueOf(c); 395 for (int k=0; k<s.length(); k+=UTF16.getCharCount(cc)) { 396 cc = UTF16.charAt(s, k); 399 for (int k=0; k<cp.length(); k+=UTF16.getCharCount(cc)) { 400 cc = UTF16.charAt(cp, k); 440 UTF16.append(buf, set.getRangeStart(i)); 441 UTF16.append(buf, set.getRangeEnd(i)) [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
encodings.h | 229 // UTF16
241 struct UTF16 {
298 struct UTF16LE : UTF16<CharType> {
330 struct UTF16BE : UTF16<CharType> {
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
PatternTokenizer.java | 12 import android.icu.text.UTF16; 170 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 171 cp = UTF16.charAt(string, i); 185 UTF16.append(result, cp); 194 UTF16.append(result, cp); 204 UTF16.append(result, cp); 218 UTF16.append(result, cp); 268 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { 269 cp = UTF16.charAt(pattern, i); 286 UTF16.append(buffer, cp) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiTransform.java | 317 int ch = UTF16.charAt(sb, i); 319 UTF16.setCharAt(sb, i, UCharacter.getMirror(ch)); 321 i += UTF16.getCharCount(ch);
|
StringPrep.java | 422 UTF16.append(dest,ch);
|
UTF16.java | 17 * Standalone utility class providing UTF16 character conversions and indexing conversions. 39 * for (int i = 0; i < s.length(); i += UTF16.getCharCount(ch)) { 40 * ch = UTF16.charAt(s, i); 52 * for (int i = s.length() - 1; i > 0; i -= UTF16.getCharCount(ch)) { 53 * ch = UTF16.charAt(s, i); 86 public final class UTF16 { 178 private UTF16() { 186 * <code>UTF16.getCharCount()</code>, as well as random access. If a validity check is 239 * <code>UTF16.getCharCount()</code>, as well as random access. If a validity check is 254 if (single < UTF16.LEAD_SURROGATE_MIN_VALUE) [all...] |
Transliterator.java | 601 UTF16.isLeadSurrogate(text.charAt(index.limit - 1))) { 636 transliterate(text, index, UTF16.valueOf(insertion)); [all...] |
TransliteratorParser.java | 504 UTF16.append(buf, escaped); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
WriteCharts.java | 28 import android.icu.text.UTF16; 192 String ss = UTF16.valueOf(j); 198 if (UTF16.countCodePoint(ts) == 1) { 199 leftOverSet.remove(UTF16.charAt(ts,0)); 225 String ss2 = UTF16.valueOf(j2); 261 String ts = UTF16.valueOf(j); 373 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 374 cp = UTF16.charAt(s, i); 387 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 388 cp = UTF16.charAt(s, i) [all...] |
RoundTripTest.java | 33 import android.icu.text.UTF16; 302 UTF16.append(b,it.codepoint); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 11 import com.ibm.icu.text.UTF16; 168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 169 cp = UTF16.charAt(string, i); 183 UTF16.append(result, cp); 192 UTF16.append(result, cp); 202 UTF16.append(result, cp); 216 UTF16.append(result, cp); 266 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { 267 cp = UTF16.charAt(pattern, i); 284 UTF16.append(buffer, cp) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiTransform.java | 329 int ch = UTF16.charAt(sb, i); 331 UTF16.setCharAt(sb, i, UCharacter.getMirror(ch)); 333 i += UTF16.getCharCount(ch);
|
StringPrep.java | 439 UTF16.append(dest,ch);
|
UTF16.java | 16 * Standalone utility class providing UTF16 character conversions and indexing conversions. 38 * for (int i = 0; i < s.length(); i += UTF16.getCharCount(ch)) { 39 * ch = UTF16.charAt(s, i); 51 * for (int i = s.length() - 1; i > 0; i -= UTF16.getCharCount(ch)) { 52 * ch = UTF16.charAt(s, i); 85 public final class UTF16 { 197 private UTF16() { 205 * <code>UTF16.getCharCount()</code>, as well as random access. If a validity check is 259 * <code>UTF16.getCharCount()</code>, as well as random access. If a validity check is 275 if (single < UTF16.LEAD_SURROGATE_MIN_VALUE) [all...] |
/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...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
CollectionUtilities.java | 23 import android.icu.text.UTF16; 419 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 420 cp = UTF16.charAt(source, i); 421 if (!removals.contains(cp)) UTF16.append(result, cp);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
CollectionUtilities.java | 22 import com.ibm.icu.text.UTF16; 416 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 417 cp = UTF16.charAt(source, i); 418 if (!removals.contains(cp)) UTF16.append(result, cp);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 20 import android.icu.text.UTF16; 173 && !(0 < start && UTF16.isLeadSurrogate (s.charAt(start - 1)) && 174 UTF16.isTrailSurrogate(s.charAt(start))) 175 && !(length < limit && UTF16.isLeadSurrogate (s.charAt(start + length - 1)) && 176 UTF16.isTrailSurrogate(s.charAt(start + length))); 729 UTF16.append(s, c); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestIDNA.java | 25 import android.icu.text.UTF16; 627 UTF16.append(fillIn, codepoint); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 19 import com.ibm.icu.text.UTF16; 170 && !(0 < start && UTF16.isLeadSurrogate (s.charAt(start - 1)) && 171 UTF16.isTrailSurrogate(s.charAt(start))) 172 && !(length < limit && UTF16.isLeadSurrogate (s.charAt(start + length - 1)) && 173 UTF16.isTrailSurrogate(s.charAt(start + length))); 726 UTF16.append(s, c); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
TestIDNA.java | 24 import com.ibm.icu.text.UTF16; 624 UTF16.append(fillIn, codepoint); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationTest.java | 49 import android.icu.text.UTF16; 372 dest.add(UTF16.getLeadSurrogate(c)); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateTimeGeneratorTest.java | 38 import android.icu.text.UTF16; 277 UTF16.append(result, ch); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestMonkey.java | 31 import android.icu.text.UTF16; 214 c3 = UTF16.charAt(fText, prevPos); 226 c3 = (p3>=fText.length())? -1: UTF16.charAt(fText, p3); 493 c3 = UTF16.charAt(fText, prevPos); 513 c3 = UTF16.charAt(fText, p3); [all...] |