/openjdk7/jdk/src/share/classes/sun/text/normalizer/ |
H A D | UCharacter.java | 47 * more Unicode properties and together with the <a href=../text/UTF16.html>UTF16</a> 189 public static final int MIN_VALUE = UTF16.CODEPOINT_MIN_VALUE; 198 public static final int MAX_VALUE = UTF16.CODEPOINT_MAX_VALUE; 205 UTF16.SUPPLEMENTARY_MIN_VALUE; 261 * Returns a code point corresponding to the two UTF16 characters. 271 if (UTF16.isLeadSurrogate(lead) && UTF16.isTrailSurrogate(trail)) { 397 if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE 398 || (ch > UTF16 [all...] |
H A D | UCharacterProperty.java | 116 if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE 117 || (ch > UTF16.LEAD_SURROGATE_MAX_VALUE 118 && ch < UTF16.SUPPLEMENTARY_MIN_VALUE)) { 130 if (ch <= UTF16.LEAD_SURROGATE_MAX_VALUE) { 138 if (ch <= UTF16.CODEPOINT_MAX_VALUE) { 143 UTF16.getLeadSurrogate(ch), 319 UTF16.SUPPLEMENTARY_MIN_VALUE - 320 (UTF16.SURROGATE_MIN_VALUE << 322 UTF16.TRAIL_SURROGATE_MIN_VALUE;
|
H A D | Utility.java | 67 int c = UTF16.charAt(s, i); 68 i += UTF16.getCharCount(c); 127 c = UTF16.charAt(s, offset); 128 offset += UTF16.getCharCount(c); 140 if (offset < length && UTF16.charAt(s, offset) == 0x7B /*{*/) { 161 c = UTF16.charAt(s, offset); 167 offset += UTF16.getCharCount(c); 187 UTF16.isLeadSurrogate((char) result)) { 195 if (UTF16.isTrailSurrogate((char) c)) { 217 c = UTF16 [all...] |
H A D | Trie.java | 205 * Index or UTF16 characters 277 return (ch >= UTF16.LEAD_SURROGATE_MIN_VALUE 278 && ch <= UTF16.LEAD_SURROGATE_MAX_VALUE) 310 } else if (ch < UTF16.LEAD_SURROGATE_MIN_VALUE) { 313 } else if (ch < UTF16.SUPPLEMENTARY_MIN_VALUE) { 319 return getSurrogateOffset(UTF16.getLeadSurrogate(ch),
|
H A D | UCharacterIterator.java | 67 * Indicator that we have reached the ends of the UTF16 text. 139 * Returns the UTF16 code unit at index, and increments to the next 143 * @return the next UTF16 code unit, or DONE if the index is at the limit 162 if(UTF16.isLeadSurrogate((char)ch1)){ 164 if(UTF16.isTrailSurrogate((char)ch2)){
|
H A D | RuleCharacterIterator.java | 167 _advance(UTF16.getCharCount(c)); 285 _advance(UTF16.getCharCount(a)); 343 return UTF16.charAt(buf, 0, buf.length, bufPos); 346 return (i < text.length()) ? UTF16.charAt(text, i) : DONE;
|
H A D | TrieIterator.java | 284 if (UTF16.getTrailSurrogate(m_nextCodepoint_) 285 != UTF16.TRAIL_SURROGATE_MIN_VALUE) { 304 int nextLead = UTF16.getLeadSurrogate(m_nextCodepoint_); 331 (char)UTF16.TRAIL_SURROGATE_MIN_VALUE); 479 int nextLead = UTF16.getLeadSurrogate(m_nextCodepoint_);
|
H A D | NormalizerBase.java | 1058 } else if(!UTF16.isSurrogate(chars[0])) { 1060 } else if(UTF16.isLeadSurrogate(chars[0]) || (src.getIndex()==0)) { 1064 } else if(UTF16.isLeadSurrogate(chars[1]=(char)src.previous())) { 1201 if(UTF16.isTrailSurrogate((char)c)) { 1204 if(UTF16.isLeadSurrogate((char)c2)) { 1293 if(UTF16.isLeadSurrogate((char)chars[0])) { 1295 UTF16.isTrailSurrogate((char)(chars[1]=src.current()))) { 1363 if(UTF16.isLeadSurrogate((char)chars[0])&& 1365 if(UTF16.isTrailSurrogate((char)(chars[1]=src.next()))) { 1429 if(UTF16 [all...] |
H A D | UnicodeSet.java | 396 for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) { 397 _appendToPat(buf, UTF16.charAt(s, i), escapeUnprintable); 434 UTF16.append(buf, c); 448 int c = UTF16.charAt(pat, i); 449 i += UTF16.getCharCount(c); 461 UTF16.append(result, c); 682 int cp = UTF16.charAt(s, 0); 1213 UTF16.append(buf, c); 1673 int ch = UTF16.charAt(source, i); 1674 i += UTF16 [all...] |
H A D | NormalizerImpl.java | 502 UTF16.isTrailSurrogate(args.c2=args.source[args.next])){ 542 } else if(!UTF16.isSurrogate(args.c)) { 544 } else if(UTF16.isLeadSurrogate(args.c)) { 548 UTF16.isLeadSurrogate(args.c2=args.src[args.current-1])) { 846 if(srcStart!=srcLimit&& UTF16.isTrailSurrogate(c2=src[srcStart])) { 889 if(UTF16.isTrailSurrogate(src[prevStarter])) { 1041 UTF16.isTrailSurrogate(c2=src[srcIndex])) { 1176 if(args.start!=limit && UTF16.isTrailSurrogate(args.c2= 1597 !UTF16.isTrailSurrogate(c2=(src[start+1]))){ 1827 if(UTF16 [all...] |
H A D | CharTrie.java | 195 if(0 <= ch && ch < UTF16.LEAD_SURROGATE_MIN_VALUE) {
|
H A D | UTF16.java | 40 * <p>Standalone utility class providing UTF16 character conversions and 60 * for (int i = 0; i < s.length(); i+=UTF16.getCharCount(ch)) { 61 * ch = UTF16.charAt(s,i); 73 * for (int i = s.length() -1; i > 0; i-=UTF16.getCharCount(ch)) { 74 * ch = UTF16.charAt(s,i); 119 public final class UTF16 class 170 * <code>UTF16.getCharCount()</code>, as well as random access. If a 227 * <code>UTF16.getCharCount()</code>, as well as random access. If a 378 * or two char string containing the UTF-32 value in UTF16 format. If a 383 * @return string value of char32 in UTF16 forma [all...] |
/openjdk7/jdk/test/java/io/charStreams/ |
H A D | UTF16.java | 27 * @run main/timeout=10 UTF16 33 public class UTF16 { class
|
/openjdk7/jdk/src/share/classes/sun/net/idn/ |
H A D | Punycode.java | 43 import sun.text.normalizer.UTF16; 202 if(!UTF16.isSurrogate(c)) { 204 } else if(UTF16.isLeadSurrogate(c) && (j+1)<srcLength && UTF16.isTrailSurrogate(c2=src.charAt(j+1))) { 452 cpLength=UTF16.getCharCount(n); 475 codeUnitIndex=UTF16.moveCodePointOffset(dest, 0, destLength, codeUnitIndex, i-codeUnitIndex); 494 dest[codeUnitIndex]=UTF16.getLeadSurrogate(n); 495 dest[codeUnitIndex+1]=UTF16.getTrailSurrogate(n);
|
H A D | StringPrep.java | 57 import sun.text.normalizer.UTF16; 334 UTF16.append(dest,ch);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/ |
H A D | CompactParseable.java | 98 private static final String UTF16 = EncodingMap.getJavaName("UTF-16"); field in class:CompactParseable 132 encoding = UTF16;
|
/openjdk7/jdk/src/share/classes/sun/text/bidi/ |
H A D | BidiBase.java | 66 import sun.text.normalizer.UTF16; 1237 uchar = UTF16.charAt(text, 0, originalLength, i);
|
/openjdk7/jdk/make/java/text/base/ |
H A D | FILES_java.gmk | 100 sun/text/normalizer/UTF16.java \
|