Searched refs:char32 (Results 1 – 14 of 14) 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 …]
446 public static int getCharCount(int char32) { in getCharCount() argument447 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()605 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument606 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() argument622 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 …]
451 int char32; in dumpCharCategories() local460 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()
939 public static String normalize(int char32, Mode mode, int options) { in normalize() argument941 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() argument960 return normalize(char32, mode, 0); in normalize()1120 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument1121 return isNormalized(UTF16.valueOf(char32), mode, options); in isNormalized()
471 public static int getCharCount(int char32) { in getCharCount() argument472 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()637 public static char getLeadSurrogate(int char32) { in getLeadSurrogate() argument638 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() argument655 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 …]
450 int char32; in dumpCharCategories() local459 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()
913 public static String normalize(int char32, Mode mode, int options) { in normalize() argument915 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() argument933 return normalize(char32, mode, 0); in normalize()1086 public static boolean isNormalized(int char32, Mode mode,int options) { in isNormalized() argument1087 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()
229 public static int getCharCount(int char32) in getCharCount() argument231 if (char32 < SUPPLEMENTARY_MIN_VALUE) { in getCharCount()
28 String char32 = UCharacter.toString(character); in Record() local29 CanonicalIterator iterator = new CanonicalIterator(char32); in Record()
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 ...