Home
last modified time | relevance | path

Searched refs:openStream (Results 1 – 25 of 70) sorted by relevance

123

/external/guava/guava/src/com/google/common/io/
DByteSource.java84 public abstract InputStream openStream() throws IOException; in openStream() method in ByteSource
99 InputStream in = openStream(); in openBufferedStream()
125 InputStream in = closer.register(openStream()); in isEmpty()
152 InputStream in = closer.register(openStream()); in size()
162 InputStream in = closer.register(openStream()); in size()
219 InputStream in = closer.register(openStream()); in copyTo()
239 InputStream in = closer.register(openStream()); in copyTo()
240 OutputStream out = closer.register(sink.openStream()); in copyTo()
257 InputStream in = closer.register(openStream()); in read()
281 InputStream in = closer.register(openStream()); in read()
[all …]
DByteSink.java70 public abstract OutputStream openStream() throws IOException; in openStream() method in ByteSink
85 OutputStream out = openStream(); in openBufferedStream()
101 OutputStream out = closer.register(openStream()); in write()
123 OutputStream out = closer.register(openStream()); in writeFrom()
147 public Writer openStream() throws IOException { in openStream() method in ByteSink.AsCharSink
148 return new OutputStreamWriter(ByteSink.this.openStream(), charset); in openStream()
DCharSource.java80 public abstract Reader openStream() throws IOException; in openStream() method in CharSource
91 Reader reader = openStream(); in openBufferedStream()
109 Reader reader = closer.register(openStream()); in copyTo()
129 Reader reader = closer.register(openStream()); in copyTo()
130 Writer writer = closer.register(sink.openStream()); in copyTo()
147 Reader reader = closer.register(openStream()); in read()
224 Reader reader = closer.register(openStream()); in readLines()
243 Reader reader = closer.register(openStream()); in isEmpty()
337 public Reader openStream() { in openStream() method in CharSource.CharSequenceCharSource
429 public Reader openStream() throws IOException {
DCharSink.java64 public abstract Writer openStream() throws IOException; in openStream() method in CharSink
79 Writer writer = openStream(); in openBufferedStream()
95 Writer out = closer.register(openStream()); in write()
153 Writer out = closer.register(openStream()); in writeFrom()
DFileBackedOutputStream.java99 public InputStream openStream() throws IOException { in FileBackedOutputStream()
114 public InputStream openStream() throws IOException { in FileBackedOutputStream()
DResources.java71 public InputStream openStream() throws IOException { in openStream() method in Resources.UrlByteSource
72 return url.openStream(); in openStream()
DBaseEncoding.java199 public OutputStream openStream() throws IOException { in encodingSink()
200 return encodingStream(encodedSink.openStream()); in encodingSink()
275 public InputStream openStream() throws IOException {
276 return decodingStream(encodedSource.openStream());
DMultiReader.java48 current = it.next().openStream(); in advance()
/external/guava/guava-tests/test/com/google/common/io/
DMultiReaderTest.java39 public Reader openStream() throws IOException { in testOnlyOneOpen()
43 return new FilterReader(source.openStream()) { in testOnlyOneOpen()
51 Reader joinedReader = CharSource.concat(reader, reader, reader).openStream(); in testOnlyOneOpen()
59 Reader joinedReader = CharSource.concat(list).openStream(); in testReady()
71 Reader joinedReader = CharSource.concat(source, source).openStream(); in testSimple()
81 public Reader openStream() { in newCharSource()
91 CharSource.concat(newCharSource(begin), newCharSource(end)).openStream();
107 Reader joinedReader = CharSource.concat(list).openStream();
DMultiInputStreamTest.java53 public InputStream openStream() throws IOException { in testOnlyOneOpen()
57 return new FilterInputStream(source.openStream()) { in testOnlyOneOpen()
84 InputStream in = joined.openStream(); in testReadSingleByte()
99 public InputStream openStream() { in testSkip()
117 public InputStream openStream() { in newByteSource()
DTestCharSource.java49 public Reader openStream() throws IOException { in openStream() method in TestCharSource
50 return new InputStreamReader(byteSource.openStream(), UTF_8); in openStream()
DTestCharSink.java54 public Writer openStream() throws IOException { in openStream() method in TestCharSink
56 return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) { in openStream()
DByteSourceTester.java109 InputStream in = source.openStream(); in testOpenStream()
144 public OutputStream openStream() throws IOException { in testCopyTo_byteSink()
162 public InputStream openStream() throws IOException { in testContentEquals()
DTestByteSink.java57 public OutputStream openStream() throws IOException { in openStream() method in TestByteSink
DTestByteSource.java57 public InputStream openStream() throws IOException { in openStream() method in TestByteSource
/external/skia/include/ports/
DSkFontConfigInterface.h93 virtual SkStreamAsset* openStream(const FontIdentity&) = 0;
102 return SkTypeface::MakeFromStream(this->openStream(identity), identity.fTTCIndex); in makeTypeface()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DDepFind.java42 InputStream in = entry.openStream(); in run()
61 InputStream in = entry.openStream(); in run()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_GetLocal.java62 InputStream in = new URL(url).openStream(); in getExternalLocalFile()
80 InputStream in = new URL(url).openStream(); in getStream()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassPathEntry.java25 InputStream openStream() throws IOException; in openStream() method
DClassPathIterator.java171 public InputStream openStream() throws IOException { in next() method in ClassPathIterator.ZipIterator
206 public InputStream openStream() throws IOException {
/external/proguard/src/proguard/
DFileWordReader.java51 super(new LineNumberReader(new BufferedReader(new InputStreamReader(url.openStream()))), in FileWordReader()
/external/skia/src/ports/
DSkFontConfigInterface_direct.h25 SkStreamAsset* openStream(const FontIdentity&) override;
/external/mockito/src/main/java/org/mockito/internal/configuration/plugins/
DPluginFinder.java26 s = resource.openStream(); in findPluginClass()
/external/jcommander/src/main/java/com/beust/jcommander/defaultprovider/
DPropertyFileDefaultProvider.java50 m_properties.load(url.openStream()); in init()
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
DClassInfoTest.java46 getClass().getSimpleName() + ".class").openStream(); in createClassFile()

123