Home
last modified time | relevance | path

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

123456

/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.java416 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local
424 InputSource is = new InputSource(new FileInputStream(file)); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local
438 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in test_parseLorg_xml_sax_InputSourceLorg_xml_sax_helpers_DefaultHandler() local
457 InputSource is = new InputSource(new FileInputStream(list_wf[i])); in testParseInputSourceHandlerBase() local
465 InputSource is = new InputSource(new FileInputStream(file)); in testParseInputSourceHandlerBase() local
479 InputSource is = new InputSource(new FileInputStream(list_wf[0])); in testParseInputSourceHandlerBase() local
509 InputStream is = new FileInputStream(list_wf[i]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local
517 InputStream is = new FileInputStream(list_nwf[i]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local
534 InputStream is = new FileInputStream(list_wf[0]); in test_parseLjava_io_InputStreamLorg_xml_sax_helpers_DefaultHandler() local
548 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/ojluni/annotations/hiddenapi/sun/security/provider/certpath/
DX509CertPath.java39 public X509CertPath(java.io.InputStream is) throws java.security.cert.CertificateException { in X509CertPath()
45 public X509CertPath(java.io.InputStream is, java.lang.String encoding) in X509CertPath()
52 java.io.InputStream is) throws java.security.cert.CertificateException { in parsePKIPATH()
57 java.io.InputStream is) throws java.security.cert.CertificateException { in parsePKCS7()
61 private static byte[] readAllBytes(java.io.InputStream is) throws java.io.IOException { in readAllBytes()
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataInputStreamTest.java160 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
DFilterInputStreamTest.java32 public MyFilterInputStream(InputStream is) { in MyFilterInputStream()
38 private InputStream is; field in FilterInputStreamTest
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/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/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProviderTest.java92 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/
DCertificateFactory4Test.java82 InputStream is = Support_Resources.getResourceStream("hyts_badpem.cer"); in test_generateCertificateLjava_io_InputStream() local
102 InputStream is = certUrl.openStream(); in test_generateCertificatesLjava_io_InputStream() local
124 InputStream is = certUrl.openStream(); in test_generateCRLLjava_io_InputStream() local
145 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/util/zip/
DZipFileTest.java260 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
DInflaterInputStreamTest.java152 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/javax/xml/transform/sax/
DSAXSourceTest.java63 InputSource is = new InputSource(); in constructor_withXMLReaderAndInputSource() local
71 InputSource is = new InputSource(); in setInputSource() local
92 InputSource is = new InputSource(); in sourceToInputSource() local
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java358 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/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/java/util/jar/
DManifest.java76 public Manifest(InputStream is) throws IOException { in Manifest()
87 Manifest(InputStream is, String jarFilename) throws IOException { in Manifest()
100 Manifest(JarVerifier jv, InputStream is, String jarFilename) throws IOException { in Manifest()
281 public void read(InputStream is) throws IOException { in read()
285 private void read(InputStream is, String jarFilename) throws IOException { in read()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DIOUtils.java38 public static byte[] readFully(java.io.InputStream is, int length, boolean readAll) in readFully()

123456