Home
last modified time | relevance | path

Searched refs:char32 (Results 1 – 9 of 9) 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java474 public static int getCharCount(int char32) { in getCharCount() argument
475 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
640 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument
641 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getLeadSurrogate()
642 return (char) (LEAD_SURROGATE_OFFSET_ + (char32 >> LEAD_SURROGATE_SHIFT_)); in getLeadSurrogate()
657 public static char getTrailSurrogate(int char32) { in getTrailSurrogate() argument
658 if (char32 >= SUPPLEMENTARY_MIN_VALUE) { in getTrailSurrogate()
659 return (char) (TRAIL_SURROGATE_MIN_VALUE + (char32 & TRAIL_SURROGATE_MASK_)); in getTrailSurrogate()
661 return (char) char32; in getTrailSurrogate()
674 public static String valueOf(int char32) { in valueOf() argument
[all …]
DRBBIDataWrapper.java466 int char32; in dumpCharCategories() local
475 for (char32 = 0; char32<=0x10ffff; char32++) { in dumpCharCategories()
476 category = fTrie.getCodePointValue(char32); in dumpCharCategories()
480 " for char " + Integer.toHexString(char32)); in dumpCharCategories()
484 rangeEnd = char32; in dumpCharCategories()
498 rangeStart = rangeEnd = char32; in dumpCharCategories()
DNormalizer.java871 public static String normalize(int char32, Mode mode, int options) { in normalize() argument
873 String decomposition = Normalizer2.getNFCInstance().getDecomposition(char32); in normalize()
875 decomposition = UTF16.valueOf(char32); in normalize()
879 return normalize(UTF16.valueOf(char32), mode, options); in normalize()
889 public static String normalize(int char32, Mode mode) { in normalize() argument
890 return normalize(char32, mode, 0); in normalize()
1037 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument
1038 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/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 ...