Searched refs:ASCII (Results 1 - 8 of 8) sorted by relevance
/libcore/support/src/test/java/tests/http/ |
H A D | MockResponse.java | 24 import static tests.http.MockWebServer.ASCII; 106 return setBody(body.getBytes(ASCII)); 120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); 121 bytesOut.write("\r\n".getBytes(ASCII)); 123 bytesOut.write("\r\n".getBytes(ASCII)); 126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf 132 return setChunkedBody(body.getBytes(ASCII), maxChunkSize);
|
H A D | MockWebServer.java | 63 static final String ASCII = "US-ASCII"; field in class:MockWebServer 422 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 424 out.write((header + "\r\n").getBytes(ASCII)); 426 out.write(("\r\n").getBytes(ASCII));
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | CharsetUtf8Benchmark.java | 24 * Decode the same size of ASCII, BMP, Supplementary character using fast-path UTF-8 decoder. 30 private static final byte[] ASCII = makeUnicodeRange(0, 0x7f, NO_OF_BYTES / 0x80); field in class:CharsetUtf8Benchmark 55 new String(ASCII, StandardCharsets.UTF_8);
|
H A D | CharacterBenchmark.java | 46 ASCII(128), enum constant in enum:CharacterBenchmark.CharacterSet
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 107 static final int ASCII = 1; field in class:FtpURLConnection 356 type = ASCII; 457 if (type == ASCII) { 573 if (type == ASCII) { 622 type = ASCII; 650 value = (type == ASCII ? "a" : type == DIR ? "d" : "i");
|
/libcore/ojluni/src/main/resources/sun/nio/cs/ |
H A D | standard-charsets | 42 charset US-ASCII US_ASCII 48 alias ASCII
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
H A D | FtpClient.java | 81 ASCII, BINARY, EBCDIC enum constant in enum:FtpClient.TransferType 683 * {@code setType(TransferType.ASCII)} 691 setType(TransferType.ASCII);
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 153 * Test the named character encoding to verify that it converts ASCII 154 * characters correctly. We have to use an ASCII based encoding, or else 156 * However, we cannot just use ASCII or ISO8859_1 universally, because in 157 * Asian locales, non-ASCII characters may be embedded in otherwise 158 * ASCII based protocols (eg. HTTP). The specifications (RFC2616, 2398) 167 * where it is possible to send non-ASCII characters in their original 798 if (type == TransferType.ASCII) { 805 if (type == TransferType.ASCII) { 1494 * TYPE: ASCII, FORM: Nonprint; STRUcture: File; transfer MODE: Stream 1669 if (type == TransferType.ASCII) { [all...] |
Completed in 281 milliseconds