/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertificateFactorySpi.java | 28 import java.io.InputStream; 104 public abstract Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() 124 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() 149 public CertPath engineGenerateCertPath(InputStream inStream, in engineGenerateCertPath() 245 engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() 277 public abstract CRL engineGenerateCRL(InputStream inStream) in engineGenerateCRL() 314 (InputStream inStream) throws CRLException; in engineGenerateCRLs()
|
D | CertificateFactory.java | 28 import java.io.InputStream; 359 public final Certificate generateCertificate(InputStream inStream) in generateCertificate() 398 public final CertPath generateCertPath(InputStream inStream) in generateCertPath() 421 public final CertPath generateCertPath(InputStream inStream, in generateCertPath() 484 (InputStream inStream) throws CertificateException { in generateCertificates() 517 public final CRL generateCRL(InputStream inStream) in generateCRL() 556 public final Collection<? extends CRL> generateCRLs(InputStream inStream) in generateCRLs()
|
/libcore/ojluni/src/main/java/java/io/ |
D | SequenceInputStream.java | 28 import java.io.InputStream; 46 class SequenceInputStream extends InputStream { 48 InputStream in; 66 public SequenceInputStream(Enumeration<? extends InputStream> e) { in SequenceInputStream() 87 public SequenceInputStream(InputStream s1, InputStream s2) { in SequenceInputStream() 110 in = (InputStream) e.nextElement(); in nextStream()
|
D | InputStreamReader.java | 71 public InputStreamReader(InputStream in) { in InputStreamReader() 94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader() 112 public InputStreamReader(InputStream in, Charset cs) { in InputStreamReader() 128 public InputStreamReader(InputStream in, CharsetDecoder dec) { in InputStreamReader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | InflaterInputStreamTest.java | 23 import java.io.InputStream; 40 MyInflaterInputStream(InputStream in) { in MyInflaterInputStream() 44 MyInflaterInputStream(InputStream in, Inflater infl) { in MyInflaterInputStream() 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { in MyInflaterInputStream() 85 InputStream infile = Support_Resources.getStream("hyts_construOD.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Inflater() 101 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI() 119 InputStream infile = Support_Resources.getStream("hyts_construODI.bin"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_InflaterI_1() 148 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markI() 160 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markSupported() 173 InputStream infile = Support_Resources in test_read() [all …]
|
D | CheckedInputStreamTest.java | 22 import java.io.InputStream; 35 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Checksum() 48 InputStream inEmp = new FileInputStream(f); in test_getChecksum() 57 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_getChecksum() 82 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_skipJ() 98 InputStream checkInput = Support_Resources in test_read() 115 InputStream checkInput = Support_Resources in test_read$byteII()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Streams.java | 22 import java.io.InputStream; 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() 149 public static long skipByReading(InputStream in, long byteCount) throws IOException { in skipByReading() 179 public static int copy(InputStream in, OutputStream out) throws IOException { in copy() 197 public static String readAsciiLine(InputStream in) throws IOException { in readAsciiLine()
|
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
D | StreamSource.java | 23 import java.io.InputStream; 71 public StreamSource(InputStream inputStream) { in StreamSource() 88 public StreamSource(InputStream inputStream, String systemId) { in StreamSource() 153 public void setInputStream(InputStream inputStream) { in setInputStream() 163 public InputStream getInputStream() { in getInputStream() 266 private InputStream inputStream;
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | InputSource.java | 8 import java.io.InputStream; 114 public InputSource (InputStream byteStream) in InputSource() 235 public void setByteStream (InputStream byteStream) in setByteStream() 251 public InputStream getByteStream () in getByteStream() 331 private InputStream byteStream;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 26 import java.io.InputStream; 66 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() 75 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() 83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() 91 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() 99 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() 111 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) in engineGenerateCertPath()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
D | BrokenInputStream.java | 20 import java.io.InputStream; 27 public class BrokenInputStream extends InputStream { 29 private InputStream stream; 33 public BrokenInputStream(InputStream stream, int offset) { in BrokenInputStream()
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | GZIPInputStream.java | 30 import java.io.InputStream; 75 public GZIPInputStream(InputStream in, int size) throws IOException { in GZIPInputStream() 88 public GZIPInputStream(InputStream in) throws IOException { in GZIPInputStream() 158 private int readHeader(InputStream this_in) throws IOException { in readHeader() 210 InputStream in = this.in; in readTrailer() 244 private long readUInt(InputStream in) throws IOException { in readUInt() 252 private int readUShort(InputStream in) throws IOException { in readUShort() 260 private int readUByte(InputStream in) throws IOException { in readUByte() 279 private void skipBytes(InputStream in, int n) throws IOException { in skipBytes()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherInputStreamTest.java | 23 import java.io.InputStream; 71 protected MeasuringInputStream(InputStream in) { in MeasuringInputStream() 100 InputStream cin = new CipherInputStream(in, cipher); in testAvailable() 108 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt_NullInput_Discarded() 121 InputStream in = new CipherInputStream( in testEncrypt() 133 InputStream in = new CipherInputStream( in testEncrypt_RC4() 145 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testDecrypt() 153 InputStream in = new CipherInputStream(new ByteArrayInputStream(rc4CipherText), cipher); in testDecrypt_RC4() 161 InputStream in = new CipherInputStream(new ByteArrayInputStream(aesCipherText), cipher); in testSkip() 165 private byte[] readAll(InputStream in) throws IOException { in readAll() [all …]
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 25 import java.io.InputStream; 37 public static InputStream getStream(String name) { in getStream() 40 InputStream result = Support_Resources.class.getResourceAsStream(path); in getStream() 112 InputStream in = Support_Resources.getStream(resourceName); in copyFile() 127 public static void copyLocalFileto(File dest, InputStream in) throws IOException { in copyLocalFileto() 137 private static int copy(InputStream in, OutputStream out) throws IOException { in copy() 150 InputStream in = new URL(url).openStream(); in getExternalLocalFile() 166 public static InputStream getResourceStream(String name) { in getResourceStream() 167 InputStream is = Support_Resources.class.getResourceAsStream(name); in getResourceStream() 185 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile() [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | PreparedStatement.java | 32 import java.io.InputStream; 317 void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) in setAsciiStream() 349 void setUnicodeStream(int parameterIndex, java.io.InputStream x, in setUnicodeStream() 371 void setBinaryStream(int parameterIndex, java.io.InputStream x, in setBinaryStream() 870 void setBlob(int parameterIndex, InputStream inputStream, long length) in setBlob() 995 void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) in setAsciiStream() 1017 void setBinaryStream(int parameterIndex, java.io.InputStream x, in setBinaryStream() 1068 void setAsciiStream(int parameterIndex, java.io.InputStream x) in setAsciiStream() 1092 void setBinaryStream(int parameterIndex, java.io.InputStream x) in setBinaryStream() 1196 void setBlob(int parameterIndex, InputStream inputStream) in setBlob()
|
D | ResultSet.java | 32 import java.io.InputStream; 447 java.io.InputStream getAsciiStream(int columnIndex) throws SQLException; in getAsciiStream() 482 java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException; in getUnicodeStream() 507 java.io.InputStream getBinaryStream(int columnIndex) in getBinaryStream() 733 java.io.InputStream getAsciiStream(String columnLabel) throws SQLException; in getAsciiStream() 766 java.io.InputStream getUnicodeStream(String columnLabel) throws SQLException; in getUnicodeStream() 791 java.io.InputStream getBinaryStream(String columnLabel) in getBinaryStream() 1783 java.io.InputStream x, in updateAsciiStream() 1806 java.io.InputStream x, in updateBinaryStream() 2172 java.io.InputStream x, in updateAsciiStream() [all …]
|
D | Blob.java | 28 import java.io.InputStream; 111 java.io.InputStream getBinaryStream () throws SQLException; in getBinaryStream() 303 InputStream getBinaryStream(long pos, long length) throws SQLException; in getBinaryStream()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Resource.java | 32 import java.io.InputStream; 65 public abstract InputStream getInputStream() throws IOException; in getInputStream() 72 private InputStream cis; 75 private synchronized InputStream cachedInputStream() throws IOException { in cachedInputStream() 89 InputStream in = cachedInputStream(); in getBytes() 160 InputStream in = cachedInputStream(); in getByteBuffer()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 24 import java.io.InputStream; 31 public byte[] getAllBytesFromStream(InputStream is) throws IOException { in getAllBytesFromStream() 54 InputStream in; in test_getEntryLjava_lang_String_AndroidOnly() 84 InputStream is1 = zf.getInputStream(zf.getEntry("File1.txt")); in test_close() 85 InputStream is2 = zf.getInputStream(zf.getEntry("File2.txt")); in test_close() 127 InputStream is = null; in test_getInputStreamLjava_util_zip_ZipEntry() 148 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); in setUp()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InputStreamTest.java | 21 import java.io.InputStream; 29 InputStream in = new MockInputStream(); in test1() 37 class MockInputStream extends InputStream {
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarInputStreamTest.java | 24 import java.io.InputStream; 35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0])); in test_ConstructorLjava_io_InputStreamZ() 47 public Mock_JarInputStream(InputStream in) throws IOException { in Mock_JarInputStream() 59 InputStream is = Support_Resources.getStream("Broken_entry.jar"); in test_createZipEntryLjava_lang_String() 67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar"); in test_read$ZII()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarInputStreamTest.java | 22 import java.io.InputStream; 57 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream() 75 InputStream is = Support_Resources.getStream("Broken_entry.jar"); in test_closeAfterException() 97 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex() 131 InputStream is = new URL(jarName2).openConnection().getInputStream(); in test_getManifest() 146 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry() 159 InputStream is = new URL(intJarName).openConnection() in test_JarInputStream_Integrate_Jar_getNextEntry() 175 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Class_getNextEntry() 202 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry() 223 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStreamTest.java | 27 import java.io.InputStream; 84 InputStream is = new ByteArrayInputStream(myMessage); in testDigestInputStream01() 85 InputStream dis = new DigestInputStream(is, md); in testDigestInputStream01() 102 InputStream dis = new DigestInputStream(null, null); in testDigestInputStream02() 117 InputStream is = new ByteArrayInputStream(myMessage); in testRead01() 150 InputStream is = new ByteArrayInputStream(myMessage); in testRead02() 185 InputStream is = new ByteArrayInputStream(myMessage); in testRead03() 246 InputStream is = new ByteArrayInputStream(myMessage); in testRead05() 271 InputStream is = new ByteArrayInputStream(myMessage); in testRead06() 296 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint01() [all …]
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 28 import java.io.InputStream; 74 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); in test_generateCertificateLjava_io_InputStream() 94 InputStream is = certUrl.openStream(); in test_generateCertificatesLjava_io_InputStream() 116 InputStream is = certUrl.openStream(); in test_generateCRLLjava_io_InputStream() 137 InputStream is = certUrl.openStream(); in test_generateCRLsLjava_io_InputStream() 207 (InputStream) null); in testGenerateCRLs2() 244 (InputStream) null, "PkiPath"); in testGenerateCertPath1() 270 (InputStream) null); in testGenerateCertPath3() 283 (InputStream) null); in testGenerateCRL()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldAndroidByteArrayInputStreamTest.java | 21 import java.io.InputStream; 44 public static String read(InputStream a) throws IOException { in read() 55 public static String read(InputStream a, int x) throws IOException { in read() 64 public static String skipRead(InputStream a) throws IOException { in skipRead() 76 public static String markRead(InputStream a, int x, int y) throws IOException { in markRead()
|