/openjdk7/jdk/test/java/nio/charset/coders/ |
H A D | IOCoders.java | 35 static Charset ascii = Charset.forName("US-ASCII"); field in class:IOCoders 42 ascii.newDecoder() 55 ascii.newDecoder() 71 ascii.newEncoder() 76 if (!ascii.decode(ByteBuffer.wrap(bos.toByteArray())) 85 ascii.newEncoder()
|
/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | StringContent.java | 53 private static Charset ascii = Charset.forName("US-ASCII"); field in class:StringContent 84 bb = ascii.encode(CharBuffer.wrap(content));
|
H A D | Request.java | 112 private static Charset ascii = Charset.forName("US-ASCII"); field in class:Request 142 CharBuffer cb = ascii.decode(bb);
|
H A D | Reply.java | 85 private static Charset ascii = Charset.forName("US-ASCII"); field in class:Reply 107 return ascii.encode(cb);
|
/openjdk7/jdk/test/sun/net/idn/ |
H A D | TestData.java | 275 public String ascii; field in class:TestData.ErrorCase 283 ascii = asciiIn;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | DebuggerUtilities.java | 78 public int charToNibble(char ascii) throws NumberFormatException { argument 79 if (ascii >= '0' && ascii <= '9') { 80 return ascii - '0'; 81 } else if (ascii >= 'A' && ascii <= 'F') { 82 return 10 + ascii - 'A'; 83 } else if (ascii >= 'a' && ascii <= 'f') { 84 return 10 + ascii [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/dummy/ |
H A D | DummyDebugger.java | 158 private int charToNibble(char ascii) throws NumberFormatException { argument 159 if (ascii >= '0' && ascii <= '9') { 160 return ascii - '0'; 161 } else if (ascii >= 'A' && ascii <= 'F') { 162 return 10 + ascii - 'A'; 163 } else if (ascii >= 'a' && ascii <= 'f') { 164 return 10 + ascii [all...] |
/openjdk7/jdk/test/java/util/jar/ |
H A D | TestExtra.java | 48 final static Charset ascii = Charset.forName("ASCII"); field in class:TestExtra 52 ascii.encode("hello, world").array(), 53 ascii.encode("foo bar").array()
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | String.java | 290 * @param ascii 313 public String(byte ascii[], int hibyte, int offset, int count) { argument 314 checkBounds(ascii, offset, count); 319 value[i] = (char)(ascii[i + offset] & 0xff); 324 value[i] = (char)(hibyte | (ascii[i + offset] & 0xff)); 347 * @param ascii 361 public String(byte ascii[], int hibyte) { argument 362 this(ascii, hibyte, 0, ascii.length); 2269 the second is not the ascii digi [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/internet/ |
H A D | MimeUtility.java | 196 encoding = "7bit"; // all ascii 199 encoding = "quoted-printable"; // mostly ascii 261 encoding = "7bit"; // all ascii 264 encoding = "quoted-printable"; // mostly ascii 278 if (aos.getAscii() == ALL_ASCII) // all ascii 280 else // found atleast one non-ascii character, use b64 622 int ascii = checkAscii(string); 623 if (ascii == ALL_ASCII) 636 if (ascii != MOSTLY_NONASCII) 1227 mime2java.put("us-ascii", "IS 1434 private int ascii = 0, non_ascii = 0; field in class:AsciiOutputStream [all...] |
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | png.c | 1165 png_ascii_from_fp(png_structp png_ptr, png_charp ascii, png_size_t size, argument 1171 * the space in ascii[] consumed are indicated below. 1186 *ascii++ = 45; /* '-' PLUS 1 TOTAL 1 */ 1289 int ch = *--ascii; 1296 ch = *--ascii, ++size; 1320 int ch = *--ascii; 1359 if (exp_b10 == 0) *ascii++ = 46, --size; 1363 *ascii++ = 48, --czero; 1368 if (exp_b10 == 0) *ascii++ = 46, --size; /* counted 1372 *ascii 1467 png_ascii_from_fixed(png_structp png_ptr, png_charp ascii, png_size_t size, png_fixed_point fp) argument [all...] |