/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
ConformanceTest.java | 19 import android.icu.text.UTF16; 94 if(fields[0].length()==UTF16.moveCodePointOffset(fields[0],0, 1)) { 95 c=UTF16.charAt(fields[0],0); 270 if(!Normalizer.isNormalized(UTF16.charAt(field[1],0), Normalizer.NFC,options)) { 340 if(Normalizer.compare(UTF16.charAt(s1,0),UTF16.charAt(s2,0),Normalizer.COMPARE_IGNORE_CASE)!=0){ 346 if(Normalizer.compare(UTF16.charAt(s1,0),s2,Normalizer.COMPARE_IGNORE_CASE)!=0){ 383 buf.append(UTF16.valueOf(ch)); 388 buf.insert(0, UTF16.valueOf(ch)); 412 buf.append(UTF16.valueOf(ch)) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
PunycodeReference.java | 32 import android.icu.text.UTF16; 287 UTF16.append(result,output[i]);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
AnyScriptTest.java | 13 import android.icu.text.UTF16; 44 testBuffer.append(UTF16.valueOf(test.charAt(i)));
|
WriteCharts.java | 26 import android.icu.text.UTF16; 188 String ss = UTF16.valueOf(j); 194 if (UTF16.countCodePoint(ts) == 1) { 195 leftOverSet.remove(UTF16.charAt(ts,0)); 221 String ss2 = UTF16.valueOf(j2); 257 String ts = UTF16.valueOf(j); 369 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 370 cp = UTF16.charAt(s, i); 383 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 384 cp = UTF16.charAt(s, i) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieTest.java | 18 import android.icu.text.UTF16; 154 UTF16.append(s, c); 163 int c = UTF16.charAt(s, p); 164 p += UTF16.getCharCount(c); 173 char lead = UTF16.getLeadSurrogate(c); 174 char trail = UTF16.getTrailSurrogate(c); 177 : !UTF16.isLeadSurrogate(lead) 178 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2) 294 if (!UTF16.isLeadSurrogate((char)start)) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
DataInputCompressor.java | 18 import android.icu.text.UTF16; 133 UTF16.append(stringBuffer, cp);
|
DataOutputCompressor.java | 19 import android.icu.text.UTF16; 108 writeULong(UTF16.countCodePoint(str)); 114 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 115 cp = UTF16.charAt(s, i);
|
Tokenizer.java | 18 import android.icu.text.UTF16; 174 index -= UTF16.getCharCount(cp); // BACKUP! 189 UTF16.append(buffer, QUOTE); 198 index -= UTF16.getCharCount(cp); // BACKUP! 200 } else UTF16.append(buffer,cp); 204 else UTF16.append(buffer,cp); 212 UTF16.append(buffer,cp); 241 int cp = UTF16.charAt(source,index); 242 index += UTF16.getCharCount(cp); 310 for (i = start; i < limit; i += UTF16.getCharCount(cp)) [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetUTF32.java | 16 import com.ibm.icu.text.UTF16; 146 target.put(UTF16.getLeadSurrogate(char32)); 147 char32 = UTF16.getTrailSurrogate(char32); 218 if (UTF16.isSurrogate(ch)) {
|
UConverterSharedData.java | 416 static final int UTF16 = BOCU1 + 1; // 29 417 static final int UTF32 = UTF16 + 1; // 30
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CanonicalIterator.java | 135 int i = UTF16.findOffsetFromCodePoint(source, 1); 172 if (source.length() <= 2 && UTF16.countCodePoint(source) <= 1) { 180 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 181 cp = UTF16.charAt(source, i); 187 //System.out.println("Skipping " + Utility.hex(UTF16.valueOf(source, i))); 194 + source.substring(i + UTF16.getCharCount(cp)), skipZeros, subpermute); 197 String chStr = UTF16.valueOf(source, i); 316 prefix += UTF16.valueOf(cp2); 332 for (int i = 0; i < segment.length(); i += UTF16.getCharCount(cp)) { 334 cp = UTF16.charAt(segment, i) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
ConformanceTest.java | 18 import com.ibm.icu.text.UTF16; 90 if(fields[0].length()==UTF16.moveCodePointOffset(fields[0],0, 1)) { 91 c=UTF16.charAt(fields[0],0); 266 if(!Normalizer.isNormalized(UTF16.charAt(field[1],0), Normalizer.NFC,options)) { 336 if(Normalizer.compare(UTF16.charAt(s1,0),UTF16.charAt(s2,0),Normalizer.COMPARE_IGNORE_CASE)!=0){ 342 if(Normalizer.compare(UTF16.charAt(s1,0),s2,Normalizer.COMPARE_IGNORE_CASE)!=0){ 379 buf.append(UTF16.valueOf(ch)); 384 buf.insert(0, UTF16.valueOf(ch)); 408 buf.append(UTF16.valueOf(ch)) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
PunycodeReference.java | 31 import com.ibm.icu.text.UTF16; 286 UTF16.append(result,output[i]);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TrieTest.java | 17 import com.ibm.icu.text.UTF16; 150 UTF16.append(s, c); 159 int c = UTF16.charAt(s, p); 160 p += UTF16.getCharCount(c); 169 char lead = UTF16.getLeadSurrogate(c); 170 char trail = UTF16.getTrailSurrogate(c); 173 : !UTF16.isLeadSurrogate(lead) 174 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2) 290 if (!UTF16.isLeadSurrogate((char)start)) {
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
DataInputCompressor.java | 17 import com.ibm.icu.text.UTF16; 132 UTF16.append(stringBuffer, cp);
|
DataOutputCompressor.java | 18 import com.ibm.icu.text.UTF16; 107 writeULong(UTF16.countCodePoint(str)); 113 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 114 cp = UTF16.charAt(s, i);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
AnyScriptTest.java | 12 import com.ibm.icu.text.UTF16; 40 testBuffer.append(UTF16.valueOf(test.charAt(i)));
|
WriteCharts.java | 25 import com.ibm.icu.text.UTF16; 187 String ss = UTF16.valueOf(j); 193 if (UTF16.countCodePoint(ts) == 1) { 194 leftOverSet.remove(UTF16.charAt(ts,0)); 220 String ss2 = UTF16.valueOf(j2); 256 String ts = UTF16.valueOf(j); 368 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 369 cp = UTF16.charAt(s, i); 382 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 383 cp = UTF16.charAt(s, i) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
WriteIndicCharts.java | 16 import com.ibm.icu.text.UTF16; 84 arr[0]=UTF16.valueOf(i+ 0xE000); 85 table.put(UTF16.valueOf(i),arr); 103 String[] temp = (String[])table.get(UTF16.valueOf(i)); 106 if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 || 144 nameBuf.append(UCharacter.getExtendedName(UTF16.charAt(str,f))); 149 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 157 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 163 if(UCharacter.getExtendedName(UTF16.charAt(str,0)).indexOf("unassigned")>0){ 208 arr[0]=UTF16.valueOf((i&0xFF) + 0xE000) [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 | 10 import android.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/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestExtended.java | 20 import android.icu.text.UTF16; 86 UTF16.append(testFileBuf, c); 131 int c = UTF16.charAt(testString, charIdx); 255 UTF16.append(tp.dataToBreak, c); 292 int cp = UTF16.charAt(testString, charIdx); 293 if (cp == CH_CR && charIdx<len && UTF16.charAt(testString, charIdx+1) == CH_LF) { 314 UTF16.append(tp.dataToBreak, cp); 327 c = UTF16.charAt(testString,charIdx); 328 charIdx = UTF16.moveCodePointOffset(testString, charIdx, 1); 332 UTF16.append(tp.dataToBreak, c) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 9 import com.ibm.icu.text.UTF16; 166 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 167 cp = UTF16.charAt(string, i); 181 UTF16.append(result, cp); 190 UTF16.append(result, cp); 200 UTF16.append(result, cp); 214 UTF16.append(result, cp); 264 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { 265 cp = UTF16.charAt(pattern, i); 282 UTF16.append(buffer, cp) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestExtended.java | 19 import com.ibm.icu.text.UTF16; 82 UTF16.append(testFileBuf, c); 127 int c = UTF16.charAt(testString, charIdx); 251 UTF16.append(tp.dataToBreak, c); 288 int cp = UTF16.charAt(testString, charIdx); 289 if (cp == CH_CR && charIdx<len && UTF16.charAt(testString, charIdx+1) == CH_LF) { 310 UTF16.append(tp.dataToBreak, cp); 323 c = UTF16.charAt(testString,charIdx); 324 charIdx = UTF16.moveCodePointOffset(testString, charIdx, 1); 328 UTF16.append(tp.dataToBreak, c) [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
Tokenizer.java | 17 import com.ibm.icu.text.UTF16; 173 index -= UTF16.getCharCount(cp); // BACKUP! 188 UTF16.append(buffer, QUOTE); 197 index -= UTF16.getCharCount(cp); // BACKUP! 199 } else UTF16.append(buffer,cp); 203 else UTF16.append(buffer,cp); 211 UTF16.append(buffer,cp); 240 int cp = UTF16.charAt(source,index); 241 index += UTF16.getCharCount(cp); 309 for (i = start; i < limit; i += UTF16.getCharCount(cp)) [all...] |