Home
last modified time | relevance | path

Searched refs:outStream (Results 1 – 11 of 11) 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 …]
DBASE64Decoder.java106 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) in decodeAtom() argument
149 outStream.write( (byte)(((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom()
152 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom()
153 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); in decodeAtom()
156 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom()
157 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); in decodeAtom()
158 outStream.write( (byte) (((c << 6) & 0xc0) | (d & 0x3f)) ); in decodeAtom()
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/
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
DBASE64Encoder.java44 protected void encodeAtom(java.io.OutputStream outStream, byte[] data, int offset, int len) in encodeAtom() argument
DBASE64Decoder.java45 java.io.PushbackInputStream inStream, java.io.OutputStream outStream, int rem) in decodeAtom() argument
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipFileTest.java42 FileOutputStream outStream = new FileOutputStream(file); in testZipFile() local
43 createCompressedZip(outStream); in testZipFile()
/libcore/ojluni/src/main/java/java/io/
DConsole.java538 private Console(InputStream inStream, OutputStream outStream) { in Console() argument
551 outStream, in Console()
/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.java1248 try (FileOutputStream outStream = new FileOutputStream(out)) { in checkSendfile() argument
1249 FileDescriptor outFd = outStream.getFD(); in checkSendfile()