/frameworks/minikin/tests/ |
WordBreakerTests.cpp | 32 #define UTF16(codepoint) U16_LEAD(codepoint), U16_TRAIL(codepoint) 104 UTF16(0x1F468), 0x200D, 0x2764, 0x200D, UTF16(0x1F468), 106 UTF16(0x1F469), 0x200D, 0x2764, 0x200D, UTF16(0x1F48B), 0x200D, UTF16(0x1F469), 108 UTF16(0x1F441), 0x200D, UTF16(0x1F5E8), 110 UTF16(0x1F431), 0x200D, UTF16(0x1F464) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UTF16Test.java | 16 import android.icu.text.UTF16; 17 import android.icu.text.UTF16.StringComparator; 22 * Testing class for UTF16 41 * Testing UTF16 class methods append 54 UTF16.append(strbuff, i); 55 arraysize = UTF16.append(array, arraysize, i); 69 if (UTF16.countCodePoint(strbuff) != strsize + (i / 100) + 1) { 78 UTF16.appendCodePoint(strbuff, 0x10000); 85 * Testing UTF16 class methods bounds 94 int boundtype[] = {UTF16.SINGLE_CHAR_BOUNDARY [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UTF16Test.java | 15 import com.ibm.icu.text.UTF16; 16 import com.ibm.icu.text.UTF16.StringComparator; 19 * Testing class for UTF16 37 * Testing UTF16 class methods append 50 UTF16.append(strbuff, i); 51 arraysize = UTF16.append(array, arraysize, i); 65 if (UTF16.countCodePoint(strbuff) != strsize + (i / 100) + 1) { 74 UTF16.appendCodePoint(strbuff, 0x10000); 81 * Testing UTF16 class methods bounds 90 int boundtype[] = {UTF16.SINGLE_CHAR_BOUNDARY [all...] |
/external/v8/tools/ |
shell-utils.h | 40 UTF16
|
/external/google-breakpad/src/common/ |
convert_UTF.h | 110 typedef unsigned short UTF16; /* at least 16 bits */ 139 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 141 ConversionResult ConvertUTF16toUTF8 (const UTF16** sourceStart, const UTF16* sourceEnd, 150 ConversionResult ConvertUTF16toUTF32 (const UTF16** sourceStart, const UTF16* sourceEnd, 154 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
TestUtility.java | 10 import android.icu.text.UTF16; 56 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 57 cp = UTF16.charAt(source,i); 61 UTF16.append(results, cp);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
TestUtility.java | 9 import com.ibm.icu.text.UTF16; 55 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 56 cp = UTF16.charAt(source,i); 60 UTF16.append(results, cp);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
PrettyPrinter.java | 21 import android.icu.text.UTF16; 22 import android.icu.text.UTF16.StringComparator; 29 private static final StringComparator CODEPOINT_ORDER = new UTF16.StringComparator(true,false,0); 131 orderedStrings.add(UTF16.valueOf(i)); 161 if (UTF16.hasMoreCodePointsThan(s, 1)) { 167 appendUnicodeSetItem(UTF16.charAt(s, 0)); 191 int cp = UTF16.charAt(s,0); 196 } else if (type == UCharacter.SURROGATE && cp >= UTF16.TRAIL_SURROGATE_MIN_VALUE) { 204 addSpaceAsNeededBefore(UTF16.valueOf(codepoint)); 219 lastString = UTF16.valueOf(lastCodePoint) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
PrettyPrinter.java | 20 import com.ibm.icu.text.UTF16; 21 import com.ibm.icu.text.UTF16.StringComparator; 28 private static final StringComparator CODEPOINT_ORDER = new UTF16.StringComparator(true,false,0); 130 orderedStrings.add(UTF16.valueOf(i)); 160 if (UTF16.hasMoreCodePointsThan(s, 1)) { 166 appendUnicodeSetItem(UTF16.charAt(s, 0)); 190 int cp = UTF16.charAt(s,0); 195 } else if (type == UCharacter.SURROGATE && cp >= UTF16.TRAIL_SURROGATE_MIN_VALUE) { 203 addSpaceAsNeededBefore(UTF16.valueOf(codepoint)); 218 lastString = UTF16.valueOf(lastCodePoint) [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3convertutf.h | 97 // typedef unsigned short UTF16; /* at least 16 bits */ 107 typedef ANTLR3_UINT16 UTF16; /* at least 16 bits */ 146 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 149 const UTF16** sourceStart, const UTF16* sourceEnd, 161 const UTF16** sourceStart, const UTF16* sourceEnd, 166 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/ |
TokenIterator.java | 18 import android.icu.text.UTF16; 144 UTF16.append(buf, c32);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiWriter.java | 56 c = UTF16.charAt(src, i); 57 i += UTF16.getCharCount(c); 58 UTF16.append(dest, UCharacter.getMirror(c)); 83 c = UTF16.charAt(src, i); 84 i += UTF16.getCharCount(c); 86 UTF16.append(dest, UCharacter.getMirror(c)); 134 * XXX: or dest = UTF16.reverse(new StringBuffer(src)); 146 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 174 c = UTF16.charAt(src, srcLength - 1) [all...] |
NameUnicodeTransliterator.java | 121 // assert(UTF16.getCharCount(CLOSE_DELIM) == 1); 124 String str = UTF16.valueOf(c); 143 UTF16.append(name, c); 160 cursor += UTF16.getCharCount(c);
|
StringReplacer.java | 156 int len = UTF16.getCharCount(text.char32At(start-1)); 176 int c = UTF16.charAt(output, oOutput); 182 int nextIndex = oOutput + UTF16.getCharCount(c); 184 tempExtra = UTF16.getCharCount(text.char32At(limit)); 191 UTF16.append(buf, c); 238 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); 247 newStart += UTF16.getCharCount(text.char32At(newStart)); 322 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) { 323 ch = UTF16.charAt(output, i);
|
CanonicalIterator.java | 131 int i = UTF16.findOffsetFromCodePoint(source, 1); 168 if (source.length() <= 2 && UTF16.countCodePoint(source) <= 1) { 176 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 177 cp = UTF16.charAt(source, i); 183 //System.out.println("Skipping " + Utility.hex(UTF16.valueOf(source, i))); 190 + source.substring(i + UTF16.getCharCount(cp)), skipZeros, subpermute); 193 String chStr = UTF16.valueOf(source, i); 312 prefix += UTF16.valueOf(cp2); 328 for (int i = 0; i < segment.length(); i += UTF16.getCharCount(cp)) { 330 cp = UTF16.charAt(segment, i) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/ |
TokenIterator.java | 17 import com.ibm.icu.text.UTF16; 142 UTF16.append(buf, c32);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiWriter.java | 55 c = UTF16.charAt(src, i); 56 i += UTF16.getCharCount(c); 57 UTF16.append(dest, UCharacter.getMirror(c)); 82 c = UTF16.charAt(src, i); 83 i += UTF16.getCharCount(c); 85 UTF16.append(dest, UCharacter.getMirror(c)); 133 * XXX: or dest = UTF16.reverse(new StringBuffer(src)); 145 srcLength -= UTF16.getCharCount(UTF16.charAt(src, 173 c = UTF16.charAt(src, srcLength - 1) [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
RBBIPerf.java | 49 UTF16.append(testFileBuf, c);
|
/external/llvm/include/llvm/Support/ |
ConvertUTF.h | 102 typedef unsigned short UTF16; /* at least 16 bits */ 137 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 156 const UTF16** sourceStart, const UTF16* sourceEnd, 164 const UTF16** sourceStart, const UTF16* sourceEnd, 169 UTF16** targetStart, UTF16* targetEnd, ConversionFlags flags); 189 * Convert an UTF8 StringRef to UTF8, UTF16, or UTF32 depending o [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
RuleCharacterIterator.java | 17 import android.icu.text.UTF16; 135 _advance(UTF16.getCharCount(c)); 253 _advance(UTF16.getCharCount(a)); 322 return UTF16.charAt(buf, 0, buf.length, bufPos); 325 return (i < text.length()) ? UTF16.charAt(text, i) : DONE;
|
/external/icu/icu4c/source/common/ |
unisetspan.h | 40 UTF16 = 8, 47 FWD_UTF16_CONTAINED = FWD | UTF16 | CONTAINED, 48 FWD_UTF16_NOT_CONTAINED = FWD | UTF16 | NOT_CONTAINED, 51 BACK_UTF16_CONTAINED = BACK | UTF16 | CONTAINED, 52 BACK_UTF16_NOT_CONTAINED= BACK | UTF16 | NOT_CONTAINED,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
RuleCharacterIterator.java | 16 import com.ibm.icu.text.UTF16; 134 _advance(UTF16.getCharCount(c)); 252 _advance(UTF16.getCharCount(a)); 321 return UTF16.charAt(buf, 0, buf.length, bufPos); 324 return (i < text.length()) ? UTF16.charAt(text, i) : DONE;
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
NameUnicodeTransliterator.java | 120 // assert(UTF16.getCharCount(CLOSE_DELIM) == 1); 123 String str = UTF16.valueOf(c); 142 UTF16.append(name, c); 159 cursor += UTF16.getCharCount(c);
|
StringReplacer.java | 155 int len = UTF16.getCharCount(text.char32At(start-1)); 175 int c = UTF16.charAt(output, oOutput); 181 int nextIndex = oOutput + UTF16.getCharCount(c); 183 tempExtra = UTF16.getCharCount(text.char32At(limit)); 190 UTF16.append(buf, c); 237 newStart -= UTF16.getCharCount(text.char32At(newStart-1)); 246 newStart += UTF16.getCharCount(text.char32At(newStart)); 321 for (int i=0; i<output.length(); i+=UTF16.getCharCount(ch)) { 322 ch = UTF16.charAt(output, i);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetBOCU1.java | 17 import com.ibm.icu.text.UTF16; 470 if(UTF16.isTrailSurrogate(trail)){ 518 if(UTF16.isLeadSurrogate((char)c)){ [all...] |