/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | CharArrayIterator.java | 32 private char[] chars; field in class:CharArrayIterator 36 CharArrayIterator(char[] chars) { argument 38 reset(chars, 0); 41 CharArrayIterator(char[] chars, int begin) { argument 43 reset(chars, begin); 66 if (chars.length > 0) { 67 pos = chars.length-1; 83 if (pos >= 0 && pos < chars.length) { 84 return chars[pos]; 101 if (pos < chars 183 reset(char[] chars) argument 187 reset(char[] chars, int begin) argument [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/ |
H A D | StringUtils.java | 57 char chars[] = name.toCharArray(); 58 chars[0] = Character.toLowerCase(chars[0]); 59 return new String(chars); 75 char chars[] = name.toCharArray(); 76 chars[0] = Character.toUpperCase(chars[0]); 77 return new String(chars);
|
/openjdk7/jdk/test/java/net/URLEncoder/ |
H A D | URLEncodeDecode.java | 37 static char chars[] = {'H', 'e', 'l', 'l', 'o', field in class:URLEncodeDecode 44 static String str = new String(chars);
|
/openjdk7/jdk/src/share/classes/sun/text/ |
H A D | ComposedCharIter.java | 41 private static int chars[]; field in class:ComposedCharIter 47 chars = new int[maxNum]; 49 decompNum = NormalizerImpl.getDecompose(chars, decomps); 70 return chars[++curChar];
|
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/ |
H A D | CharSet.java | 60 private int[] chars; field in class:CharSet 352 chars = new int[0]; 360 chars = new int[2]; 361 chars[0] = c; 362 chars[1] = c; 371 chars = new int[2]; 373 chars[0] = lo; 374 chars[1] = hi; 377 chars[0] = hi; 378 chars[ 387 CharSet(int[] chars) argument 809 int[] chars; field in class:CharSet.Enumeration [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CharToGlyphMapper.java | 65 char[] chars = new char[1]; 67 chars[0] = unicode; 68 charsToGlyphs(1, chars, glyphs); 73 int[] chars = new int[1]; 75 chars[0] = unicode; 76 charsToGlyphs(1, chars, glyphs);
|
H A D | StandardTextSource.java | 37 char[] chars; field in class:StandardTextSource 51 * Chars is an array containing clen chars in the context, in 62 public StandardTextSource(char[] chars, argument 72 if (chars == null) { 73 throw new IllegalArgumentException("bad chars: null"); 84 if (cstart + clen > chars.length) { 85 throw new IllegalArgumentException("bad clen: " + clen + " cstart: " + cstart + " for array len: " + chars.length); 100 this.chars = chars; 113 LineMetrics metrics = font.getLineMetrics(chars, cstar 119 StandardTextSource(char[] chars, int start, int len, int level, int flags, Font font, FontRenderContext frc, CoreMetrics cm) argument 131 StandardTextSource(char[] chars, int level, int flags, Font font, FontRenderContext frc) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/ |
H A D | WriterChain.java | 36 * write(char[] chars) 37 * write(char[] chars, int start, int count) 38 * write(String chars) 39 * write(String chars, int start, int count) 58 public void write(char[] chars) throws IOException; argument 60 public void write(char[] chars, int start, int count) throws IOException; argument 62 public void write(String chars) throws IOException; argument 64 public void write(String chars, int start, int count) throws IOException; argument
|
/openjdk7/jdk/src/share/classes/javax/naming/ldap/ |
H A D | Rfc2253Parser.java | 39 private final char[] chars; // characters in LDAP name being parsed field in class:Rfc2253Parser 40 private final int len; // length of "chars" 41 private int cur = 0; // index of first unconsumed char in "chars" 49 chars = name.toCharArray(); 72 if (chars[cur] == ',' || chars[cur] == ';') { 110 if (cur >= len || chars[cur] != '=') { 119 if (cur >= len || chars[cur] != '+') { 139 char c = chars[cur]; 150 while ((cur > beg) && (chars[cu [all...] |
H A D | Rdn.java | 535 char[] chars = val.toCharArray(); 540 for (lead = 0; lead < chars.length; lead++) { 541 if (!isWhitespace(chars[lead])) { 546 for (trail = chars.length - 1; trail >= 0; trail--) { 547 if (!isWhitespace(chars[trail])) { 552 for (int i = 0; i < chars.length; i++) { 553 char c = chars[i]; 604 char[] chars = val.toCharArray(); 606 int end = chars.length; 609 while ((beg < end) && isWhitespace(chars[be 688 decodeHexPairs(char[] chars, int beg, int end) argument 714 getUtf8Octets(char[] chars, int beg, int end) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/ |
H A D | DoubleDV.java | 197 char[] chars = new char[len+3]; 198 canonical.getChars(0, len, chars, 0); 200 int edp = chars[0] == '-' ? 2 : 1; 207 chars[i] = chars[i-1]; 209 chars[edp] = '.'; 211 while (chars[len-1] == '0') 214 if (chars[len-1] == '.') 217 chars[len++] = 'E'; 222 chars[le [all...] |
H A D | FloatDV.java | 177 char[] chars = new char[len+3]; 178 canonical.getChars(0, len, chars, 0); 180 int edp = chars[0] == '-' ? 2 : 1; 187 chars[i] = chars[i-1]; 189 chars[edp] = '.'; 191 while (chars[len-1] == '0') 194 if (chars[len-1] == '.') 197 chars[len++] = 'E'; 202 chars[le [all...] |
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | MacOSXNativeDispatcher.c | 47 char *chars = (char*)(*env)->GetPrimitiveArrayCritical(env, path, 0); local 49 CFStringAppendCharacters(csref, (const UniChar*)chars, len); 50 (*env)->ReleasePrimitiveArrayCritical(env, path, chars, 0); 60 chars = malloc(ulen); 61 if (chars == NULL) { 66 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) { 68 (*env)->SetCharArrayRegion(env, result, 0, len, (jchar*)chars); 70 free(chars);
|
/openjdk7/jdk/test/sun/misc/ |
H A D | Hashing.java | 93 int bytes, chars, ints; 98 chars = sun.misc.Hashing.murmur3_32(ONE_CHAR); 99 if (bytes != chars) { 100 throw new RuntimeException(String.format("Hashes did not match. b:%08x != c:%08x", bytes, chars)); 104 chars = sun.misc.Hashing.murmur3_32(TWO_CHAR); 106 if ((bytes != chars) || (bytes != ints)) { 107 throw new RuntimeException(String.format("Hashes did not match. b:%08x != c:%08x != i:%08x", bytes, chars, ints)); 110 chars = sun.misc.Hashing.murmur3_32(THREE_CHAR); 111 if (bytes != chars) { 112 throw new RuntimeException(String.format("Hashes did not match. b:%08x != c:%08x", bytes, chars)); [all...] |
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestISCII91.java | 60 CharBuffer chars = CharBuffer.allocate(300); 62 for (int c = 0; chars.remaining() > 0 && c < Character.MAX_VALUE; ++c) { 64 chars.put((char) c); 67 chars.limit(chars.position()); 68 chars.rewind(); 69 return chars.toString();
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | LdapName.java | 390 private final char[] chars; // characters in LDAP name being parsed field in class:LdapName.DnParser 391 private final int len; // length of "chars" 392 private int cur = 0; // index of first unconsumed char in "chars" 402 chars = name.toCharArray(); 419 if (chars[cur] == ',' || chars[cur] == ';') { 451 if (cur >= len || chars[cur] != '=') { 460 if (cur >= len || chars[cur] != '+') { 479 char c = chars[cur]; 490 while ((cur > beg) && (chars[cu 933 decodeHexPairs(char[] chars, int beg, int end) argument 959 getUtf8Octets(char[] chars, int beg, int end) argument [all...] |
/openjdk7/jdk/src/share/classes/java/text/ |
H A D | PatternEntry.java | 60 * Gets the current chars, quoted 63 appendQuoted(chars,toAddTo); 74 boolean result = chars.equals(other.chars); 79 return chars.hashCode(); 109 return chars; 143 appendQuoted(chars,toAddTo); 150 static void appendQuoted(String chars, StringBuffer toAddTo) { argument 152 char ch = chars.charAt(0); 179 toAddTo.append(chars); 188 PatternEntry(int strength, StringBuffer chars, StringBuffer extension) argument 304 String chars = ""; field in class:PatternEntry [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | GXLayoutEngine.cpp | 57 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 68 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 80 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument 87 if (chars == NULL || offset < 0 || count < 0) {
|
H A D | GXLayoutEngine2.cpp | 54 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 60 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 65 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); 76 void GXLayoutEngine2::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument 83 if (chars == NULL || offset < 0 || count < 0) {
|
H A D | ThaiLayoutEngine.cpp | 84 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 90 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 115 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage); 125 void ThaiLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, argument 132 if (chars == NULL || offset < 0 || count < 0) {
|
H A D | KhmerReordering.cpp | 361 le_int32 KhmerReordering::findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 prev, le_int32 charCount) argument 367 KhmerClassTable::CharClass charClass = (classTable->getCharClass(chars[cursor]) & KhmerClassTable::CF_CLASS_MASK); 384 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode*/, argument 397 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); 406 charClass = classTable->getCharClass(chars[i]); 417 output.writeChar(chars[i], i, tagPref); 426 ( (classTable->getCharClass(chars[i + 1]) & KhmerClassTable::CF_CLASS_MASK) == KhmerClassTable::CC_CONSONANT2) ) 442 if (classTable->getCharClass(chars[prev]) & KhmerClassTable::CF_DOTTED_CIRCLE) { 448 charClass = classTable->getCharClass(chars[i]); 463 output.writeChar(chars[ [all...] |
H A D | ArabicLayoutEngine.cpp | 94 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, argument 102 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 122 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); 127 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); 132 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, argument 139 if (chars == NULL || offset < 0 || count < 0) { 145 OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); 153 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); 201 void UnicodeArabicOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool /*mirror*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument 207 if (chars 226 adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/text/ |
H A D | TextConstructionTests.java | 105 chars1 = new char[chars.length + 2]; 106 System.arraycopy(chars, 0, chars1, 1, chars.length); 107 ci = new ArrayCI(chars1, 1, chars.length); 110 flags = Bidi.requiresBidi(chars, 0, chars.length) 145 final char[] chars = tcctx.chars; 149 gv = font.createGlyphVector(frc, chars); 196 final char[] chars 356 char[] chars; field in class:TextConstructionTests.ArrayCI 361 ArrayCI(char[] chars, int off, int len) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | OverviewPanel.java | 85 char[] chars = text.toCharArray(); 86 int n = chars.length; 88 if (chars[i] == ' ' 89 && ((i < n-1 && chars[i+1] == ' ') 90 || ((i == 0 || chars[i-1] != ' ') 91 && (i == n-1 || chars[i+1] != ' ')))) { 94 buf.append(chars[i]);
|
/openjdk7/jdk/src/solaris/native/java/io/ |
H A D | io_util_md.c | 49 char* chars = malloc(ulen); local 50 if (chars == NULL) { 54 if (CFStringGetCString(csref, chars, ulen, kCFStringEncodingUTF16)) { 55 rv = (*env)->NewString(env, (jchar*)chars, clen); 57 free(chars);
|