/libcore/luni/src/main/java/libcore/io/ |
D | Streams.java | 39 public static int readSingleByte(InputStream in) throws IOException { in readSingleByte() 59 public static void readFully(InputStream in, byte[] dst) throws IOException { in readFully() 69 …public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOExcep… in readFully() 93 public static byte[] readFully(InputStream in) throws IOException { in readFully() 104 public static byte[] readFullyNoClose(InputStream in) throws IOException { in readFullyNoClose() 131 public static void skipAll(InputStream in) throws IOException { in skipAll() 148 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading() 178 public static int copy(InputStream in, OutputStream out) throws IOException { in copy() 196 public static String readAsciiLine(InputStream in) throws IOException { in readAsciiLine()
|
D | Base64.java | 35 public static byte[] decode(byte[] in) { in decode() 39 public static byte[] decode(byte[] in, int len) { in decode() 135 public static String encode(byte[] in) { in encode()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | DeflaterInputStreamTest.java | 32 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadByteByByte() local 53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); in inflate() local 66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadWithBuffer() local 89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); in testReadExceptions() local
|
D | GZIPInputStreamTest.java | 49 GZIPInputStream in = new GZIPInputStream(new ByteArrayInputStream(gzipped)); in testSkip() local 63 InputStream in = new GZIPInputStream(new ByteArrayInputStream(bytes)); in gunzip() local
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherInputStreamTest.java | 44 InputStream in = new CipherInputStream( in testEncrypt() local 53 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); in testDecrypt() local 61 InputStream in = new CipherInputStream(new ByteArrayInputStream(cipherText), cipher); in testSkip() local 65 private byte[] readAll(InputStream in) throws IOException { in readAll()
|
/libcore/luni/src/main/java/java/io/ |
D | InputStreamReader.java | 41 private InputStream in; field in InputStreamReader 58 public InputStreamReader(InputStream in) { in InputStreamReader() 77 public InputStreamReader(InputStream in, final String enc) in InputStreamReader() 104 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader() 121 public InputStreamReader(InputStream in, Charset charset) { in InputStreamReader()
|
D | FilterInputStream.java | 35 protected volatile InputStream in; field in FilterInputStream 47 protected FilterInputStream(InputStream in) { in FilterInputStream()
|
D | FilterReader.java | 35 protected Reader in; field in FilterReader 43 protected FilterReader(Reader in) { in FilterReader()
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
D | HostnameVerifierTest.java | 52 InputStream in; in testVerify() local 148 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testSubjectAlt() local 164 InputStream in = new ByteArrayInputStream(X509_MULTIPLE_SUBJECT_ALT); in testVerifyIpAddress() local 187 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsCannotMatchIpAddresses() local 209 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testWildcardsMustHaveTwoDots() local 242 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltName() local 279 InputStream in = new ByteArrayInputStream(cert.getBytes("UTF-8")); in testSubjectAltNameWithWildcard() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FilterInputStreamNullSourceTest.java | 49 InputStream in = new CipherInputStream(null, new NullCipher()); in testCipherInputStream() local 105 private void assertReadsFailWithIoException(InputStream in) throws IOException { in assertReadsFailWithIoException() 121 private void assertReadsFailWithNullPointerException(InputStream in) throws IOException { in assertReadsFailWithNullPointerException()
|
D | OldAndroidPipedStreamTest.java | 42 final PipedInputStream in = new PipedInputStream(); in testA() local 109 final PipedInputStream in = new PipedInputStream(); in testB() local 194 final PipedInputStream in = new PipedInputStream(); in testC() local
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | SSLStreamedInput.java | 29 private InputStream in; field in SSLStreamedInput 31 public SSLStreamedInput(InputStream in) { in SSLStreamedInput()
|
D | SSLBufferedInput.java | 33 private ByteBuffer in; field in SSLBufferedInput 45 protected void setSourceBuffer(ByteBuffer in) { in setSourceBuffer()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | DocumentBuilder.java | 106 InputSource in = new InputSource(is); in parse() local 130 InputSource in = new InputSource(is); in parse() local 154 InputSource in = new InputSource(uri); in parse() local 182 InputSource in = new InputSource(escapedURI); in parse() local
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | ASN1Enumerated.java | 63 public Object decode(BerInputStream in) throws IOException { in decode() 77 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1OctetString.java | 61 @Override public Object decode(BerInputStream in) throws IOException { in decode() 75 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1Boolean.java | 62 public Object decode(BerInputStream in) throws IOException { in decode() 77 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1Type.java | 90 public final Object decode(InputStream in) throws IOException { in decode() 100 public final void verify(InputStream in) throws IOException { in verify() 116 public abstract Object decode(BerInputStream in) throws IOException; in decode() 134 protected Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1BitString.java | 63 @Override public Object decode(BerInputStream in) throws IOException { in decode() 78 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject() 112 @Override public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1Any.java | 72 public Object decode(BerInputStream in) throws IOException { in decode() 89 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
D | ASN1Integer.java | 62 public Object decode(BerInputStream in) throws IOException { in decode() 76 public Object getDecodedObject(BerInputStream in) throws IOException { in getDecodedObject()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); in getLocalFile() local 62 InputStream in = new URL(url).openStream(); in getExternalLocalFile() local 80 InputStream in = new URL(url).openStream(); in getStream() local
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
D | X509CertPathImpl.java | 142 public static X509CertPathImpl getInstance(InputStream in) throws CertificateException { in getInstance() 157 public static X509CertPathImpl getInstance(InputStream in, String encoding) in getInstance() 196 public static X509CertPathImpl getInstance(byte[] in) throws CertificateException { in getInstance() 211 public static X509CertPathImpl getInstance(byte[] in, String encoding) in getInstance()
|
/libcore/luni/src/main/java/java/util/zip/ |
D | DeflaterInputStream.java | 48 public DeflaterInputStream(InputStream in) { in DeflaterInputStream() 60 public DeflaterInputStream(InputStream in, Deflater deflater) { in DeflaterInputStream() 73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { in DeflaterInputStream()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 66 public static byte[] readFully(InputStream in) throws IOException { in readFully() 128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); in test_getResourceAsStream() local 184 InputStream in = cl.getResourceAsStream("test2/Resource2.txt"); in test_diff_getResourceAsStream() local
|