/libcore/luni/src/main/java/javax/xml/transform/stream/ |
D | StreamSource.java | 71 public StreamSource(InputStream inputStream) { in StreamSource() argument 72 setInputStream(inputStream); in StreamSource() 88 public StreamSource(InputStream inputStream, String systemId) { in StreamSource() argument 89 setInputStream(inputStream); in StreamSource() 153 public void setInputStream(InputStream inputStream) { in setInputStream() argument 154 this.inputStream = inputStream; in setInputStream() 164 return inputStream; in getInputStream() 266 private InputStream inputStream; field in StreamSource
|
/libcore/benchmarks/src/benchmarks/ |
D | XmlParseBenchmark.java | 42 ByteArrayInputStream inputStream; field in XmlParseBenchmark 59 inputStream = new ByteArrayInputStream(xmlBytes); in setUp() 60 inputStream.mark(xmlBytes.length); in setUp() 89 inputStream.reset(); in timeSax() 91 saxParser.parse(inputStream, elementCounterSaxHandler); in timeSax() 108 inputStream.reset(); in timeDom() 109 Document document = documentBuilder.parse(inputStream); in timeDom() 138 inputStream.reset(); in testXmlPull() 140 xmlPullParser.setInput(inputStream, "UTF-8"); in testXmlPull()
|
/libcore/luni/src/main/java/libcore/internal/ |
D | Java9LanguageFeatures.java | 74 InputStream inputStream = new ByteArrayInputStream(bytes); in copy() local 75 try (inputStream) { // Language feature: try on effectively-final variable in copy() argument 77 while ((value = inputStream.read()) != -1) { in copy()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ParseExceptionTest.java | 53 try (InputStream inputStream = getClass().getResourceAsStream( in test_serialize() argument 55 ObjectInputStream ois = new ObjectInputStream(inputStream)) { in test_serialize()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 491 private static void assertNullInputStream(InputStream inputStream) throws IOException { in assertNullInputStream() argument 492 assertEquals(-1, inputStream.read()); in assertNullInputStream() 493 assertEquals(0, inputStream.available()); in assertNullInputStream() 494 inputStream.close(); // should do nothing in assertNullInputStream() 536 static String readAsString(InputStream inputStream) throws IOException { in readAsString() argument 540 while ((numRead = inputStream.read(data)) >= 0) { in readAsString() 549 static FutureTask<String> asyncRead(final InputStream inputStream) { in asyncRead() argument 550 final FutureTask<String> result = new FutureTask<>(() -> readAsString(inputStream)); in asyncRead() 551 new Thread("read asynchronously from " + inputStream) { in asyncRead()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | FtpURLConnectionTest.java | 206 InputStream inputStream = connection.getInputStream(); in testConnectOverProxy_implicit_http_fails() local 213 assertContents(fileContents, inputStream); in testConnectOverProxy_implicit_http_fails() 292 private static void assertContents(byte[] expectedContents, InputStream inputStream) in assertContents() argument 295 byte[] contentBytes = IoUtil.readBytes(inputStream); in assertContents() 302 inputStream.close(); in assertContents()
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSet.java | 1446 void setBlob(int parameterIndex, InputStream inputStream, long length) in setBlob() argument 1473 void setBlob(int parameterIndex, InputStream inputStream) in setBlob() argument 1502 void setBlob(String parameterName, InputStream inputStream, long length) in setBlob() argument 1541 void setBlob(String parameterName, InputStream inputStream) in setBlob() argument
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | SignerInfo.java | 338 SignerInfo verify(PKCS7 block, InputStream inputStream) in verify() argument 346 if (inputStream == null) { in verify() 347 inputStream = new ByteArrayInputStream(content.getContentBytes()); in verify() 362 dataSigned = inputStream; in verify() 393 while ((read = inputStream.read(buffer)) != -1) { in verify()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLServerSocketTest.java | 398 InputStream inputStream = new ByteArrayInputStream(bytes); in getKeyManagers() local 401 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 402 inputStream.close(); in getKeyManagers()
|
D | HandshakeCompletedEventTest.java | 536 InputStream inputStream = new ByteArrayInputStream(bytes); in getKeyManagers() local 539 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 540 inputStream.close(); in getKeyManagers()
|
D | SSLSocketTest.java | 594 InputStream inputStream = new ByteArrayInputStream(bytes); in getKeyManagers() local 597 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 598 inputStream.close(); in getKeyManagers()
|
D | SSLSessionTest.java | 610 InputStream inputStream = new ByteArrayInputStream(bytes); in getKeyStore() local 613 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyStore() 614 inputStream.close(); in getKeyStore()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileIOInterruptTest.java | 457 private final FileInputStream inputStream; field in FileIOInterruptTest.StreamReader 462 StreamReader(FileInputStream inputStream) { in StreamReader() argument 463 this.inputStream = inputStream; in StreamReader() 471 int bytesRead = inputStream.read(buffer); in run()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 64 try (FileInputStream inputStream = new FileInputStream(f)) { in try() argument 65 cacheProps.load(inputStream); in try()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | PreparedStatement.java | 872 void setBlob(int parameterIndex, InputStream inputStream, long length) in setBlob() argument 1198 void setBlob(int parameterIndex, InputStream inputStream) in setBlob() argument
|
D | ResultSet.java | 3564 void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException; in updateBlob() argument 3588 void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException; in updateBlob() argument 3948 void updateBlob(int columnIndex, InputStream inputStream) throws SQLException; in updateBlob() argument 3973 void updateBlob(String columnLabel, InputStream inputStream) throws SQLException; in updateBlob() argument
|
D | CallableStatement.java | 1924 void setBlob(String parameterName, InputStream inputStream, long length) in setBlob() argument 2416 void setBlob(String parameterName, InputStream inputStream) in setBlob() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | MappedByteBufferTest.java | 135 FileInputStream inputStream = new FileInputStream(tmpFile); in test_force() local 136 FileChannel fileChannelR = inputStream.getChannel(); in test_force()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactoryFinder.java | 72 try (FileInputStream inputStream = new FileInputStream(f)) { in try() argument 73 cacheProps.load(inputStream); in try()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SchemaFactoryFinder.java | 65 try (FileInputStream inputStream = new FileInputStream(f)) { in try() argument 66 cacheProps.load(inputStream); in try()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParser.java | 489 void setInput(InputStream inputStream, String inputEncoding) in setInput() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 1073 InputStream inputStream = new ByteArrayInputStream( in testLoadReader() local 1076 props.load(inputStream); in testLoadReader() 1080 inputStream.close(); in testLoadReader() 1082 inputStream = new ByteArrayInputStream( in testLoadReader() 1085 props.load(new InputStreamReader(inputStream, "UTF-8")); in testLoadReader() 1089 inputStream.close(); in testLoadReader()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/ |
D | SignerInfo.java | 95 sun.security.pkcs.PKCS7 block, java.io.InputStream inputStream) in verify() argument
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 246 public void setInput(InputStream inputStream, String inputEncoding) in setInput() argument
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1176 try (InputStream inputStream = uc.getInputStream()) { 1177 inputStream.read(ba, 0, 600);
|