Home
last modified time | relevance | path

Searched refs:fill (Results 1 – 25 of 108) sorted by relevance

12345

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamCloseTest.java65 Arrays.fill(holder, false); in testOneCloseHandler()
71 Arrays.fill(holder, false); in testOneCloseHandler()
77 Arrays.fill(holder, false); in testOneCloseHandler()
95 Arrays.fill(holder, false); in testTwoCloseHandlers()
101 Arrays.fill(holder, false); in testTwoCloseHandlers()
107 Arrays.fill(holder, false); in testTwoCloseHandlers()
132 Arrays.fill(holder, false); in testCascadedExceptions()
145 Arrays.fill(holder, false); in testCascadedExceptions()
157 Arrays.fill(holder, false); in testCascadedExceptions()
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrays.java385 public static void fill(long[] a, long val) { in fill() method in Arrays
389 public static void fill(long[] a, int fromIndex, int toIndex, long val) { in fill() method in Arrays
393 public static void fill(int[] a, int val) { in fill() method in Arrays
397 public static void fill(int[] a, int fromIndex, int toIndex, int val) { in fill() method in Arrays
401 public static void fill(short[] a, short val) { in fill() method in Arrays
405 public static void fill(short[] a, int fromIndex, int toIndex, short val) { in fill() method in Arrays
409 public static void fill(char[] a, char val) { in fill() method in Arrays
413 public static void fill(char[] a, int fromIndex, int toIndex, char val) { in fill() method in Arrays
417 public static void fill(byte[] a, byte val) { in fill() method in Arrays
421 public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { in fill() method in Arrays
[all …]
/libcore/ojluni/src/main/java/jdk/internal/math/
DFormattedFloatingDecimal.java148 Arrays.fill(digits, 1, nDigits, '0'); in applyPrecision()
151 Arrays.fill(digits, 0, nDigits, '0'); in applyPrecision()
166 Arrays.fill(digits, 1, nDigits, '0'); in applyPrecision()
171 Arrays.fill(digits, i+1, nDigits, '0'); in applyPrecision()
173 Arrays.fill(digits, prec, nDigits, '0'); in applyPrecision()
189 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0'); in fillCompatible()
212 Arrays.fill(mantissa, startIndex + 2, startIndex + 2 + zeros, '0'); in fillCompatible()
287 Arrays.fill(mantissa, startIndex + nDigits, startIndex + exp, '0'); in fillDecimal()
311 Arrays.fill(mantissa, startIndex + 2, startIndex + 2 + zeros, '0'); in fillDecimal()
/libcore/ojluni/src/main/java/java/io/
DBufferedReader.java129 private void fill() throws IOException { in fill() method in BufferedReader
193 fill(); in read()
223 fill(); in read1()
231 fill(); in read1()
337 fill(); in readLine()
425 fill(); in skip()
469 fill(); in ready()
DBufferedInputStream.java206 private void fill() throws IOException { in fill() method in BufferedInputStream
258 fill(); in read()
279 fill(); in read1()
373 fill(); in skip()
/libcore/ojluni/src/test/java/util/Arrays/
DFill.java42 Arrays.fill(new Integer[3], "foo"); in realMain()
49 Arrays.fill(new Integer[3], 0, 2, "foo"); in realMain()
56 Arrays.fill(new Integer[3], 0, 4, "foo"); in realMain()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java430 Arrays.fill(d, Byte.MAX_VALUE); in test_fill$BB()
443 Arrays.fill(d, 400, d.length, val); in test_fill$BIIB()
451 Arrays.fill(new byte[2], 2, 1, (byte) 27); in test_fill$BIIB()
460 Arrays.fill(new byte[2], -1, 1, (byte) 27); in test_fill$BIIB()
469 Arrays.fill(new byte[2], 1, 4, (byte) 27); in test_fill$BIIB()
486 Arrays.fill(d, Short.MAX_VALUE); in test_fill$SS()
499 Arrays.fill(d, 400, d.length, val); in test_fill$SIIS()
506 Arrays.fill(d, 10, 0, val); in test_fill$SIIS()
513 Arrays.fill(d, -10, 0, val); in test_fill$SIIS()
520 Arrays.fill(d, 10, d.length+1, val); in test_fill$SIIS()
[all …]
DArrays2Test.java80 Arrays.fill(d, Double.MAX_VALUE); in test_equals$D$D()
81 Arrays.fill(x, Double.MIN_VALUE); in test_equals$D$D()
85 Arrays.fill(x, Double.MAX_VALUE); in test_equals$D$D()
103 Arrays.fill(d, Float.MAX_VALUE); in test_equals$F$F()
104 Arrays.fill(x, Float.MIN_VALUE); in test_equals$F$F()
108 Arrays.fill(x, Float.MAX_VALUE); in test_equals$F$F()
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleBaseByteArrayTest.java99 abstract void fill(byte value); in fill() method in VarHandleBaseByteArrayTest.ByteArrayViewSource
101 abstract void fill(byte[] values); in fill() method in VarHandleBaseByteArrayTest.ByteArrayViewSource
109 void fill(byte value) { in fill() method in VarHandleBaseByteArrayTest.ByteArraySource
110 Arrays.fill(s, value); in fill()
113 void fill(byte[] values) { in fill() method in VarHandleBaseByteArrayTest.ByteArraySource
125 void fill(byte value) { in fill() method in VarHandleBaseByteArrayTest.ByteBufferSource
131 void fill(byte[] values) { in fill() method in VarHandleBaseByteArrayTest.ByteBufferSource
151 void fill(byte value) { in fill() method in VarHandleBaseByteArrayTest.ByteBufferReadOnlySource
157 void fill(byte[] values) { in fill() method in VarHandleBaseByteArrayTest.ByteBufferReadOnlySource
/libcore/ojluni/src/test/java/util/zip/
DDeInflate.java48 Arrays.fill(out1, (byte)0); in checkStream()
49 Arrays.fill(out2, (byte)0); in checkStream()
175 Arrays.fill(out1, (byte)0); in check()
176 Arrays.fill(out2, (byte)0); in check()
184 Arrays.fill(out1, (byte)0); in check()
185 Arrays.fill(out2, (byte)0); in check()
193 Arrays.fill(out1, (byte)0); in check()
194 Arrays.fill(out2, (byte)0); in check()
/libcore/ojluni/src/main/java/java/util/jar/
DManifest.java436 fill(); in read()
450 fill(); in read()
474 fill(); in readLine()
504 fill(); in readLine()
526 fill(); in peek()
563 private void fill() throws IOException { in fill() method in Manifest.FastInputStream
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryTest.java41 Arrays.fill(array, (byte) 0); in testSetIntArray()
82 Arrays.fill(array, (byte) 0); in testSetLongArray()
120 Arrays.fill(array, (byte) 0); in testSetShortArray()
165 Arrays.fill(dst, (byte)-1); in checkPartialMemmove()
DStreamsTest.java40 Arrays.fill(dst, (byte)-1); in testReadFully()
/libcore/luni/src/test/java/libcore/java/io/
DOutputStreamWriterTest.java37 Arrays.fill(chars, 'x'); in testFlushCount()
56 Arrays.fill(cs, 'x'); in testFlush()
DDataOutputStreamTest.java95 Arrays.fill(chars, 0, chars.length, 'a'); in test_writeUTF()
110 Arrays.fill(expected, 7, expected.length, (byte) 'a'); in test_writeUTF()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DArrays.annotated.java210 public static void fill(long @libcore.util.NonNull [] a, long val) { throw new RuntimeException("St… in fill() method in Arrays
212 public static void fill(long @libcore.util.NonNull [] a, int fromIndex, int toIndex, long val) { th… in fill() method in Arrays
214 public static void fill(int @libcore.util.NonNull [] a, int val) { throw new RuntimeException("Stub… in fill() method in Arrays
216 public static void fill(int @libcore.util.NonNull [] a, int fromIndex, int toIndex, int val) { thro… in fill() method in Arrays
218 public static void fill(short @libcore.util.NonNull [] a, short val) { throw new RuntimeException("… in fill() method in Arrays
220 public static void fill(short @libcore.util.NonNull [] a, int fromIndex, int toIndex, short val) { … in fill() method in Arrays
222 public static void fill(char @libcore.util.NonNull [] a, char val) { throw new RuntimeException("St… in fill() method in Arrays
224 public static void fill(char @libcore.util.NonNull [] a, int fromIndex, int toIndex, char val) { th… in fill() method in Arrays
226 public static void fill(byte @libcore.util.NonNull [] a, byte val) { throw new RuntimeException("St… in fill() method in Arrays
228 public static void fill(byte @libcore.util.NonNull [] a, int fromIndex, int toIndex, byte val) { th… in fill() method in Arrays
[all …]
/libcore/ojluni/src/main/java/java/util/zip/
DInflaterInputStream.java210 fill(); in read()
301 protected void fill() throws IOException { in fill() method in InflaterInputStream
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DIntNodeTest.java53 nodes.add(fill(array, Nodes.intBuilder(array.length))); in createSizes()
54 nodes.add(fill(array, Nodes.intBuilder())); in createSizes()
90 private Node.OfInt fill(int[] array, Node.Builder.OfInt nb) { in fill() method in IntNodeTest
DNodeTest.java54 … nodes.add(fill(array, Nodes.builder(array.length, LambdaTestHelpers.integerArrayGenerator))); in createSizes()
55 nodes.add(fill(array, Nodes.builder())); in createSizes()
66 Node<Integer> fill(Integer[] array, Node.Builder<Integer> nb) { in fill() method in NodeTest
DLongNodeTest.java53 nodes.add(fill(array, Nodes.longBuilder(array.length))); in createSizes()
54 nodes.add(fill(array, Nodes.longBuilder())); in createSizes()
90 private Node.OfLong fill(long[] array, Node.Builder.OfLong nb) { in fill() method in LongNodeTest
DDoubleNodeTest.java53 nodes.add(fill(array, Nodes.doubleBuilder(array.length))); in createSizes()
54 nodes.add(fill(array, Nodes.doubleBuilder())); in createSizes()
90 private Node.OfDouble fill(double[] array, Node.Builder.OfDouble nb) { in fill() method in DoubleNodeTest
/libcore/ojluni/src/main/java/java/security/spec/
DEncodedKeySpec.java146 Arrays.fill(encodedKey, (byte)0); in clear()
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesPermuteArgumentsTest.java75 Arrays.fill(types, type1); in testPermuteArguments()
78 Arrays.fill(types, t2pos, Math.min(t2pos+t2c, inargs), type2); in testPermuteArguments()
98 Arrays.fill(reorder, i); in testPermuteArguments()
/libcore/jsr166-tests/src/test/java/jsr166/
DCopyOnWriteArraySetTest.java338 Arrays.fill(a, 42); in testToArray2()
350 Arrays.fill(a, 42); in testToArray2()
357 Arrays.fill(a, 42); in testToArray2()
362 Arrays.fill(a, 42); in testToArray2()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCopyOnWriteArraySetTest.java360 Arrays.fill(a, 42); in testToArray2()
372 Arrays.fill(a, 42); in testToArray2()
379 Arrays.fill(a, 42); in testToArray2()
384 Arrays.fill(a, 42); in testToArray2()

12345