Searched refs:outStream (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/sun/misc/ |
D | BASE64Encoder.java | 82 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 …]
|
D | CharacterEncoder.java | 141 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 …]
|
D | BASE64Decoder.java | 105 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) in decodeAtom() argument 148 outStream.write( (byte)(((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom() 151 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom() 152 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); in decodeAtom() 155 outStream.write( (byte) (((a << 2) & 0xfc) | ((b >>> 4) & 3)) ); in decodeAtom() 156 outStream.write( (byte) (((b << 4) & 0xf0) | ((c >>> 2) & 0xf)) ); in decodeAtom() 157 outStream.write( (byte) (((c << 6) & 0xc0) | (d & 0x3f)) ); in decodeAtom()
|
D | CharacterDecoder.java | 189 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/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidZipFileTest.java | 42 FileOutputStream outStream = new FileOutputStream(file); in testZipFile() local 43 createCompressedZip(outStream); in testZipFile()
|
/libcore/ojluni/src/main/java/java/io/ |
D | Console.java | 537 private Console(InputStream inStream, OutputStream outStream) { in Console() argument 549 outStream, in Console()
|