Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamCloseTest.java57 Arrays.fill(holder, false); in testOneCloseHandler()
63 Arrays.fill(holder, false); in testOneCloseHandler()
69 Arrays.fill(holder, false); in testOneCloseHandler()
87 Arrays.fill(holder, false); in testTwoCloseHandlers()
93 Arrays.fill(holder, false); in testTwoCloseHandlers()
99 Arrays.fill(holder, false); in testTwoCloseHandlers()
124 Arrays.fill(holder, false); in testCascadedExceptions()
137 Arrays.fill(holder, false); in testCascadedExceptions()
149 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/sun/misc/
DFormattedFloatingDecimal.java130 Arrays.fill(digits, 1, nDigits, '0'); in applyPrecision()
133 Arrays.fill(digits, 0, nDigits, '0'); in applyPrecision()
148 Arrays.fill(digits, 1, nDigits, '0'); in applyPrecision()
153 Arrays.fill(digits, i+1, nDigits, '0'); in applyPrecision()
155 Arrays.fill(digits, prec, nDigits, '0'); in applyPrecision()
171 Arrays.fill(mantissa, startIndex + nDigits, startIndex + nDigits + extraZeros, '0'); in fillCompatible()
194 Arrays.fill(mantissa, startIndex + 2, startIndex + 2 + zeros, '0'); in fillCompatible()
269 Arrays.fill(mantissa, startIndex + nDigits, startIndex + exp, '0'); in fillDecimal()
293 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()
335 fill(); in readLine()
422 fill(); in skip()
466 fill(); in ready()
DBufferedInputStream.java215 private void fill() throws IOException { in fill() method in BufferedInputStream
267 fill(); in read()
288 fill(); in read1()
382 fill(); in skip()
/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/annotations/sdk/nullability/java/util/
DArrays.annotated.java188 public static void fill(long @libcore.util.NonNull [] a, long val) { throw new RuntimeException("St… in fill() method in Arrays
190 public static void fill(long @libcore.util.NonNull [] a, int fromIndex, int toIndex, long val) { th… in fill() method in Arrays
192 public static void fill(int @libcore.util.NonNull [] a, int val) { throw new RuntimeException("Stub… in fill() method in Arrays
194 public static void fill(int @libcore.util.NonNull [] a, int fromIndex, int toIndex, int val) { thro… in fill() method in Arrays
196 public static void fill(short @libcore.util.NonNull [] a, short val) { throw new RuntimeException("… in fill() method in Arrays
198 public static void fill(short @libcore.util.NonNull [] a, int fromIndex, int toIndex, short val) { … in fill() method in Arrays
200 public static void fill(char @libcore.util.NonNull [] a, char val) { throw new RuntimeException("St… in fill() method in Arrays
202 public static void fill(char @libcore.util.NonNull [] a, int fromIndex, int toIndex, char val) { th… in fill() method in Arrays
204 public static void fill(byte @libcore.util.NonNull [] a, byte val) { throw new RuntimeException("St… in fill() method in Arrays
206 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/jar/
DManifest.java337 fill(); in read()
351 fill(); in read()
375 fill(); in readLine()
402 fill(); in peek()
439 private void fill() throws IOException { in fill() method in Manifest.FastInputStream
/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()
DOldInputStreamReaderTest.java145 Arrays.fill(data, (byte) 116); // 116 = ISO-8859-1 value for 't' in testInputStreamReaderSuccessiveReads()
259 Arrays.fill(bytes, (byte) ' '); in test_readWhenCharacterSpansBuffer()
/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()
/libcore/ojluni/src/main/java/java/util/zip/
DInflaterInputStream.java177 fill(); in read()
264 protected void fill() throws IOException { in fill() method in InflaterInputStream
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
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
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
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
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
/libcore/ojluni/src/main/java/java/util/
DArrays.java2770 public static void fill(long[] a, long val) { in fill() method in Arrays
2792 public static void fill(long[] a, int fromIndex, int toIndex, long val) { in fill() method in Arrays
2805 public static void fill(int[] a, int val) { in fill() method in Arrays
2827 public static void fill(int[] a, int fromIndex, int toIndex, int val) { in fill() method in Arrays
2840 public static void fill(short[] a, short val) { in fill() method in Arrays
2862 public static void fill(short[] a, int fromIndex, int toIndex, short val) { in fill() method in Arrays
2875 public static void fill(char[] a, char val) { in fill() method in Arrays
2897 public static void fill(char[] a, int fromIndex, int toIndex, char val) { in fill() method in Arrays
2910 public static void fill(byte[] a, byte val) { in fill() method in Arrays
2932 public static void fill(byte[] a, int fromIndex, int toIndex, byte val) { in fill() method in Arrays
[all …]
/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()
DCopyOnWriteArrayListTest.java458 Arrays.fill(a, 42); in testToArray2()
470 Arrays.fill(a, 42); in testToArray2()
477 Arrays.fill(a, 42); in testToArray2()
482 Arrays.fill(a, 42); in testToArray2()
/libcore/luni/src/test/java/tests/security/interfaces/
DUtil.java100 java.util.Arrays.fill(bytes, (byte) 0); in engineNextBytes()
/libcore/luni/src/main/java/java/math/
DPrimality.java121 Arrays.fill(isDivisible, false); in nextProbablePrime()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStressTest.java146 Arrays.fill(input, pos, pos + howMany, what); in testZipDeflateInflateStress()
/libcore/json/src/main/java/org/json/
DJSONStringer.java133 Arrays.fill(indentChars, ' '); in JSONStringer()

123