Home
last modified time | relevance | path

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

12345678

/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/libart/src/main/java/java/lang/
DStringFactory.java45 public static String newStringFromBytes(byte[] data) { in newStringFromBytes()
49 public static String newStringFromBytes(byte[] data, int high) { in newStringFromBytes()
53 public static String newStringFromBytes(byte[] data, int offset, int byteCount) { in newStringFromBytes()
58 … public static native String newStringFromBytes(byte[] data, int high, int offset, int byteCount); in newStringFromBytes()
60 …public static String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName… in newStringFromBytes()
64 …public static String newStringFromBytes(byte[] data, String charsetName) throws UnsupportedEncodin… in newStringFromBytes()
69 … public static String newStringFromBytes(byte[] data, int offset, int byteCount, Charset charset) { in newStringFromBytes()
100 public static String newStringFromBytes(byte[] data, Charset charset) { in newStringFromBytes()
104 public static String newStringFromChars(char[] data) { in newStringFromChars()
108 public static String newStringFromChars(char[] data, int offset, int charCount) { in newStringFromChars()
[all …]
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
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()
80 public void testIntStream(String name, TestData.OfInt data) { in testIntStream()
87 void exerciseIntStream(TestData.OfInt data, Function<IntStream, IntStream> fs) { in exerciseIntStream()
100 public void testLongStream(String name, TestData.OfLong data) { in testLongStream()
107 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) { in exerciseLongStream()
120 public void testDoubleStream(String name, TestData.OfDouble data) { in testDoubleStream()
127 void exerciseDoubleStream(TestData.OfDouble data, Function<DoubleStream, DoubleStream> fs) { in exerciseDoubleStream()
DDistinctOpTest.java80 public void testOp(String name, TestData.OfRef<Integer> data) { in testOp()
94 public void testOpWithNull(String name, TestData.OfRef<Integer> data) { in testOpWithNull()
108 public void testOpWithNullSorted(String name, TestData.OfRef<Integer> data) { in testOpWithNullSorted()
145 public void testDistinctDistinct(String name, TestData.OfRef<Integer> data) { in testDistinctDistinct()
157 public void testDistinctSorted(String name, TestData.OfRef<Integer> data) { in testDistinctSorted()
167 public void testSortedDistinct(String name, TestData.OfRef<Integer> data) { in testSortedDistinct()
183 TestData<Integer, Stream<Integer>> data = TestData.Factory.ofCollection( in testStable() local
DFindAnyOpTest.java67 public void testStream(String name, TestData.OfRef<Integer> data) { in testStream()
74 … void exerciseStream(TestData.OfRef<Integer> data, Function<Stream<Integer>, Stream<Integer>> fs) { in exerciseStream()
91 public void testIntStream(String name, TestData.OfInt data) { in testIntStream()
98 void exerciseIntStream(TestData.OfInt data, Function<IntStream, IntStream> fs) { in exerciseIntStream()
115 public void testLongStream(String name, TestData.OfLong data) { in testLongStream()
122 void exerciseLongStream(TestData.OfLong data, Function<LongStream, LongStream> fs) { in exerciseLongStream()
139 public void testDoubleStream(String name, TestData.OfDouble data) { in testDoubleStream()
146 void exerciseDoubleStream(TestData.OfDouble data, Function<DoubleStream, DoubleStream> fs) { in exerciseDoubleStream()
DMapOpTest.java86 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
100 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
115 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
129 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
DToArrayOpTest.java60 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
65 public void testOpsWithMap(String name, TestData.OfRef<Integer> data) { in testOpsWithMap()
74 public void testOpsWithSorted(String name, TestData.OfRef<Integer> data) { in testOpsWithSorted()
83 public void testOpsWithFlatMap(String name, TestData.OfRef<Integer> data) { in testOpsWithFlatMap()
94 public void testOpsWithFilter(String name, TestData.OfRef<Integer> data) { in testOpsWithFilter()
120 public void testDistinctAndSortedPermutations(String name, TestData.OfRef<Integer> data) { in testDistinctAndSortedPermutations()
150 …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()
DCountTest.java51 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
62 public void testOps(String name, TestData.OfInt data) { in testOps()
73 public void testOps(String name, TestData.OfLong data) { in testOps()
84 public void testOps(String name, TestData.OfDouble data) { in testOps()
DFilterOpTest.java67 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
85 public void testOps(String name, TestData.OfInt data) { in testOps()
97 public void testOps(String name, TestData.OfLong data) { in testOps()
109 public void testOps(String name, TestData.OfDouble data) { in testOps()
DStreamBuilderTest.java77 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier("[0, 1)", in testSingleton() local
121 TestData.OfRef<Integer> data = TestData.Factory.ofSupplier(String.format("[0, %d)", size), in testStreamBuilder() local
139 TestData.OfInt data = TestData.Factory.ofIntSupplier("[0, 1)", in testIntSingleton() local
183 TestData.OfInt data = TestData.Factory.ofIntSupplier(String.format("[0, %d)", size), in testIntStreamBuilder() local
201 TestData.OfLong data = TestData.Factory.ofLongSupplier("[0, 1)", in testLongSingleton() local
245 TestData.OfLong data = TestData.Factory.ofLongSupplier(String.format("[0, %d)", size), in testLongStreamBuilder() local
263 … TestData.OfDouble data = TestData.Factory.ofDoubleSupplier("[0, 1)", () -> DoubleStream.of(1)); in testDoubleSingleton() local
306 TestData.OfDouble data = TestData.Factory.ofDoubleSupplier(String.format("[0, %d)", size), in testDoubleStreamBuilder() local
DInfiniteStreamWithLimitOpTest.java64 List<Object[]> data = new ArrayList<>(); in sliceFunctionsDataProvider() local
78 List<Object[]> data = new ArrayList<>(); in intSliceFunctionsDataProvider() local
92 List<Object[]> data = new ArrayList<>(); in longSliceFunctionsDataProvider() local
106 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()
DExplodeOpTest.java72 public void testOps(String name, TestData.OfRef<Integer> data) { in testOps()
90 public void testIntOps(String name, TestData.OfInt data) { in testIntOps()
105 public void testLongOps(String name, TestData.OfLong data) { in testLongOps()
120 public void testDoubleOps(String name, TestData.OfDouble data) { in testDoubleOps()
/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 …]
DDoubleStreamTestScenario.java52 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
64 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_TO_ARRAY() argument
73 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_ITERATOR() argument
82 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR() argument
91 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
99 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in STREAM_SPLITERATOR_FOREACH() argument
106 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
114 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
123 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR() argument
132 void _run(TestData<T, S_IN> data, DoubleConsumer b, Function<S_IN, DoubleStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() argument
[all …]
DIntStreamTestScenario.java51 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_FOR_EACH_WITH_CLOSE() argument
63 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_TO_ARRAY() argument
72 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_ITERATOR() argument
81 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR() argument
90 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT() argument
98 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in STREAM_SPLITERATOR_FOREACH() argument
105 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SEQUENTIAL_FOR_EACH() argument
113 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_FOR_EACH_ORDERED() argument
122 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR() argument
131 void _run(TestData<T, S_IN> data, IntConsumer b, Function<S_IN, IntStream> m) { in PAR_STREAM_SPLITERATOR_FOREACH() 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()

12345678