/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStreamTest.java | 84 InputStream is = new ByteArrayInputStream(myMessage); in testDigestInputStream01() local 117 InputStream is = new ByteArrayInputStream(myMessage); in testRead01() local 150 InputStream is = new ByteArrayInputStream(myMessage); in testRead02() local 185 InputStream is = new ByteArrayInputStream(myMessage); in testRead03() local 246 InputStream is = new ByteArrayInputStream(myMessage); in testRead05() local 271 InputStream is = new ByteArrayInputStream(myMessage); in testRead06() local 296 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint01() local 333 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint02() local 373 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint03() local 417 InputStream is = new ByteArrayInputStream(myMessage); in testReadbyteArrayintint04() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarInputStreamTest.java | 57 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream() local 75 InputStream is = Support_Resources.getStream("Broken_entry.jar"); in test_closeAfterException() local 97 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex() local 131 InputStream is = new URL(jarName2).openConnection().getInputStream(); in test_getManifest() local 146 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry() local 159 InputStream is = new URL(intJarName).openConnection() in test_JarInputStream_Integrate_Jar_getNextEntry() local 175 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Class_getNextEntry() local 202 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry() local 223 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry() local 250 InputStream is = new URL(modJarName).openConnection() in test_JarInputStream_Modified_SF_EntryAttributes_getNextEntry() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTest.java | 405 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local 413 InputSource is = new InputSource(new FileInputStream(file)); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local 427 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local 446 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in testParseInputSourceHandlerBase() local 454 InputSource is = new InputSource(new FileInputStream(file)); in testParseInputSourceHandlerBase() local 468 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in testParseInputSourceHandlerBase() local 498 InputStream is = new FileInputStream(list_wf[i]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local 506 InputStream is = new FileInputStream(list_nwf[i]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local 523 InputStream is = new FileInputStream(list_wf[0]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local 537 InputStream is = new FileInputStream(list_wf[i]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandlerLjava_lang_String() local [all …]
|
D | DocumentBuilderTest.java | 95 public Document parse(InputSource is) throws SAXException, IOException { in parse() 302 InputStream is = getClass().getResourceAsStream("/simple.xml"); in test_parseLjava_io_InputStream() local 363 InputSource is = new InputSource(stream); in testParseInputSource() local 425 InputStream is = getClass().getResourceAsStream("/systemid.xml"); in test_parseLjava_io_InputStreamLjava_lang_String() local
|
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/certpath/ |
D | X509CertPath.java | 41 public X509CertPath(java.io.InputStream is) throws java.security.cert.CertificateException { in X509CertPath() 47 public X509CertPath(java.io.InputStream is, java.lang.String encoding) in X509CertPath() 54 java.io.InputStream is) throws java.security.cert.CertificateException { in parsePKIPATH() 59 java.io.InputStream is) throws java.security.cert.CertificateException { in parsePKCS7() 63 private static byte[] readAllBytes(java.io.InputStream is) throws java.io.IOException { in readAllBytes()
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
D | OldJarInputStreamTest.java | 35 InputStream is = new BufferedInputStream(new ByteArrayInputStream(new byte[0])); in test_ConstructorLjava_io_InputStreamZ() local 59 InputStream is = Support_Resources.getStream("Broken_entry.jar"); in test_createZipEntryLjava_lang_String() local 67 InputStream is = Support_Resources.getStream("Broken_entry_data.jar"); in test_read$ZII() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericSignatureFormatErrorTest.java | 28 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_readResource() local 57 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_signatureFormatError() local 86 private void copy(InputStream is, OutputStream os) { in copy()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | X509CertPath.java | 138 public X509CertPath(InputStream is) throws CertificateException { in X509CertPath() 152 public X509CertPath(InputStream is, String encoding) in X509CertPath() 176 private static List<X509Certificate> parsePKIPATH(InputStream is) in parsePKIPATH() 217 private static List<X509Certificate> parsePKCS7(InputStream is) in parsePKCS7() 258 private static byte[] readAllBytes(InputStream is) throws IOException { in readAllBytes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | DataInputStreamTest.java | 160 DataInputStream is = new DataInputStream(new ByteArrayInputStream( in test_readFully$BII_Exception() local 211 DataInputStream is = new DataInputStream(new ByteArrayInputStream( in test_readFully$BII_NullArray() local 274 DataInputStream is = new DataInputStream(null); in test_readFully$BII_NullStream() local 335 DataInputStream is = new DataInputStream(null); in test_readFully$BII_NullStream_NullArray() local 574 is = new ThrowExceptionOnSingleByteReadInputStream(); in test_readShortUsesMultiByteRead() local 586 is = new ThrowExceptionOnSingleByteReadInputStream(); in test_readCharUsesMultiByteRead() local 598 is = new ThrowExceptionOnSingleByteReadInputStream(); in test_readIntUsesMultiByteRead() local 610 is = new ThrowExceptionOnSingleByteReadInputStream(); in test_readUnsignedShortUsesMultiByteRead() local
|
D | FilterInputStreamTest.java | 32 public MyFilterInputStream(InputStream is) { in MyFilterInputStream() 38 private InputStream is; field in FilterInputStreamTest
|
D | BufferedInputStreamTest.java | 87 private BufferedInputStream is; field in BufferedInputStreamTest 150 MockBufferedInputStream(InputStream is) throws IOException { in MockBufferedInputStream() 155 MockBufferedInputStream(InputStream is, int size) throws IOException { in MockBufferedInputStream()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParser.java | 124 public void parse(InputStream is, HandlerBase hb) in parse() 153 InputStream is, in parse() 180 public void parse(InputStream is, DefaultHandler dh) in parse() 206 InputStream is, in parse() 346 public void parse(InputSource is, HandlerBase hb) in parse() 377 public void parse(InputSource is, DefaultHandler dh) in parse()
|
D | DocumentBuilder.java | 100 public Document parse(InputStream is) in parse() 124 public Document parse(InputStream is, String systemId) in parse() 199 public abstract Document parse(InputSource is) in parse()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 92 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), READ)) { in test_newInputStream() 100 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), WRITE)) { in test_newInputStream_openOption() 105 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), APPEND)) { in test_newInputStream_openOption() 110 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), in test_newInputStream_openOption() 117 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), DELETE_ON_CLOSE, in test_newInputStream_openOption() 125 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), READ); in test_newInputStream_twice() 136 try (InputStream is = provider.newInputStream(null)){ in test_newInputStream_NPE() 140 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath(), in test_newInputStream_NPE() 152 try (InputStream is = provider.newInputStream(filesSetup.getTestPath())) { in test_newOutputStream() 172 try (InputStream is = provider.newInputStream(filesSetup.getDataFilePath())) { in test_newOutputStream_openOption_APPEND() [all …]
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 92 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); in test_generateCertificateLjava_io_InputStream() local 112 InputStream is = certUrl.openStream(); in test_generateCertificatesLjava_io_InputStream() local 134 InputStream is = certUrl.openStream(); in test_generateCRLLjava_io_InputStream() local 155 InputStream is = certUrl.openStream(); in test_generateCRLsLjava_io_InputStream() local
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipFileTest.java | 31 public byte[] getAllBytesFromStream(InputStream is) throws IOException { in getAllBytesFromStream() 127 InputStream is = null; in test_getInputStreamLjava_util_zip_ZipEntry() local 148 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); in setUp() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | Process2Test.java | 45 InputStream is = process.getErrorStream(); in test_getErrorStream() local 66 InputStream is = erProcess.getErrorStream(); in test_getErrorStream() local
|
D | ClassLoaderTest.java | 143 InputStream is = uncachedConnection.getInputStream(); in testUncachedJarStreamBehavior() local 205 InputStream is = null; in assertGetResourceAsStreamNotNull() local 219 InputStream is = null; in assertGetResourceIsValid() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 260 InputStream is = null; in test_getInputStreamLjava_util_zip_ZipEntry() local 320 InputStream is = zfile.getInputStream(zentry); in test_reset() local 366 InputStream is = zfile.getInputStream(zentry); in test_reset_subtest0() local 453 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); in setUp() local
|
D | InflaterInputStreamTest.java | 152 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markI() local 165 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markSupported() local 344 InputStream is = new ByteArrayInputStream(new byte[10]); in test_reset() local 359 InputStream is = Support_Resources.getStream("hyts_available.tst"); in test_skipJ() local 455 InputStream is = Support_Resources.getStream("hyts_available.tst"); in test_available() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFilterInputStreamTest.java | 30 public MyFilterInputStream(java.io.InputStream is) { in MyFilterInputStream() 37 private FilterInputStream is; field in OldFilterInputStreamTest
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebServer.java | 358 private int readOneLine(InputStream is) { in readOneLine() 396 private int readData(InputStream is, int length) { in readData() 419 private int parseStatusLine(InputStream is) { in parseStatusLine() 487 private int parseHeader(InputStream is) { in parseHeader() 525 private int readHeaders(InputStream is) { in readHeaders() 546 private int readContent(InputStream is) { in readContent() 561 InputStream is = new BufferedInputStream(s.getInputStream()); in handleClient() local
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | IOUtils.java | 38 public static byte[] readFully(java.io.InputStream is, int length, boolean readAll) in readFully()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | IOUtils.java | 50 public static byte[] readFully(InputStream is, int length, boolean readAll) in readFully()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CipherInputStream.java | 163 public CipherInputStream(InputStream is, Cipher c) { in CipherInputStream() 177 protected CipherInputStream(InputStream is) { in CipherInputStream()
|