Home
last modified time | relevance | path

Searched refs:Streams (Results 1 – 25 of 33) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/stream/
DIntStream.java693 return new Streams.IntStreamBuilderImpl(); in builder()
712 return StreamSupport.intStream(new Streams.IntStreamBuilderImpl(t), false); in of()
799 new Streams.RangeIntSpliterator(startInclusive, endExclusive, false), false); in range()
825 new Streams.RangeIntSpliterator(startInclusive, endInclusive, true), false); in rangeClosed()
850 Spliterator.OfInt split = new Streams.ConcatSpliterator.OfInt( in concat()
853 return stream.onClose(Streams.composedClose(a, b)); in concat()
DLongStream.java686 return new Streams.LongStreamBuilderImpl(); in builder()
705 return StreamSupport.longStream(new Streams.LongStreamBuilderImpl(t), false); in of()
799 new Streams.RangeLongSpliterator(startInclusive, endExclusive, false), false); in range()
833 new Streams.RangeLongSpliterator(startInclusive, endInclusive, true), false); in rangeClosed()
858 Spliterator.OfLong split = new Streams.ConcatSpliterator.OfLong( in concat()
861 return stream.onClose(Streams.composedClose(a, b)); in concat()
DStream.java966 return new Streams.StreamBuilderImpl<>(); in builder()
987 return StreamSupport.stream(new Streams.StreamBuilderImpl<>(t), false); in of()
1024 T t = (T) Streams.NONE; in iterate()
1033 return t = (t == Streams.NONE) ? seed : f.apply(t); in iterate()
1079 Spliterator<T> split = new Streams.ConcatSpliterator.OfRef<>( in concat()
1082 return stream.onClose(Streams.composedClose(a, b)); in concat()
DDoubleStream.java727 return new Streams.DoubleStreamBuilderImpl(); in builder()
746 return StreamSupport.doubleStream(new Streams.DoubleStreamBuilderImpl(t), false); in of()
832 Spliterator.OfDouble split = new Streams.ConcatSpliterator.OfDouble( in concat()
835 return stream.onClose(Streams.composedClose(a, b)); in concat()
/libcore/support/src/test/java/tests/support/
DStreams.java29 public class Streams { class
30 private Streams() { in Streams() method in Streams
/libcore/luni/src/test/java/libcore/dalvik/system/
DClassLoaderTestSupport.java19 import libcore.io.Streams;
86 Streams.copy(in, out); in copyResource()
DBaseDexClassLoaderTest.java38 import libcore.io.Streams;
90 Streams.copy(in, out); in extractTestJar()
176 byte[] bytes = Streams.readFully(is); in readResources()
190 byte[] contents = Streams.readFully(in); in readResource()
DPathClassLoaderTest.java33 import libcore.io.Streams;
74 Streams.copy(in, out); in extractResourceJar()
DDexClassLoaderTest.java27 import libcore.io.Streams;
115 byte[] contents = Streams.readFully(in); in createLoaderAndGetResource()
DInMemoryDexClassLoaderTest.java28 import libcore.io.Streams;
88 Streams.copy(in, out); in copyResource()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java23 import tests.support.Streams;
91 return Streams.streamToBytes(new FileInputStream(file)); in getBytes()
191 return Streams.streamToBytes(new ObjectInputStream( in decode()
DWriterTesterTest.java23 import tests.support.Streams;
88 return Streams.streamToString(new FileReader(file)).toCharArray(); in getChars()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java28 import libcore.io.Streams;
162 byte[] resourceData1 = Streams.readFullyNoClose(is1); in testCachedJarStreamBehavior()
168 byte[] resourceData2 = Streams.readFullyNoClose(is2); in testCachedJarStreamBehavior()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java19 import libcore.io.Streams;
52 byte[] uncompressed = Streams.readFully(is); in testZip64Support_largeNumberOfEntries()
DZipInputStreamTest.java19 import libcore.io.Streams;
131 Streams.readFullyNoClose(zis); in testAvailable()
DGZIPInputStreamTest.java33 import libcore.io.Streams;
198 byte[] unzipped = Streams.readFully(gzip); in testMultipleMembersWithCustomBufferSize()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/
DFileURLConnectionTest.java28 import libcore.io.Streams;
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java33 import libcore.io.Streams;
189 byte[] actualBytes = Streams.readFully(actualJarUrlConnection.getInputStream()); in assertBehaviorSame()
190 byte[] standardBytes = Streams.readFully(standardJarUrlConnection.getInputStream()); in assertBehaviorSame()
/libcore/luni/src/main/java/libcore/io/
DStreams.java33 public final class Streams { class
36 private Streams() {} in Streams() method in Streams
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterInputStreamTest.java27 import libcore.io.Streams;
151 byte[] contents = Streams.readFully(dis); in testRead_golden()
172 byte[] contents = Streams.readFully(dis); in testRead_leavesBufUnmodified()
DZipFileTest.java34 import libcore.io.Streams;
455 Streams.copy(is, fos); in setUp()
DZipEntryTest.java27 import libcore.io.Streams;
500 Streams.copy(is, fos); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarEntryTest.java29 import libcore.io.Streams;
147 Streams.skipByReading(in, Long.MAX_VALUE); in testCertificatesAndCodesigners()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFileSystemsTest.java38 import libcore.io.Streams;
187 Streams.copy(in, out); in createClassLoaderForTestFileSystems()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamFlagsTest.java30 import java.util.stream.Streams;

12