/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/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/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/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/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/ojluni/src/main/java/sun/security/provider/ |
D | X509Factory.java | 81 public Certificate engineGenerateCertificate(InputStream is) in engineGenerateCertificate() 329 engineGenerateCertificates(InputStream is) in engineGenerateCertificates() 353 public CRL engineGenerateCRL(InputStream is) in engineGenerateCRL() 391 InputStream is) throws CRLException in engineGenerateCRLs() 409 parseX509orPKCS7Cert(InputStream is) in parseX509orPKCS7Cert() 442 parseX509orPKCS7CRL(InputStream is) in parseX509orPKCS7CRL() 481 private static byte[] readOneBlock(InputStream is) throws IOException { in readOneBlock() 610 private static int readBERInternal(InputStream is, in readBERInternal()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 74 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); in test_generateCertificateLjava_io_InputStream() local 94 InputStream is = certUrl.openStream(); in test_generateCertificatesLjava_io_InputStream() local 116 InputStream is = certUrl.openStream(); in test_generateCRLLjava_io_InputStream() local 137 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/io/ |
D | FilterInputStreamTest.java | 32 public MyFilterInputStream(InputStream is) { in MyFilterInputStream() 38 private InputStream is; field in FilterInputStreamTest
|
D | DataInputStreamTest.java | 159 DataInputStream is = new DataInputStream(new ByteArrayInputStream( in test_readFully$BII_Exception() local 210 DataInputStream is = new DataInputStream(new ByteArrayInputStream( in test_readFully$BII_NullArray() local 273 DataInputStream is = new DataInputStream(null); in test_readFully$BII_NullStream() local 334 DataInputStream is = new DataInputStream(null); in test_readFully$BII_NullStream_NullArray() local
|
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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | InflaterInputStreamTest.java | 148 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markI() local 160 InputStream is = new ByteArrayInputStream(new byte[10]); in test_markSupported() local 279 InputStream is = new ByteArrayInputStream(baos.toByteArray()); in test_read$BII() local 335 InputStream is = new ByteArrayInputStream(new byte[10]); in test_reset() local 349 InputStream is = Support_Resources.getStream("hyts_available.tst"); in test_skipJ() local 446 InputStream is = Support_Resources.getStream("hyts_available.tst"); in test_available() local
|
D | ZipFileTest.java | 255 InputStream is = null; in test_getInputStreamLjava_util_zip_ZipEntry() local 315 InputStream is = zfile.getInputStream(zentry); in test_reset() local 361 InputStream is = zfile.getInputStream(zentry); in test_reset_subtest0() local 406 InputStream is = Support_Resources.getStream("hyts_ZipFile.zip"); in setUp() local
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TestWebServer.java | 365 private int readOneLine(InputStream is) { in readOneLine() 403 private int readData(InputStream is, int length) { in readData() 426 private int parseStatusLine(InputStream is) { in parseStatusLine() 494 private int parseHeader(InputStream is) { in parseHeader() 532 private int readHeaders(InputStream is) { in readHeaders() 553 private int readContent(InputStream is) { in readContent() 568 InputStream is = new BufferedInputStream(s.getInputStream()); in handleClient() 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/ojluni/src/main/java/javax/crypto/ |
D | CipherInputStream.java | 138 public CipherInputStream(InputStream is, Cipher c) { in CipherInputStream() 152 protected CipherInputStream(InputStream is) { in CipherInputStream()
|
/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/sun/net/www/protocol/netdoc/ |
D | Handler.java | 84 InputStream is = uc.getInputStream(); // Check for success. in openConnection() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | JarURLConnectionTest.java | 222 InputStream is = conn.getInputStream(); in test_getInputStream_DeleteJarFileUsingURLConnection() local 253 InputStream is = juc.getInputStream(); in test_getCertificates() local 308 InputStream is = url.openStream(); in test_getURLEncodedEntry() local
|