Searched refs:char32 (Results 1 – 9 of 9) sorted by relevance
87 int char32, bytesExpected, bytesSoFar; in decodeLoop() local92 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 …]
122 int char32; in decodeLoop() local134 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 …]
474 public static int getCharCount(int char32) { in getCharCount() argument475 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()640 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument641 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() argument658 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 …]
466 int char32; in dumpCharCategories() local475 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()
871 public static String normalize(int char32, Mode mode, int options) { in normalize() argument873 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() argument890 return normalize(char32, mode, 0); in normalize()1037 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument1038 return isNormalized(UTF16.valueOf(char32), mode, options); in isNormalized()
228 public static int getCharCount(int char32) in getCharCount() argument230 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
367 char32 rune = 0; in UnescapeCEscapeSequences()384 char32 rune = 0; in UnescapeCEscapeSequences()390 char32 newrune = (rune << 4) + hex_digit_to_int(*++p); in UnescapeCEscapeSequences()
1495 UChar32 char32 = 0x0054; in TestFilteredNormalizer2Coverage() local1497 if (fn2.isInert(char32)) { in TestFilteredNormalizer2Coverage()1501 if (fn2.hasBoundaryAfter(char32)) { in TestFilteredNormalizer2Coverage()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...