Searched refs:inputStream (Results 1 - 22 of 22) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DHprofBinaryToAscii.java89 DataInputStream inputStream = null;
91 inputStream = new DataInputStream(new BufferedInputStream(new FileInputStream(file)));
92 return BinaryHprof.readMagic(inputStream) != null;
96 closeQuietly(inputStream);
104 InputStream inputStream = null;
106 inputStream = new BufferedInputStream(new FileInputStream(file));
107 return read(inputStream);
109 closeQuietly(inputStream);
118 InputStream inputStream = null;
120 inputStream
137 read(InputStream inputStream) argument
[all...]
H A DBinaryHprofReader.java30 * BinaryHprofReader reader = new BinaryHprofReader(new BufferedInputStream(inputStream));
33 * inputStream.close();
72 * inputStream}
74 public BinaryHprofReader(InputStream inputStream) throws IOException { argument
75 this.in = new DataInputStream(inputStream);
/libcore/luni/src/main/java/javax/xml/transform/stream/
H A DStreamSource.java49 * {@link #setInputStream(java.io.InputStream inputStream)} or
69 * @param inputStream A valid InputStream reference to an XML stream.
71 public StreamSource(InputStream inputStream) { argument
72 setInputStream(inputStream);
85 * @param inputStream A valid InputStream reference to an XML stream.
88 public StreamSource(InputStream inputStream, String systemId) { argument
89 setInputStream(inputStream);
151 * @param inputStream A valid InputStream reference to an XML stream.
153 public void setInputStream(InputStream inputStream) { argument
154 this.inputStream
266 private InputStream inputStream; field in class:StreamSource
[all...]
/libcore/benchmarks/src/benchmarks/
H A DXmlParseBenchmark.java43 ByteArrayInputStream inputStream; field in class:XmlParseBenchmark
59 inputStream = new ByteArrayInputStream(xmlBytes);
60 inputStream.mark(xmlBytes.length);
88 inputStream.reset();
90 saxParser.parse(inputStream, elementCounterSaxHandler);
107 inputStream.reset();
108 Document document = documentBuilder.parse(inputStream);
137 inputStream.reset();
139 xmlPullParser.setInput(inputStream, "UTF-8");
/libcore/luni/src/main/java/java/nio/channels/
H A DChannels.java91 * @param inputStream
95 public static ReadableByteChannel newChannel(InputStream inputStream) { argument
96 return new InputStreamChannel(inputStream);
288 private final InputStream inputStream; field in class:Channels.InputStreamChannel
290 InputStreamChannel(InputStream inputStream) { argument
291 if (inputStream == null) {
292 throw new NullPointerException("inputStream == null");
294 this.inputStream = inputStream;
306 readCount = inputStream
[all...]
/libcore/luni/src/main/java/java/sql/
H A DPreparedStatement.java761 * from {@code inputStream}.
766 * @param inputStream the {@code InputStream}
770 public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
798 * from {@code inputStream}.
803 * @param inputStream the {@code InputStream}
807 public void setAsciiStream(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
811 * from {@code inputStream}.
816 * @param inputStream the {@code InputStream}
820 public void setBinaryStream(int parameterIndex, InputStream inputStream, long length) throws SQLException; argument
837 * from {@code inputStream}
845 setAsciiStream(int parameterIndex, InputStream inputStream) argument
857 setBinaryStream(int parameterIndex, InputStream inputStream) argument
905 setBlob(int parameterIndex, InputStream inputStream) argument
[all...]
H A DResultSet.java2135 public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException; argument
2142 public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException; argument
2233 public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException; argument
2240 public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException; argument
H A DCallableStatement.java1436 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1439 public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException; argument
1563 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1575 * Sets the named parameter to the next {@code length} bytes from the given {@code inputStream}.
1611 * Sets the named parameter to the bytes from the given {@code inputStream}.
1614 public void setBlob(String parameterName, InputStream inputStream) throws SQLException; argument
/libcore/tzdata/update/src/test/libcore/tzdata/update/
H A DConfigBundleTest.java62 TestInputStream inputStream =
64 ConfigBundle.extractZipSafely(inputStream, targetDir, true /* makeWorldReadable */);
65 inputStream.assertClosed();
95 TestInputStream inputStream = new TestInputStream(
98 ConfigBundle.extractZipSafely(inputStream, targetDir, true /* makeWorldReadable */);
102 inputStream.assertClosed();
/libcore/luni/src/main/java/java/security/cert/
H A DCertificateFactory.java230 * {@code inputStream}, assuming the given {@code encoding} from
238 public final CertPath generateCertPath(InputStream inputStream, String encoding) argument
240 return spiImpl.engineGenerateCertPath(inputStream, encoding);
/libcore/luni/src/main/java/java/lang/
H A DProcessManager.java238 private final InputStream inputStream; field in class:ProcessManager.ProcessImpl
251 this.inputStream = new ProcessInputStream(in);
267 IoUtils.closeQuietly(inputStream);
286 return this.inputStream;
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java484 * @param inputStream contains a raw byte input stream of possibly
487 * @param inputEncoding if not null it MUST be used as encoding for inputStream
489 void setInput(InputStream inputStream, String inputEncoding) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLServerSocketTest.java395 InputStream inputStream = new ByteArrayInputStream(bytes);
398 keyStore.load(inputStream, PASSWORD.toCharArray());
399 inputStream.close();
H A DHandshakeCompletedEventTest.java541 InputStream inputStream = new ByteArrayInputStream(bytes);
544 keyStore.load(inputStream, PASSWORD.toCharArray());
545 inputStream.close();
H A DSSLSessionTest.java636 InputStream inputStream = new ByteArrayInputStream(bytes);
639 keyStore.load(inputStream, PASSWORD.toCharArray());
640 inputStream.close();
H A DSSLSocketTest.java591 InputStream inputStream = new ByteArrayInputStream(bytes);
594 keyStore.load(inputStream, PASSWORD.toCharArray());
595 inputStream.close();
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java82 private InputStream inputStream; field in class:FtpURLConnection
259 inputStream = new FtpURLInputStream(
309 return inputStream;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DMappedByteBufferTest.java135 FileInputStream inputStream = new FileInputStream(tmpFile);
136 FileChannel fileChannelR = inputStream.getChannel();
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DFileIOInterruptTest.java449 private final FileInputStream inputStream; field in class:FileIOInterruptTest.StreamReader
454 StreamReader(FileInputStream inputStream) { argument
455 this.inputStream = inputStream;
463 int bytesRead = inputStream.read(buffer);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DPropertiesTest.java1070 InputStream inputStream = new ByteArrayInputStream(
1073 props.load(inputStream);
1077 inputStream.close();
1079 inputStream = new ByteArrayInputStream(
1082 props.load(new InputStreamReader(inputStream, "UTF-8"));
1086 inputStream.close();
/libcore/luni/src/test/java/libcore/xml/
H A DXmlPullParserFactoryTest.java246 public void setInput(InputStream inputStream, String inputEncoding) argument
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 1091 milliseconds