Home
last modified time | relevance | path

Searched defs:data (Results 1 – 25 of 223) sorted by relevance

123456789

/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamReuseTest.java40 D data, in assertSecondFails()
85 public void testTwoStreams(String name, TestData<Integer, Stream<Integer>> data) { in testTwoStreams()
105 public void testTwoTerminals(String name, TestData<Integer, Stream<Integer>> data) { in testTwoTerminals()
113 public void testTerminalStream(String name, TestData<Integer, Stream<Integer>> data) { in testTerminalStream()
133 public void testTwoIterators(String name, TestData<Integer, Stream<Integer>> data) { in testTwoIterators()
141 public void testTerminalIterator(String name, TestData<Integer, Stream<Integer>> data) { in testTerminalIterator()
153 public void testStreamIterator(String name, TestData<Integer, Stream<Integer>> data) { in testStreamIterator()
175 public void testTwoStreams(String name, TestData.OfInt data) { in testTwoStreams()
195 public void testTwoTerminals(String name, TestData.OfInt data) { in testTwoTerminals()
203 public void testTerminalStream(String name, TestData.OfInt data) { in testTerminalStream()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java412 short[] data = new short[8]; in shortBufferTest() local
422 short[] data = new short[8]; in shortBufferTest() local
432 short[] data = new short[8]; in shortBufferTest() local
440 short[] data = {0, 10, 20, 30, 40, 50, 60, 70}; in shortBufferTest() local
516 int[] data = new int[8]; in intBufferTest() local
526 int[] data = new int[8]; in intBufferTest() local
536 int[] data = new int[8]; in intBufferTest() local
544 int[] data = {0, 10, 20, 30, 40, 50, 60, 70}; in intBufferTest() local
620 float[] data = new float[8]; in floatBufferTest() local
630 float[] data = new float[8]; in floatBufferTest() local
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DMapMultiOpTest.java140 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
146 TestData.OfRef<Integer> data, in testOps()
161 public void testOpsX(String name, TestData.OfRef<Integer> data) { in testOpsX()
169 public void testDefaultOpsX(String name, TestData.OfRef<Integer> data) { in testDefaultOpsX()
191 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
197 TestData.OfInt data, in testIntOps()
212 public void testIntOpsX(String name, TestData.OfInt data) { in testIntOpsX()
221 public void testDefaultIntOpsX(String name, TestData.OfInt data) { in testDefaultIntOpsX()
245 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
251 TestData.OfDouble data, in testDoubleOps()
[all …]
DFindFirstOpTest.java60 public void testStream(String name, TestData.OfRef<Integer> data) { in testStream()
67 … void exerciseStream(TestData.OfRef<Integer> data, Function<Stream<Integer>, Stream<Integer>> fs) { in exerciseStream()
84 public void testIntStream(String name, TestData.OfInt data) { in testIntStream()
91 void exerciseIntStream(TestData.OfInt data, Function<IntStream, IntStream> fs) { in exerciseIntStream()
104 public void testLongStream(String name, TestData.OfLong data) { in testLongStream()
111 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) { in exerciseLongStream()
124 public void testDoubleStream(String name, TestData.OfDouble data) { in testDoubleStream()
131 void exerciseDoubleStream(TestData.OfDouble data, Function<DoubleStream, DoubleStream> fs) { in exerciseDoubleStream()
DStreamBuilderTest.java62 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier("{1}", in testOfNullableWithNonNull() local
73 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier("{null})", in testOfNullableWithNull() local
84 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier("{1}", in testSingleton() local
129 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier(String.format("[0, %d)", size), in testStreamBuilder() local
147 TestData.OfInt data = TestData.Factory.ofIntSupplier("{1}", in testIntSingleton() local
192 TestData.OfInt data = TestData.Factory.ofIntSupplier(String.format("[0, %d)", size), in testIntStreamBuilder() local
210 TestData.OfLong data = TestData.Factory.ofLongSupplier("{1}", in testLongSingleton() local
255 TestData.OfLong data = TestData.Factory.ofLongSupplier(String.format("[0, %d)", size), in testLongStreamBuilder() local
273 TestData.OfDouble data = TestData.Factory.ofDoubleSupplier("{1}", () -> DoubleStream.of(1)); in testDoubleSingleton() local
317 TestData.OfDouble data = TestData.Factory.ofDoubleSupplier(String.format("[0, %d)", size), in testDoubleStreamBuilder() local
DFindAnyOpTest.java66 public void testStream(String name, TestData.OfRef<Integer> data) { in testStream()
73 … void exerciseStream(TestData.OfRef<Integer> data, Function<Stream<Integer>, Stream<Integer>> fs) { in exerciseStream()
79 public void testIntStream(String name, TestData.OfInt data) { in testIntStream()
86 void exerciseIntStream(TestData.OfInt data, Function<IntStream, IntStream> fs) { in exerciseIntStream()
103 public void testLongStream(String name, TestData.OfLong data) { in testLongStream()
110 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) { in exerciseLongStream()
127 public void testDoubleStream(String name, TestData.OfDouble data) { in testDoubleStream()
134 void exerciseDoubleStream(TestData.OfDouble data, Function<DoubleStream, DoubleStream> fs) { in exerciseDoubleStream()
DDistinctOpTest.java79 public void testOp(String name, TestData.OfRef<Integer> data) { in testOp()
93 public void testOpWithNull(String name, TestData.OfRef<Integer> data) { in testOpWithNull()
107 public void testOpWithNullSorted(String name, TestData.OfRef<Integer> data) { in testOpWithNullSorted()
144 public void testDistinctDistinct(String name, TestData.OfRef<Integer> data) { in testDistinctDistinct()
156 public void testDistinctSorted(String name, TestData.OfRef<Integer> data) { in testDistinctSorted()
166 public void testSortedDistinct(String name, TestData.OfRef<Integer> data) { in testSortedDistinct()
182 TestData<Integer, Stream<Integer>> data = TestData.Factory.ofCollection( in testStable() local
DMapOpTest.java89 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
104 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
120 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
135 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
DToArrayOpTest.java62 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
67 public void testOpsWithMap(String name, TestData.OfRef<Integer> data) { in testOpsWithMap()
76 public void testOpsWithSorted(String name, TestData.OfRef<Integer> data) { in testOpsWithSorted()
85 public void testOpsWithFlatMap(String name, TestData.OfRef<Integer> data) { in testOpsWithFlatMap()
96 public void testOpsWithFilter(String name, TestData.OfRef<Integer> data) { in testOpsWithFilter()
123 public void testDistinctAndSortedPermutations(String name, TestData.OfRef<Integer> data) { in testDistinctAndSortedPermutations()
153 …ate <T extends Object> ResultAsserter<T[]> statefulOpResultAsserter(TestData.OfRef<Integer> data) { in statefulOpResultAsserter()
DMinMaxTest.java62 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
75 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
88 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
101 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
DFilterOpTest.java63 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
81 public void testOps(String name, TestData.OfInt data) { in testOps()
93 public void testOps(String name, TestData.OfLong data) { in testOps()
105 public void testOps(String name, TestData.OfDouble data) { in testOps()
DFlatMapOpTest.java136 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
148 public void testOpsX(String name, TestData.OfRef<Integer> data) { in testOpsX()
166 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
180 public void testIntOpsX(String name, TestData.OfInt data) { in testIntOpsX()
206 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
220 public void testLongOpsX(String name, TestData.OfLong data) { in testLongOpsX()
243 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
257 public void testDoubleOpsX(String name, TestData.OfDouble data) { in testDoubleOpsX()
DInfiniteStreamWithLimitOpTest.java67 List<Object[]> data = new ArrayList<>(); in sliceFunctionsDataProvider() local
81 List<Object[]> data = new ArrayList<>(); in intSliceFunctionsDataProvider() local
95 List<Object[]> data = new ArrayList<>(); in longSliceFunctionsDataProvider() local
109 List<Object[]> data = new ArrayList<>(); in doubleSliceFunctionsDataProvider() local
DPrimitiveAverageOpTest.java39 public void testOps(String name, TestData.OfInt data) { in testOps()
44 public void testOps(String name, TestData.OfLong data) { in testOps()
53 public void testOps(String name, TestData.OfDouble data) { in testOps()
DPrimitiveSumTest.java44 public void testOps(String name, TestData.OfInt data) { in testOps()
54 public void testOps(String name, TestData.OfLong data) { in testOps()
68 public void testOps(String name, TestData.OfDouble data) { in testOps()
DToListOpTest.java68 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
75 public void testOpsWithNull(String name, TestData.OfRef<Integer> data) { in testOpsWithNull()
82 public void testDefaultOps(String name, TestData.OfRef<Integer> data) { in testDefaultOps()
89 public void testDefaultOpsWithNull(String name, TestData.OfRef<Integer> data) { in testDefaultOpsWithNull()
DExplodeOpTest.java75 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
93 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
108 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
123 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java43 public static String newStringFromBytes(byte[] data) { in newStringFromBytes()
47 public static String newStringFromBytes(byte[] data, byte coder) { in newStringFromBytes()
61 public static native String newStringFromUtf16Bytes(byte[] data, int offset, int charCount); in newStringFromUtf16Bytes()
63 public static String newStringFromBytes(byte[] data, int high) { in newStringFromBytes()
67 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes()
72 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes()
74 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes()
78 …public static String newStringFromBytes(byte[] data, String charsetName) throws UnsupportedEncodin… in newStringFromBytes()
83 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes()
112 public static String newStringFromBytes(byte[] data, Charset charset) { in newStringFromBytes()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DPrimitiveIteratorTest.java92 final int[] data = new int[] { 1, 2, 4, 5 }; in testIntIterator_forEachRemaining_Consumer() local
109 final int[] data = new int[] { 1, 2, 4, 5 }; in testIntIterator_forEachRemaining_boxedConsumer() local
133 final int[] data = new int[] { 1 }; in testIntIterator_forEachRemaining_boxedNext() local
139 final long[] data = new long[] { 1, 2, 4, 5 }; in testLongIterator_forEachRemaining_Consumer() local
156 final long[] data = new long[] { 1, 2, 4, 5 }; in testLongIterator_forEachRemaining_boxedConsumer() local
180 final long[] data = new long[] { 1L }; in testLongIterator_forEachRemaining_boxedNext() local
186 final double[] data = new double[] { 1, 2, 4, 5 }; in testDoubleIterator_forEachRemaining_Consumer() local
203 final double[] data = new double[] { 1, 2, 4, 5 }; in testDoubleIterator_forEachRemaining_boxedConsumer() local
227 final double[] data = new double[] { 1.0 }; in testDoubleIterator_forEachRemaining_boxedNext() local
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStreamTestScenario.java47 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
60 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument
70 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument
80 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument
89 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument
97 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
105 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH() argument
113 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
121 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
130 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SPLITERATOR() argument
[all …]
DLongStreamTestScenario.java48 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
60 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument
69 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument
78 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument
87 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
95 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH() argument
102 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
110 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
119 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR() argument
128 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() argument
[all …]
DIntStreamTestScenario.java48 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
60 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument
69 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument
78 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument
87 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
95 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH() argument
102 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
110 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
119 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR() argument
128 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() argument
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DStreamTestScenario.java50 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
63 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_COLLECT() argument
73 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_TO_ARRAY() argument
83 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_ITERATOR() argument
92 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR() argument
100 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
108 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in STREAM_SPLITERATOR_FOREACH() argument
116 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
124 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
133 void _run(TestData<T, S_IN> data, Consumer<U> b, Function<S_IN, Stream<U>> m) { in PAR_STREAM_SPLITERATOR() argument
[all …]
DLongStreamTestScenario.java51 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
63 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_TO_ARRAY() argument
72 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_ITERATOR() argument
81 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR() argument
90 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
98 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in STREAM_SPLITERATOR_FOREACH() argument
105 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
113 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
122 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR() argument
131 void _run(TestData<T, S_IN> data, LongConsumer b, Function<S_IN, LongStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() argument
[all …]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DProcessingInstructionImpl.java38 private String data; field in ProcessingInstructionImpl
40 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { in ProcessingInstructionImpl()
69 public void setData(String data) throws DOMException { in setData()

123456789