Searched refs:outStream (Results 1 – 11 of 11) 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 | 106 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()
|
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/ojluni/annotations/hiddenapi/sun/misc/ |
D | CharacterEncoder.java | 67 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
|
D | BASE64Encoder.java | 44 protected void encodeAtom(java.io.OutputStream outStream, byte[] data, int offset, int len) in encodeAtom() argument
|
D | BASE64Decoder.java | 45 java.io.PushbackInputStream inStream, java.io.OutputStream outStream, int rem) in decodeAtom() argument
|
/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 | 538 private Console(InputStream inStream, OutputStream outStream) { in Console() argument 551 outStream, in Console()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | Console.java | 38 private Console(java.io.InputStream inStream, java.io.OutputStream outStream) { in Console() argument
|
/libcore/luni/src/test/java/libcore/android/system/ |
D | OsTest.java | 1800 try (FileOutputStream outStream = new FileOutputStream(out)) { 1801 FileDescriptor outFd = outStream.getFD();
|