Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DBASE64Encoder.java82 protected void encodeAtom(OutputStream outStream, byte data[], int offset, int len) in encodeAtom() argument
90 outStream.write(pem_array[(a >>> 2) & 0x3F]); in encodeAtom()
91 outStream.write(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]); in encodeAtom()
92 outStream.write('='); in encodeAtom()
93 outStream.write('='); in encodeAtom()
98 outStream.write(pem_array[(a >>> 2) & 0x3F]); in encodeAtom()
99 outStream.write(pem_array[((a << 4) & 0x30) + ((b >>> 4) & 0xf)]); in encodeAtom()
100 outStream.write(pem_array[((b << 2) & 0x3c) + ((c >>> 6) & 0x3)]); in encodeAtom()
101 outStream.write('='); in encodeAtom()
106 outStream.write(pem_array[(a >>> 2) & 0x3F]); in encodeAtom()
[all …]
DCharacterEncoder.java141 public void encode(InputStream inStream, OutputStream outStream) in encode() argument
147 encodeBufferPrefix(outStream); in encode()
154 encodeLinePrefix(outStream, numBytes); in encode()
158 encodeAtom(outStream, tmpbuffer, j, bytesPerAtom()); in encode()
160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j); in encode()
166 encodeLineSuffix(outStream); in encode()
169 encodeBufferSuffix(outStream); in encode()
187 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in encode() local
191 encode(inStream, outStream); in encode()
193 retVal = outStream.toString("8859_1"); in encode()
[all …]
DCharacterDecoder.java189 ByteArrayOutputStream outStream;
193 outStream = new ByteArrayOutputStream();
194 decodeBuffer(inStream, outStream); in decodeBuffer() argument
195 return (outStream.toByteArray());
202 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
203 decodeBuffer(in, outStream); in decodeBuffer() argument
204 return (outStream.toByteArray());
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DBASE64Encoder.java44 protected void encodeAtom(java.io.OutputStream outStream, byte[] data, int offset, int len) in encodeAtom() argument
DCharacterEncoder.java67 public void encode(java.io.InputStream inStream, java.io.OutputStream outStream) in encode() argument
94 public void encodeBuffer(java.io.InputStream inStream, java.io.OutputStream outStream) in encodeBuffer() argument
DBASE64Decoder.java45 java.io.PushbackInputStream inStream, java.io.OutputStream outStream, int rem) in decodeAtom() argument
/libcore/ojluni/annotations/hiddenapi/java/io/
DConsole.java38 private Console(java.io.InputStream inStream, java.io.OutputStream outStream) { in Console() argument
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1800 try (FileOutputStream outStream = new FileOutputStream(out)) {
1801 FileDescriptor outFd = outStream.getFD();