/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | BrokenInputStream.java | 29 private InputStream stream; field in class:BrokenInputStream 33 public BrokenInputStream(InputStream stream, int offset) { argument 36 this.stream = stream; 47 return stream.read(); 52 stream.close();
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | StreamShape.java | 25 package java.util.stream; 28 * An enum describing the known shape specializations for stream abstractions. 37 * streams and operations (i.e., if the output shape of a stream is compatible 40 * <p>Some APIs require you to specify both a generic type and a stream shape
|
H A D | TerminalSink.java | 25 package java.util.stream;
|
H A D | package-info.java | 31 * int sum = widgets.stream() 38 * as a source for a stream, and then perform a filter-map-reduce on the stream 43 * <p>The key abstraction introduced in this package is <em>stream</em>. The 44 * classes {@link java.util.stream.Stream}, {@link java.util.stream.IntStream}, 45 * {@link java.util.stream.LongStream}, and {@link java.util.stream.DoubleStream} 50 * <li>No storage. A stream is not a data structure that stores elements; 54 * <li>Functional in nature. An operation on a stream produce [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
H A D | SQLData.java | 87 * type from the given input stream. This is done 88 * by calling a method of the input stream to read each 100 * The JDBC driver initializes the input stream with a type map 102 * <code>SQLInput</code> reader method on the stream. 104 * @param stream the <code>SQLInput</code> object from which to read the data for 106 * @param typeName the SQL type name of the value on the data stream 113 void readSQL (SQLInput stream, String typeName) throws SQLException; argument 116 * Writes this object to the given SQL data stream, converting it back to 120 * to the given output stream. This is done by calling a 121 * method of the output stream t 136 writeSQL(SQLOutput stream) argument [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
H A D | PrimitiveSumTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 26 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 27 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 28 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.OpTestCase; 30 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 31 import org.openjdk.testlib.java.util.stream.TestData; 33 import java.util.stream.BaseStream; 34 import java.util.stream [all...] |
H A D | CountTest.java | 30 package org.openjdk.tests.java.util.stream; 32 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 33 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 34 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 35 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 36 import org.openjdk.testlib.java.util.stream.OpTestCase; 37 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 38 import org.openjdk.testlib.java.util.stream.TestData; 41 import java.util.stream.DoubleStream; 42 import java.util.stream [all...] |
H A D | ConcatTest.java | 24 package org.openjdk.tests.java.util.stream; 39 import java.util.stream.DoubleStream; 40 import java.util.stream.IntStream; 41 import java.util.stream.LongStream; 42 import java.util.stream.Stream; 44 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.*; 109 Stream<Integer> s1s = c1.stream(); 110 Stream<Integer> s2s = c2.stream(); 126 // concat stream cannot guarantee uniqueness 128 // concat stream canno [all...] |
H A D | StreamLinkTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 26 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 27 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 28 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.OpTestCase; 30 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 31 import org.openjdk.testlib.java.util.stream.TestData; 33 import java.util.stream.BaseStream; 34 import java.util.stream [all...] |
H A D | TeeOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 26 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 27 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 28 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.OpTestCase; 30 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 31 import org.openjdk.testlib.java.util.stream.TestData; 37 import java.util.stream.BaseStream; 38 import java.util.stream [all...] |
H A D | PrimitiveAverageOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.OpTestCase; 26 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 27 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 28 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 30 import org.openjdk.testlib.java.util.stream.TestData; 32 import java.util.stream.*;
|
H A D | MinMaxTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 26 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 27 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 28 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.OpTestCase; 30 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 31 import org.openjdk.testlib.java.util.stream.TestData; 37 import java.util.stream.BaseStream; 38 import java.util.stream [all...] |
H A D | ReduceByOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 26 import org.openjdk.testlib.java.util.stream.OpTestCase; 27 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 28 import org.openjdk.testlib.java.util.stream.TestData; 31 import java.util.stream.Stream; 37 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.*; 38 import static java.util.stream.Collectors.groupingBy; 39 import static java.util.stream.Collectors.reducing; 51 Map<Boolean,List<Integer>> gbResult = data.stream() [all...] |
H A D | IntUniqOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 26 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 27 import org.openjdk.testlib.java.util.stream.OpTestCase; 28 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.TestData; 32 import java.util.stream.Stream; 33 import java.util.stream.IntStream; 37 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.assertCountSum; 38 import static org.openjdk.testlib.java.util.stream [all...] |
H A D | FindFirstOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.*; 28 import java.util.stream.BaseStream; 29 import java.util.stream.Stream; 30 import java.util.stream.IntStream; 31 import java.util.stream.LongStream; 32 import java.util.stream.DoubleStream; 38 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.*; 48 assertFalse(Collections.emptySet().stream().findFirst().isPresent(), "no result"); 49 assertFalse(countTo(10).stream() [all...] |
H A D | GroupByOpTest.java | 23 package org.openjdk.tests.java.util.stream; 25 import org.openjdk.testlib.java.util.stream.LambdaTestHelpers; 26 import org.openjdk.testlib.java.util.stream.OpTestCase; 27 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider; 28 import org.openjdk.testlib.java.util.stream.TestData; 39 import java.util.stream.Collector; 40 import java.util.stream.Collectors; 41 import java.util.stream.Stream; 45 import static org.openjdk.testlib.java.util.stream.LambdaTestHelpers.countTo; 46 import static org.openjdk.testlib.java.util.stream [all...] |
H A D | SpliteratorTest.java | 23 package org.openjdk.tests.java.util.stream; 27 import org.openjdk.testlib.java.util.stream.DoubleStreamTestDataProvider; 28 import org.openjdk.testlib.java.util.stream.IntStreamTestDataProvider; 29 import org.openjdk.testlib.java.util.stream.LongStreamTestDataProvider; 30 import org.openjdk.testlib.java.util.stream.SpliteratorTestHelper; 31 import org.openjdk.testlib.java.util.stream.StreamTestDataProvider;
|
/libcore/luni/src/main/native/ |
H A D | ZipUtilities.cpp | 25 NativeZipStream* stream) { 28 } else if (stream != NULL && stream->stream.msg != NULL) { 29 jniThrowException(env, exceptionClassName, stream->stream.msg); 37 stream.opaque = Z_NULL; 38 stream.zalloc = Z_NULL; 39 stream.zfree = Z_NULL; 56 err = inflateSetDictionary(&stream, dictionar 24 throwExceptionForZlibError(JNIEnv* env, const char* exceptionClassName, int error, NativeZipStream* stream) argument [all...] |
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | StreamOpFlagTestHelper.java | 23 package org.openjdk.testlib.java.util.stream; 26 import java.util.stream.BaseStream; 27 import java.util.stream.StreamOpFlag; 28 import java.util.stream.Stream; 32 /** EnumSet containing stream flags */
|
H A D | FlagDeclaringOp.java | 23 package org.openjdk.testlib.java.util.stream; 25 import java.util.stream.Sink; 26 import java.util.stream.StreamShape;
|
H A D | LambdaTestMode.java | 23 package org.openjdk.testlib.java.util.stream; 44 * {@code org.openjdk.java.util.stream.sand.mode} is declared with a 54 Boolean.getBoolean("org.openjdk.java.util.stream.sand.mode");
|
H A D | IntermediateTestOp.java | 23 package org.openjdk.testlib.java.util.stream; 25 import java.util.stream.AbstractPipeline;
|
H A D | StatelessTestOp.java | 23 package org.openjdk.testlib.java.util.stream; 25 import java.util.stream.AbstractPipeline; 26 import java.util.stream.DoublePipeline; 27 import java.util.stream.IntPipeline; 28 import java.util.stream.LongPipeline; 29 import java.util.stream.ReferencePipeline; 30 import java.util.stream.StreamShape; 31 import java.util.stream.Sink;
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Certificate.java | 98 * Encodes the certificate to an output stream in a format that can 101 * @param stream the output stream to which to encode the 107 * @exception IOException if a stream exception occurs while 108 * trying to output the encoded certificate to the output stream. 113 public abstract void encode(OutputStream stream) argument 117 * Decodes a certificate from an input stream. The format should be 121 * @param stream the input stream from which to fetch the data 128 * the encoded certificate from the input stream 133 decode(InputStream stream) argument [all...] |
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
H A D | LambdaTestMode.java | 23 package java.util.stream; 44 * {@code org.openjdk.java.util.stream.sand.mode} is declared with a 54 Boolean.getBoolean("org.openjdk.java.util.stream.sand.mode");
|