Home
last modified time | relevance | path

Searched defs:is (Results 1 – 25 of 116) sorted by relevance

12345

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DDigestInputStreamTest.java84 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/
DJarInputStreamTest.java57 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/
DSAXParserTest.java405 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 …]
DDocumentBuilderTest.java95 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/
DGenericSignatureFormatErrorTest.java28 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/
DOldJarInputStreamTest.java35 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/
DX509CertPath.java138 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/
DSAXParser.java124 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()
DDocumentBuilder.java100 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/
DX509Factory.java81 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/
DCertificateFactory4Test.java74 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/
DOldZipFileTest.java31 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/
DProcess2Test.java45 InputStream is = process.getErrorStream(); in test_getErrorStream() local
66 InputStream is = erProcess.getErrorStream(); in test_getErrorStream() local
DClassLoaderTest.java143 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/
DFilterInputStreamTest.java32 public MyFilterInputStream(InputStream is) { in MyFilterInputStream()
38 private InputStream is; field in FilterInputStreamTest
DDataInputStreamTest.java159 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
DBufferedInputStreamTest.java87 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/
DInflaterInputStreamTest.java148 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
DZipFileTest.java255 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/
DSupport_TestWebServer.java365 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/
DOldFilterInputStreamTest.java30 public MyFilterInputStream(java.io.InputStream is) { in MyFilterInputStream()
37 private FilterInputStream is; field in OldFilterInputStreamTest
/libcore/ojluni/src/main/java/javax/crypto/
DCipherInputStream.java138 public CipherInputStream(InputStream is, Cipher c) { in CipherInputStream()
152 protected CipherInputStream(InputStream is) { in CipherInputStream()
/libcore/ojluni/src/main/java/sun/misc/
DIOUtils.java50 public static byte[] readFully(InputStream is, int length, boolean readAll) in readFully()
/libcore/ojluni/src/main/java/sun/net/www/protocol/netdoc/
DHandler.java84 InputStream is = uc.getInputStream(); // Check for success. in openConnection() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java222 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

12345