/libcore/ojluni/src/main/java/java/util/ |
D | EnumMap.java | 99 private transient Object[] vals; field in EnumMap 137 vals = new Object[keyUniverse.length]; in EnumMap() 150 vals = m.vals.clone(); in EnumMap() 171 vals = em.vals.clone(); in EnumMap() 178 vals = new Object[keyUniverse.length]; in EnumMap() 204 for (Object val : vals) in containsValue() 220 return isValidKey(key) && vals[((Enum<?>)key).ordinal()] != null; in containsKey() 225 maskNull(value).equals(vals[((Enum<?>)key).ordinal()]); in containsMapping() 245 unmaskNull(vals[((Enum<?>)key).ordinal()]) : null); in get() 268 Object oldValue = vals[index]; in put() [all …]
|
D | AbstractMap.java | 410 Collection<V> vals = values; in values() local 411 if (vals == null) { in values() 412 vals = new AbstractCollection<V>() { in values() 447 values = vals; in values() 449 return vals; in values()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 68 final int vals[] = {0, 0}; 74 … vals[0] = Integer.getInteger("sun.net.client.defaultReadTimeout", 0).intValue(); in AccessController.doPrivileged() 75 … vals[1] = Integer.getInteger("sun.net.client.defaultConnectTimeout", 0).intValue(); in AccessController.doPrivileged() 80 if (vals[0] != 0) { 81 defaultSoTimeout = vals[0]; 83 if (vals[1] != 0) { 84 defaultConnectTimeout = vals[1];
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LongTest.java | 180 BigInteger[] vals = { 189 for(BigInteger dividend : vals) { 190 for(BigInteger divisor : vals) { 199 for(BigInteger dividend : vals) { 212 long[] vals = {0L, 1L, 23L, 456L, 0x7fff_ffff_ffff_ffffL, 0x8000_0000_0000_0000L, 215 for(long val : vals) { 251 long[] vals = {0L, 1L, 23L, 456L, 0x7fff_ffff_ffff_ffffL, 0x8000_0000_0000_0000L, 254 for(long val : vals) {
|
D | IntegerTest.java | 173 long[] vals = {1L, 23L, 456L, 0x7fff_ffffL, 0x8000_0000L, 0xffff_ffffL}; in testDivideAndRemainderUnsigned() local 175 for (long dividend : vals) { in testDivideAndRemainderUnsigned() 176 for (long divisor : vals) { in testDivideAndRemainderUnsigned() 185 for (long dividend : vals) { in testDivideAndRemainderUnsigned()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapTest.java | 685 Collection vals = tm.values(); in test_values() local 686 vals.iterator(); in test_values() 688 vals.size() == objArray.length); in test_values() 690 assertTrue("Collection contains incorrect elements", vals in test_values() 693 assertEquals(1000, vals.size()); in test_values() 695 for (Iterator iter = vals.iterator(); iter.hasNext(); ) { in test_values() 701 vals = tm.descendingMap().values(); in test_values() 702 vals.iterator(); in test_values() 704 vals.size() == objArray.length); in test_values() 706 assertTrue("Collection contains incorrect elements", vals in test_values() [all …]
|
D | IdentityHashMapTest.java | 668 Collection vals = map.values(); in test_values() local 669 boolean result = vals.remove(key); in test_values() 674 result = vals.remove(value); in test_values() 686 result = vals.remove(key); in test_values() 692 result = vals.remove(value); in test_values() 700 vals.clear(); in test_values()
|
D | FormatterTest.java | 4152 BigDecimalLayoutForm[] vals = BigDecimalLayoutForm.values(); in test_values() local 4153 assertEquals("Invalid length of enum values", 2, vals.length); in test_values() 4154 assertEquals("Wrong scientific value in enum", BigDecimalLayoutForm.SCIENTIFIC, vals[0]); in test_values() 4155 assertEquals("Wrong dec float value in enum", BigDecimalLayoutForm.DECIMAL_FLOAT, vals[1]); in test_values()
|
/libcore/ojluni/src/test/java/util/Base64/ |
D | TestBase64.java | 555 List<Integer> vals = new ArrayList<>(List.of(Integer.MIN_VALUE, in testEncoderKeepsSilence() local 558 vals.addAll(List.of(rnd.nextInt(), rnd.nextInt(), rnd.nextInt(), in testEncoderKeepsSilence() 561 for (int off : vals) { in testEncoderKeepsSilence() 562 for (int len : vals) { in testEncoderKeepsSilence() 585 List<Integer> vals = new ArrayList<>(List.of(Integer.MIN_VALUE, in testDecoderKeepsAbstinence() local 588 vals.addAll(List.of(rnd.nextInt(), rnd.nextInt(), rnd.nextInt(), in testDecoderKeepsAbstinence() 591 for (int off : vals) { in testDecoderKeepsAbstinence() 592 for (int len : vals) { in testDecoderKeepsAbstinence()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 252 void getObjFieldValues(java.lang.Object obj, java.lang.Object[] vals) { in getObjFieldValues() argument 256 void setObjFieldValues(java.lang.Object obj, java.lang.Object[] vals) { in setObjFieldValues() argument 581 void getObjFieldValues(java.lang.Object obj, java.lang.Object[] vals) { in getObjFieldValues() argument 585 void setObjFieldValues(java.lang.Object obj, java.lang.Object[] vals) { in setObjFieldValues() argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 112 final int vals[] = {0, 0}; 119 … vals[0] = Integer.getInteger("sun.net.client.defaultReadTimeout", 0).intValue(); in AccessController.doPrivileged() 120 … vals[1] = Integer.getInteger("sun.net.client.defaultConnectTimeout", 0).intValue(); in AccessController.doPrivileged() 125 if (vals[0] == 0) { 128 defaultSoTimeout = vals[0]; 131 if (vals[1] == 0) { 134 defaultConnectTimeout = vals[1];
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | RicochetTest.java | 340 Object vals = java.lang.reflect.Array.newInstance(vret, LENGTH); in testReturns() local 344 arrayElementGetter(vals.getClass()).bindTo(vals); in testReturns() 355 java.lang.reflect.Array.set(vals, i, val); in testReturns() 359 Object val = java.lang.reflect.Array.get(vals, i); in testReturns()
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 1346 void getObjFieldValues(Object obj, Object[] vals) { in getObjFieldValues() argument 1347 fieldRefl.getObjFieldValues(obj, vals); in getObjFieldValues() 1355 void setObjFieldValues(Object obj, Object[] vals) { in setObjFieldValues() argument 1356 fieldRefl.setObjFieldValues(obj, vals); in setObjFieldValues() 2241 void getObjFieldValues(Object obj, Object[] vals) { in getObjFieldValues() argument 2253 vals[offsets[i]] = unsafe.getObject(obj, readKeys[i]); in getObjFieldValues() 2269 void setObjFieldValues(Object obj, Object[] vals) { in setObjFieldValues() argument 2281 Object val = vals[offsets[i]]; in setObjFieldValues()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | EnumMap.java | 175 private transient java.lang.Object[] vals; field in EnumMap
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
D | PatternTest.java | 792 Object[] vals = { ":", Integer.valueOf(2), in testBug197() local 803 for (int i = 0; i < vals.length / 3;) { in testBug197() 804 String[] res = Pattern.compile(vals[i++].toString()).split( in testBug197() 805 "boo:and:foo", ((Integer) vals[i++]).intValue()); in testBug197() 806 String[] expectedRes = (String[]) vals[i++]; in testBug197()
|
/libcore/ojluni/src/test/java/util/Scanner/ |
D | ScanTest.java | 258 String[] vals = { "Home Directories", "no", "yes", "%S" }; in useCase5() local 267 if (!value.equals(vals[i])) in useCase5()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CountedCompleterTest.java | 367 int[] vals = { 372 for (int val : vals) {
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountedCompleterTest.java | 342 int[] vals = { 347 for (int val : vals) {
|