Searched refs:shape (Results 1 - 17 of 17) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DFlagDeclaringOp.java31 private final StreamShape shape; field in class:FlagDeclaringOp
37 public FlagDeclaringOp(int flags, StreamShape shape) { argument
39 this.shape = shape;
44 return shape;
49 return shape;
H A DTestFlagExpectedOp.java33 StreamShape shape = StreamShape.REFERENCE; field in class:TestFlagExpectedOp.Builder
58 Builder<T> shape(StreamShape shape) { argument
59 this.shape = shape;
64 return new TestFlagExpectedOp<>(flags, known, preserve, notKnown, shape);
71 final StreamShape shape; field in class:TestFlagExpectedOp
84 StreamShape shape) {
89 this.shape = shape;
80 TestFlagExpectedOp(int flags, EnumSet<StreamOpFlag> known, EnumSet<StreamOpFlag> preserve, EnumSet<StreamOpFlag> notKnown, StreamShape shape) argument
[all...]
H A DOpTestCase.java107 // If the first version is s -> s.foo(), can be used with s -> s.mapToInt(i -> i).foo().mapToObj(i -> i) to test all shape variants
143 // If the first version is s -> s.foo(), can be used with s -> s.mapToInt(i -> i).foo().mapToObj(i -> i) to test all shape variants
251 final StreamShape shape; field in class:OpTestCase.ExerciseDataStreamBuilder
275 this.shape = ((AbstractPipeline<?, U, ?>) m.apply(data.stream())).getOutputShape();
277 // Have to initiate from the output shape of the last stream
279 testSet.addAll(testScenarios.get(shape));
334 if (ts.getShape() == shape) {
354 if (ts.getShape() == shape) {
449 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { argument
460 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
584 createPipeline(StreamShape shape, Spliterator s, int flags, boolean parallel) argument
641 private final StreamShape shape; field in class:OpTestCase.ShortCircuitOp
643 ShortCircuitOp(StreamShape shape) argument
[all...]
H A DCollectorOps.java81 protected TestParallelSizedOp(StreamShape shape) { argument
82 super(0, shape);
H A DTestData.java212 private final StreamShape shape; field in class:TestData.AbstractTestData
220 StreamShape shape,
227 this.shape = shape;
237 return shape;
219 AbstractTestData(String name, StreamShape shape, T_STATE state, Function<T_STATE, S> streamFn, Function<T_STATE, S> parStreamFn, Function<T_STATE, T_SPLITR> splitrFn, ToIntFunction<T_STATE> sizeFn) argument
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DFlagDeclaringOp.java34 private final StreamShape shape; field in class:FlagDeclaringOp
40 public FlagDeclaringOp(int flags, StreamShape shape) { argument
42 this.shape = shape;
47 return shape;
52 return shape;
H A DTestFlagExpectedOp.java34 StreamShape shape = StreamShape.REFERENCE; field in class:TestFlagExpectedOp.Builder
59 Builder<T> shape(StreamShape shape) { argument
60 this.shape = shape;
65 return new TestFlagExpectedOp<>(flags, known, preserve, notKnown, shape);
72 final StreamShape shape; field in class:TestFlagExpectedOp
85 StreamShape shape) {
90 this.shape = shape;
81 TestFlagExpectedOp(int flags, EnumSet<StreamOpFlag> known, EnumSet<StreamOpFlag> preserve, EnumSet<StreamOpFlag> notKnown, StreamShape shape) argument
[all...]
H A DOpTestCase.java108 // If the first version is s -> s.foo(), can be used with s -> s.mapToInt(i -> i).foo().mapToObj(i -> i) to test all shape variants
144 // If the first version is s -> s.foo(), can be used with s -> s.mapToInt(i -> i).foo().mapToObj(i -> i) to test all shape variants
252 final StreamShape shape; field in class:OpTestCase.ExerciseDataStreamBuilder
276 this.shape = ((AbstractPipeline<?, U, ?>) m.apply(data.stream())).getOutputShape();
278 // Have to initiate from the output shape of the last stream
280 testSet.addAll(testScenarios.get(shape));
335 if (ts.getShape() == shape) {
355 if (ts.getShape() == shape) {
450 default R run(Function<S_OUT, R> terminalF, S_OUT source, StreamShape shape) { argument
461 public Object run(Function terminalF, BaseStream source, StreamShape shape) {
585 createPipeline(StreamShape shape, Spliterator s, int flags, boolean parallel) argument
642 private final StreamShape shape; field in class:OpTestCase.ShortCircuitOp
644 ShortCircuitOp(StreamShape shape) argument
[all...]
H A DCollectorOps.java82 protected TestParallelSizedOp(StreamShape shape) { argument
83 super(0, shape);
H A DTestData.java213 private final StreamShape shape; field in class:TestData.AbstractTestData
221 StreamShape shape,
228 this.shape = shape;
238 return shape;
220 AbstractTestData(String name, StreamShape shape, T_STATE state, Function<T_STATE, S> streamFn, Function<T_STATE, S> parStreamFn, Function<T_STATE, T_SPLITR> splitrFn, ToIntFunction<T_STATE> sizeFn) argument
/libcore/ojluni/src/main/java/java/util/stream/
H A DFindOps.java109 private final StreamShape shape; field in class:FindOps.FindOp
120 * @param shape stream shape of elements to search
128 StreamShape shape,
133 this.shape = shape;
146 return shape;
127 FindOp(boolean mustFindFirst, StreamShape shape, O emptyValue, Predicate<O> presentPredicate, Supplier<TerminalSink<T, O>> sinkSupplier) argument
H A DMatchOps.java204 * @param shape the output shape of the stream pipeline
207 * appropriate shape which implements the matching operation
209 MatchOp(StreamShape shape, argument
212 this.inputShape = shape;
248 * results. Subclasses implement the shape-specific functionality.
H A DSliceOps.java71 * Creates a slice spliterator given a stream shape governing the
76 private static <P_IN> Spliterator<P_IN> sliceSpliterator(StreamShape shape, argument
81 switch (shape) {
95 throw new IllegalStateException("Unknown shape " + shape);
167 // to shape of the source, and is potentially more efficient
276 // to shape of the source, and is potentially more efficient
385 // to shape of the source, and is potentially more efficient
494 // to shape of the source, and is potentially more efficient
H A DNodes.java72 // General shape-based node creation methods
78 * @param shape the shape of the node to be created
82 static <T> Node<T> emptyNode(StreamShape shape) { argument
83 switch (shape) {
89 throw new IllegalStateException("Unknown shape " + shape);
105 * @param shape the shape of the concatenated node to be created
113 static <T> Node<T> conc(StreamShape shape, Nod argument
[all...]
H A DReduceOps.java689 * Create a {@code ReduceOp} of the specified stream shape which uses
692 * @param shape The shape of the stream pipeline
694 ReduceOp(StreamShape shape) { argument
695 inputShape = shape;
/libcore/ojluni/src/main/java/java/awt/font/
H A DNumericShaper.java41 * interpret the deprecated numeric shape selector character (U+206E).
48 * shape European digits to Arabic in an Arabic context:<br>
62 * // shape all EUROPEAN digits (except zero) to ARABIC digits
64 * shaper.shape(text, start, count);
66 * // shape European digits to ARABIC digits if preceding text is Arabic, or
67 * // shape European digits to TAMIL digits if preceding text is Tamil, or
74 * shaper.shape(text, start, count);
373 /** flag indicating whether to shape contextually (high bit) and which
374 * digit ranges to shape (bits 0-18)
389 * shape
1100 public void shape(char[] text, int start, int count) { method in class:NumericShaper
1131 public void shape(char[] text, int start, int count, int context) { method in class:NumericShaper
1163 public void shape(char[] text, int start, int count, Range context) { method in class:NumericShaper
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java2189 public static final int shape = 0; field in class:R

Completed in 679 milliseconds