Home
last modified time | relevance | path

Searched refs:ASCII (Results 1 – 8 of 8) sorted by relevance

/libcore/support/src/test/java/tests/http/
DMockResponse.java24 import static tests.http.MockWebServer.ASCII;
106 return setBody(body.getBytes(ASCII)); in setBody()
120 bytesOut.write(Integer.toHexString(chunkSize).getBytes(ASCII)); in setChunkedBody()
121 bytesOut.write("\r\n".getBytes(ASCII)); in setChunkedBody()
123 bytesOut.write("\r\n".getBytes(ASCII)); in setChunkedBody()
126 bytesOut.write("0\r\n\r\n".getBytes(ASCII)); // last chunk + empty trailer + crlf in setChunkedBody()
132 return setChunkedBody(body.getBytes(ASCII), maxChunkSize); in setChunkedBody()
DMockWebServer.java63 static final String ASCII = "US-ASCII"; field in MockWebServer
422 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); in writeResponse()
424 out.write((header + "\r\n").getBytes(ASCII)); in writeResponse()
426 out.write(("\r\n").getBytes(ASCII)); in writeResponse()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java105 static final int ASCII = 1; field in FtpURLConnection
343 type = ASCII; in decodePath()
441 if (type == ASCII) { in getInputStream()
554 if (type == ASCII) { in getOutputStream()
603 type = ASCII;
631 value = (type == ASCII ? "a" : type == DIR ? "d" : "i");
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClient.java81 ASCII, BINARY, EBCDIC enumConstant
691 setType(TransferType.ASCII); in setAsciiType()
/libcore/ojluni/src/main/resources/sun/nio/cs/
Dstandard-charsets42 charset US-ASCII US_ASCII
48 alias ASCII
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java46 ASCII(128), enumConstant
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java800 if (type == TransferType.ASCII) { in createInputStream()
807 if (type == TransferType.ASCII) { in createOutputStream()
1670 if (type == TransferType.ASCII) { in setType()
/libcore/ojluni/
DNOTICE47 * encoding: US-ASCII