Home
last modified time | relevance | path

Searched refs:char32 (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF8.java87 int char32, bytesExpected, bytesSoFar; in decodeLoop() local
92 char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff; in decodeLoop()
93 bytesExpected = BYTES_FROM_UTF8[char32]; in decodeLoop()
94 char32 &= BITMASK_FROM_UTF8[bytesExpected]; in decodeLoop()
98 char32 = toUnicodeStatus; in decodeLoop()
112 toUnicodeStatus = char32; in decodeLoop()
125 char32 = (char32 << 6) | (ch & 0x3f); in decodeLoop()
127 …e if (bytesSoFar == bytesExpected && UTF8_MIN_CHAR32[bytesExpected] <= char32 && char32 <= 0x10ffff in decodeLoop()
128 && (isCESU8 ? bytesExpected <= 3 : !UTF16.isSurrogate((char) char32))) { in decodeLoop()
134 if (char32 <= UConverterConstants.MAXIMUM_UCS2) { in decodeLoop()
[all …]
DCharsetUTF32.java122 int char32; in decodeLoop() local
134 char32 = 0; in decodeLoop()
136 char32 = (char32 << 8) in decodeLoop()
139 … if (0 <= char32 && char32 <= UConverterConstants.MAXIMUM_UTF && !isSurrogate(char32)) { in decodeLoop()
141 if (char32 <= UConverterConstants.MAXIMUM_UCS2) { in decodeLoop()
143 target.put((char) char32); in decodeLoop()
146 target.put(UTF16.getLeadSurrogate(char32)); in decodeLoop()
147 char32 = UTF16.getTrailSurrogate(char32); in decodeLoop()
149 target.put((char) char32); in decodeLoop()
152 charErrorBufferArray[0] = (char) char32; in decodeLoop()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUTF16.java446 public static int getCharCount(int char32) { in getCharCount() argument
447 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
605 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument
606 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getLeadSurrogate()
607 return (char) (LEAD_SURROGATE_OFFSET_ + (char32 >> LEAD_SURROGATE_SHIFT_)); in getLeadSurrogate()
621 public static char getTrailSurrogate(int char32) { in getTrailSurrogate() argument
622 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getTrailSurrogate()
623 return (char) (TRAIL_SURROGATE_MIN_VALUE + (char32 & TRAIL_SURROGATE_MASK_)); in getTrailSurrogate()
625 return (char) char32; in getTrailSurrogate()
637 public static String valueOf(int char32) { in valueOf() argument
[all …]
DRBBIDataWrapper.java451 int char32; in dumpCharCategories() local
460 for (char32 = 0; char32<=0x10ffff; char32++) { in dumpCharCategories()
461 category = fTrie.getCodePointValue(char32); in dumpCharCategories()
465 " for char " + Integer.toHexString(char32)); in dumpCharCategories()
469 rangeEnd = char32; in dumpCharCategories()
483 rangeStart = rangeEnd = char32; in dumpCharCategories()
DNormalizer.java939 public static String normalize(int char32, Mode mode, int options) { in normalize() argument
941 String decomposition = Normalizer2.getNFCInstance().getDecomposition(char32); in normalize()
943 decomposition = UTF16.valueOf(char32); in normalize()
947 return normalize(UTF16.valueOf(char32), mode, options); in normalize()
959 public static String normalize(int char32, Mode mode) { in normalize() argument
960 return normalize(char32, mode, 0); in normalize()
1120 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument
1121 return isNormalized(UTF16.valueOf(char32), mode, options); in isNormalized()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java471 public static int getCharCount(int char32) { in getCharCount() argument
472 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
637 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument
638 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getLeadSurrogate()
639 return (char) (LEAD_SURROGATE_OFFSET_ + (char32 >> LEAD_SURROGATE_SHIFT_)); in getLeadSurrogate()
654 public static char getTrailSurrogate(int char32) { in getTrailSurrogate() argument
655 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getTrailSurrogate()
656 return (char) (TRAIL_SURROGATE_MIN_VALUE + (char32 & TRAIL_SURROGATE_MASK_)); in getTrailSurrogate()
658 return (char) char32; in getTrailSurrogate()
671 public static String valueOf(int char32) { in valueOf() argument
[all …]
DRBBIDataWrapper.java450 int char32; in dumpCharCategories() local
459 for (char32 = 0; char32<=0x10ffff; char32++) { in dumpCharCategories()
460 category = fTrie.getCodePointValue(char32); in dumpCharCategories()
464 " for char " + Integer.toHexString(char32)); in dumpCharCategories()
468 rangeEnd = char32; in dumpCharCategories()
482 rangeStart = rangeEnd = char32; in dumpCharCategories()
DNormalizer.java913 public static String normalize(int char32, Mode mode, int options) { in normalize() argument
915 String decomposition = Normalizer2.getNFCInstance().getDecomposition(char32); in normalize()
917 decomposition = UTF16.valueOf(char32); in normalize()
921 return normalize(UTF16.valueOf(char32), mode, options); in normalize()
932 public static String normalize(int char32, Mode mode) { in normalize() argument
933 return normalize(char32, mode, 0); in normalize()
1086 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument
1087 return isNormalized(UTF16.valueOf(char32), mode, options); in isNormalized()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java228 public static int getCharCount(int char32) in getCharCount() argument
230 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DUTF16Util.java229 public static int getCharCount(int char32) in getCharCount() argument
231 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DCanonicalCharacterData.java28 String char32 = UCharacter.toString(character); in Record() local
29 CanonicalIterator iterator = new CanonicalIterator(char32); in Record()
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc367 char32 rune = 0; in UnescapeCEscapeSequences()
384 char32 rune = 0; in UnescapeCEscapeSequences()
390 char32 newrune = (rune << 4) + hex_digit_to_int(*++p); in UnescapeCEscapeSequences()
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp1495 UChar32 char32 = 0x0054; in TestFilteredNormalizer2Coverage() local
1497 if (fn2.isInert(char32)) { in TestFilteredNormalizer2Coverage()
1501 if (fn2.hasBoundaryAfter(char32)) { in TestFilteredNormalizer2Coverage()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...