/libcore/ojluni/src/test/java/util/Map/ |
D | ToArray.java | 67 private static final Long[] VALUES = new Long[TEST_SIZE]; field in ToArray 72 VALUES[each] = Long.valueOf(each + TEST_SIZE); 81 map.put(KEYS[each], VALUES[each]); in testMap() 97 Assert.assertTrue( values[each] == VALUES[each]); in testMap() 108 …sert.assertTrue( entries[each].getKey() == KEYS[each] && entries[each].getValue() == VALUES[each]); in testMap()
|
D | Defaults.java | 118 assertTrue(null == expected || expected == VALUES[1]); in testPutIfAbsent() 126 assertSame(map.putIfAbsent(EXTRA_KEY, VALUES[2]), EXTRA_VALUE); in testPutIfAbsent() 188 assertTrue(null == expected || expected == VALUES[1]); in testRemove() 220 assertTrue(null == expected || expected == VALUES[1]); in testReplaceKV() 265 assertTrue(null == expected || expected == VALUES[1]); in testReplaceKVV() 310 … assertTrue(null == expected || expected == VALUES[1], description + String.valueOf(expected)); in testComputeIfAbsent() 352 assertTrue(null == value || value == VALUES[1], description + String.valueOf(value)); in testComputeIfPresent() 438 assertTrue(null == value || value == VALUES[1], description + String.valueOf(value)); in testCompute() 479 map.put(EXTRA_KEY, VALUES[1]); in testMerge() 481 assertSame(map.get(EXTRA_KEY), VALUES[1], "wrong value"); in testMerge() local [all …]
|
D | BasicSerialization.java | 79 private static final String[] VALUES = new String[TEST_SIZE]; field in BasicSerialization 85 VALUES[each] = keys[each].name(); 218 result.put(KEYS[each], VALUES[each]); in fillMap()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicLongTest.java | 27 final long[] VALUES = { field in AtomicLongTest 221 for (long x : VALUES) { in testToString() 233 for (long x : VALUES) { in testIntValue() 245 for (long x : VALUES) { in testLongValue() 257 for (long x : VALUES) { in testFloatValue() 269 for (long x : VALUES) { in testDoubleValue()
|
D | AtomicIntegerTest.java | 27 final int[] VALUES = { field in AtomicIntegerTest 218 for (int x : VALUES) { in testToString() 230 for (int x : VALUES) { in testIntValue() 242 for (int x : VALUES) { in testLongValue() 254 for (int x : VALUES) { in testFloatValue() 266 for (int x : VALUES) { in testDoubleValue()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicIntegerTest.java | 50 final int[] VALUES = { field in AtomicIntegerTest 241 for (int x : VALUES) { in testToString() 253 for (int x : VALUES) { in testIntValue() 265 for (int x : VALUES) { in testLongValue() 277 for (int x : VALUES) { in testFloatValue() 289 for (int x : VALUES) { in testDoubleValue()
|
D | AtomicLongTest.java | 50 final long[] VALUES = { field in AtomicLongTest 244 for (long x : VALUES) { in testToString() 256 for (long x : VALUES) { in testIntValue() 268 for (long x : VALUES) { in testLongValue() 280 for (long x : VALUES) { in testFloatValue() 292 for (long x : VALUES) { in testDoubleValue()
|
/libcore/ojluni/src/test/java/util/Objects/ |
D | CheckLongIndex.java | 76 …static final long[] VALUES = {0, 1, Long.MAX_VALUE - 1, Long.MAX_VALUE, -1, Long.MIN_VALUE + 1, Lo… 81 for (long index : VALUES) { 82 for (long length : VALUES) { 139 for (long fromIndex : VALUES) { 140 for (long toIndex : VALUES) { 141 for (long length : VALUES) { 201 for (long fromIndex : VALUES) { 202 for (long size : VALUES) { 203 for (long length : VALUES) {
|
D | CheckIndex.java | 77 …static final int[] VALUES = {0, 1, Integer.MAX_VALUE - 1, Integer.MAX_VALUE, -1, Integer.MIN_VALUE… 82 for (int index : VALUES) { 83 for (int length : VALUES) { 140 for (int fromIndex : VALUES) { 141 for (int toIndex : VALUES) { 142 for (int length : VALUES) { 202 for (int fromIndex : VALUES) { 203 for (int size : VALUES) { 204 for (int length : VALUES) {
|
D | BasicObjectsTest.java | 113 String[] VALUES = {"E. E. Cummings", "ZZZ"}; in testCompare() local 118 for(int j = 0; j < VALUES.length; j++) { in testCompare() 120 String b = VALUES[j]; in testCompare()
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | BasicInt.java | 55 private static final int[] VALUES = { field in BasicInt 867 for (int x : VALUES) { in test() 875 for (int y : VALUES) { in test()
|
D | BasicShort.java | 55 private static final short[] VALUES = { field in BasicShort 867 for (short x : VALUES) { in test() 875 for (short y : VALUES) { in test()
|
D | BasicLong.java | 55 private static final long[] VALUES = { field in BasicLong 867 for (long x : VALUES) { in test() 875 for (long y : VALUES) { in test()
|
D | BasicFloat.java | 55 private static final float[] VALUES = { field in BasicFloat 867 for (float x : VALUES) { in test() 875 for (float y : VALUES) { in test()
|
D | BasicDouble.java | 55 private static final double[] VALUES = { field in BasicDouble 867 for (double x : VALUES) { in test() 875 for (double y : VALUES) { in test()
|
D | BasicChar.java | 55 private static final char[] VALUES = { field in BasicChar 867 for (char x : VALUES) { in test() 875 for (char y : VALUES) { in test()
|
D | BasicByte.java | 55 private static final byte[] VALUES = { field in BasicByte 867 for (byte x : VALUES) { in test() 875 for (byte y : VALUES) { in test()
|
D | Basic-X.java.template | 55 private static final $type$[] VALUES = { 867 for ($type$ x : VALUES) { 875 for ($type$ y : VALUES) {
|
/libcore/ojluni/src/main/java/java/util/ |
D | Hashtable.java | 291 return this.<V>getEnumeration(VALUES); in elements() 790 return getIterator(VALUES); in iterator() 1444 private static final int VALUES = 1; field in Hashtable 1506 return type == KEYS ? (T)e.key : (type == VALUES ? (T)e.value : (T)e); in nextElement()
|