/external/guava/guava-tests/test/com/google/common/io/ |
D | MultiInputStreamTest.java | 24 import java.io.InputStream; 49 final InputSupplier<InputStream> supplier = newByteSupplier(0, 50); in testOnlyOneOpen() 51 InputSupplier<InputStream> checker = new InputSupplier<InputStream>() { in testOnlyOneOpen() 53 public InputStream getInput() throws IOException { in testOnlyOneOpen() 72 List<InputSupplier<InputStream>> suppliers = Lists.newArrayList(); in joinHelper() 78 InputSupplier<InputStream> joined = ByteStreams.join(suppliers); in joinHelper() 83 InputSupplier<InputStream> supplier = newByteSupplier(0, 10); in testReadSingleByte() 85 InputSupplier<InputStream> joined = ByteStreams.join(supplier, supplier); in testReadSingleByte() 87 InputStream in = joined.getInput(); in testReadSingleByte() 100 Collections.singleton(new InputSupplier<InputStream>() { in testSkip() [all …]
|
D | LimitInputStreamTest.java | 21 import java.io.InputStream; 30 InputStream bin = new ByteArrayInputStream(big); in testLimit() 31 InputStream lin = new LimitInputStream(bin, 2); in testLimit() 61 InputStream bin = new ByteArrayInputStream(big); in testMark() 62 InputStream lin = new LimitInputStream(bin, 2); in testMark() 82 InputStream bin = new ByteArrayInputStream(big); in testSkip() 83 InputStream lin = new LimitInputStream(bin, 2); in testSkip() 100 InputStream bin = new ByteArrayInputStream(big); in testMarkNotSet() 101 InputStream lin = new LimitInputStream(bin, 2); in testMarkNotSet() 112 InputStream lin = new LimitInputStream(new UnmarkableInputStream(), 2); in testMarkNotSupported() [all …]
|
D | ByteStreamsTest.java | 34 import java.io.InputStream; 50 static final InputSupplier<InputStream> BROKEN_READ 51 = new InputSupplier<InputStream>() { 53 public InputStream getInput() { 54 return new InputStream() { 76 static final InputSupplier<InputStream> BROKEN_CLOSE_INPUT = 77 new InputSupplier<InputStream>() { 79 public InputStream getInput() { 102 static final InputSupplier<InputStream> BROKEN_GET_INPUT = 103 new InputSupplier<InputStream>() { [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | ByteStreams.java | 30 import java.io.InputStream; 113 public static long copy(InputSupplier<? extends InputStream> from, 116 InputStream in = from.getInput(); 142 public static long copy(InputSupplier<? extends InputStream> from, 145 InputStream in = from.getInput(); 166 public static long copy(InputStream from, 188 public static long copy(InputStream from, OutputStream to) 234 public static byte[] toByteArray(InputStream in) throws IOException { 247 InputSupplier<? extends InputStream> supplier) throws IOException { 249 InputStream in = supplier.getInput(); [all …]
|
D | FileBackedOutputStream.java | 28 import java.io.InputStream; 45 private final InputSupplier<InputStream> supplier; 97 supplier = new InputSupplier<InputStream>() { in FileBackedOutputStream() 99 public InputStream getInput() throws IOException { in FileBackedOutputStream() 112 supplier = new InputSupplier<InputStream>() { in FileBackedOutputStream() 114 public InputStream getInput() throws IOException { in FileBackedOutputStream() 125 public InputSupplier<InputStream> getSupplier() { in getSupplier() 129 private synchronized InputStream openStream() throws IOException { in openStream()
|
D | MultiInputStream.java | 20 import java.io.InputStream; 30 final class MultiInputStream extends InputStream { 32 private Iterator<? extends InputSupplier<? extends InputStream>> it; 33 private InputStream in; 41 Iterator<? extends InputSupplier<? extends InputStream>> it) in MultiInputStream()
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/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; 48 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_ConstructorLjava_io_InputStreamLjava_util_zip_Checksum() 63 InputStream inEmp = new FileInputStream("empty.txt"); in test_getChecksum() 72 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_getChecksum() 97 InputStream checkInput = Support_Resources.getStream("hyts_checkInput.txt"); in test_skipJ() 113 InputStream checkInput = Support_Resources in test_read() 130 InputStream checkInput = Support_Resources in test_read$byteII()
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/io/ |
D | Streams.java | 5 import java.io.InputStream; 12 public static void drain(InputStream inStr) in drain() 21 public static byte[] readAll(InputStream inStr) in readAll() 29 public static byte[] readAllLimited(InputStream inStr, int limit) in readAllLimited() 37 public static int readFully(InputStream inStr, byte[] buf) in readFully() 43 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully() 59 public static void pipeAll(InputStream inStr, OutputStream outStr) in pipeAll() 70 public static long pipeAllLimited(InputStream inStr, long limit, OutputStream outStr) in pipeAllLimited()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
D | Impl_RowSet.java | 20 import java.io.InputStream; 109 public void setAsciiStream(int parameterIndex, InputStream theInputStream, in setAsciiStream() 117 public void setBinaryStream(int parameterIndex, InputStream theInputStream, in setBinaryStream() 289 public InputStream getAsciiStream(int columnIndex) throws SQLException { in getAsciiStream() 293 public InputStream getAsciiStream(String columnName) throws SQLException { in getAsciiStream() 315 public InputStream getBinaryStream(int columnIndex) throws SQLException { in getBinaryStream() 319 public InputStream getBinaryStream(String columnName) throws SQLException { in getBinaryStream() 527 public InputStream getUnicodeStream(int columnIndex) throws SQLException { in getUnicodeStream() 531 public InputStream getUnicodeStream(String columnName) throws SQLException { in getUnicodeStream() 615 public void updateAsciiStream(int columnIndex, InputStream x, int length) in updateAsciiStream() [all …]
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 25 import java.io.InputStream; 65 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() 73 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() 81 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() 88 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() 96 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() 108 public CertPath engineGenerateCertPath(InputStream inStream, String encoding) in engineGenerateCertPath()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
D | UrlAssetInfo.java | 8 import java.io.InputStream; 20 private InputStream in; 27 InputStream in = conn.getInputStream(); in create() 37 …private UrlAssetInfo(AssetManager assetManager, AssetKey key, URL url, InputStream in) throws IOEx… in UrlAssetInfo() 48 public InputStream openStream() { in openStream() 51 InputStream in2 = in; in openStream()
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | JarInputStreamTest.java | 20 import java.io.InputStream; 60 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream() 77 InputStream is = Support_Resources.getStream("Broken_entry.jar"); in test_closeAfterException() 99 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex() 136 InputStream is = new URL(jarName2).openConnection().getInputStream(); in test_getManifest() 154 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry() 167 InputStream is = new URL(intJarName).openConnection() in test_JarInputStream_Integrate_Jar_getNextEntry() 183 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Class_getNextEntry() 210 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry() 231 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry() [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
D | ANTLRInputStream.java | 39 public ANTLRInputStream(InputStream input) throws IOException { in ANTLRInputStream() 43 public ANTLRInputStream(InputStream input, int size) throws IOException { in ANTLRInputStream() 47 public ANTLRInputStream(InputStream input, String encoding) throws IOException { in ANTLRInputStream() 51 public ANTLRInputStream(InputStream input, int size, String encoding) throws IOException { in ANTLRInputStream() 55 public ANTLRInputStream(InputStream input, in ANTLRInputStream()
|
/external/apache-http/src/org/apache/http/entity/ |
D | BasicHttpEntity.java | 35 import java.io.InputStream; 49 private InputStream content; 78 public InputStream getContent() in getContent() 116 public void setContent(final InputStream instream) { in setContent() 126 InputStream instream = getContent(); in writeTo()
|
D | InputStreamEntity.java | 35 import java.io.InputStream; 51 private final InputStream content; 55 public InputStreamEntity(final InputStream instream, long length) { in InputStreamEntity() 72 public InputStream getContent() throws IOException { in getContent() 80 InputStream instream = this.content; in writeTo()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStreamTest.java | 26 import java.io.InputStream; 91 InputStream is = new ByteArrayInputStream(myMessage); in testDigestInputStream01() 92 InputStream dis = new DigestInputStream(is, md); in testDigestInputStream01() 109 InputStream dis = new DigestInputStream(null, null); in testDigestInputStream02() 124 InputStream is = new ByteArrayInputStream(myMessage); in testRead01() 157 InputStream is = new ByteArrayInputStream(myMessage); in testRead02() 192 InputStream is = new ByteArrayInputStream(myMessage); in testRead03() 252 InputStream is = new ByteArrayInputStream(myMessage); in testRead05() 276 InputStream is = new ByteArrayInputStream(myMessage); in testRead06() 301 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint01() [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | JDKX509CertificateFactory.java | 14 import java.io.InputStream; 44 private InputStream currentStream = null; 48 private InputStream currentCrlStream = null; 93 InputStream in) in readPEMCertificate() 114 InputStream in) in readPEMCRL() 168 InputStream in) in engineGenerateCertificate() 232 InputStream inStream) in engineGenerateCertificates() 251 InputStream inStream) in engineGenerateCRL() 324 InputStream inStream) in engineGenerateCRLs() 344 InputStream inStream) in engineGenerateCertPath() [all …]
|
/external/jmonkeyengine/engine/src/android/com/jme3/asset/plugins/ |
D | AndroidLocator.java | 6 import java.io.InputStream; 18 private InputStream in; 21 …Info(com.jme3.asset.AssetManager assetManager, AssetKey<?> key, String assetPath, InputStream in) { in AndroidAssetInfo() 28 public InputStream openStream() { in openStream() 31 InputStream in2 = in; in openStream() 47 InputStream in = androidManager.open(assetPath); in create()
|
/external/apache-http/src/org/apache/http/conn/ |
D | EofSensorWatcher.java | 33 import java.io.InputStream; 64 boolean eofDetected(InputStream wrapped) in eofDetected() 84 boolean streamClosed(InputStream wrapped) in streamClosed() 107 boolean streamAbort(InputStream wrapped) in streamAbort()
|
D | BasicManagedEntity.java | 34 import java.io.InputStream; 98 public InputStream getContent() throws IOException { in getContent() 154 public boolean eofDetected(InputStream wrapped) in eofDetected() 172 public boolean streamClosed(InputStream wrapped) in streamClosed() 190 public boolean streamAbort(InputStream wrapped) in streamAbort()
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
D | LimitedInputStream.java | 3 import java.io.InputStream; 6 extends InputStream 8 protected final InputStream _in; 12 InputStream in, in LimitedInputStream()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateFactory4Test.java | 22 import java.io.InputStream; 71 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); in test_generateCertificateLjava_io_InputStream() 91 InputStream is = certUrl.openStream(); in test_generateCertificatesLjava_io_InputStream() 113 InputStream is = certUrl.openStream(); in test_generateCRLLjava_io_InputStream() 134 InputStream is = certUrl.openStream(); in test_generateCRLsLjava_io_InputStream() 204 (InputStream) null); in testGenerateCRLs2() 241 (InputStream) null, "PkiPath"); in testGenerateCertPath1() 267 (InputStream) null); in testGenerateCertPath3() 280 (InputStream) null); in testGenerateCRL()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
D | ByteUtils.java | 37 import java.io.InputStream; 58 public static byte[] getByteContent(InputStream inputStream) in getByteContent() 119 public static short readShort(InputStream inputStream) throws IOException { in readShort() 181 public static int readInt(InputStream inputStream) throws IOException { in readInt() 257 public static long readLong(InputStream inputStream) throws IOException { in readLong() 320 public static double readDouble(InputStream inputStream) throws IOException { in readDouble() 376 public static float readFloat(InputStream inputStream) throws IOException { in readFloat() 434 public static boolean readBoolean(InputStream inputStream) throws IOException { in readBoolean() 467 public static byte[] readData(byte[] store, int bytes, InputStream is) throws IOException { in readData()
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | MessageLite.java | 37 import java.io.InputStream; 303 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() 310 Builder mergeFrom(InputStream input, in mergeFrom() 325 boolean mergeDelimitedFrom(InputStream input) in mergeDelimitedFrom() 331 boolean mergeDelimitedFrom(InputStream input, in mergeDelimitedFrom()
|