/libcore/ojluni/src/main/java/java/util/ |
D | EnumMap.java | 99 private transient Object[] vals; field in EnumMap 139 vals = new Object[keyUniverse.length]; in EnumMap() 152 vals = m.vals.clone(); in EnumMap() 173 vals = em.vals.clone(); in EnumMap() 180 vals = new Object[keyUniverse.length]; in EnumMap() 206 for (Object val : vals) in containsValue() 222 return isValidKey(key) && vals[((Enum<?>)key).ordinal()] != null; in containsKey() 227 maskNull(value).equals(vals[((Enum<?>)key).ordinal()]); in containsMapping() 247 unmaskNull(vals[((Enum<?>)key).ordinal()]) : null); in get() 270 Object oldValue = vals[index]; in put() [all …]
|
D | AbstractMap.java | 406 Collection<V> vals = values; in values() local 407 if (vals == null) { in values() 408 vals = new AbstractCollection<V>() { in values() 443 values = vals; in values() 445 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 | IntegerTest.java | 172 long[] vals = {1L, 23L, 456L, 0x7fff_ffffL, 0x8000_0000L, 0xffff_ffffL}; 174 for(long dividend : vals) { 175 for(long divisor : vals) { 184 for(long dividend : vals) { 197 int[] vals = {0, 1, 23, 456, 0x7fff_ffff, 0x8000_0000, 0xffff_ffff}; 199 for(int val : vals) { 235 int[] vals = {0, 1, 23, 456, 0x7fff_ffff, 0x8000_0000, 0xffff_ffff}; 237 for(int val : vals) { 245 int[] vals = {0, 1, 23, 456, 0x7fff_ffff, 0x8000_0000, 0xffff_ffff}; 247 for(int val : vals) {
|
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) {
|
/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 | 4156 BigDecimalLayoutForm[] vals = BigDecimalLayoutForm.values(); in test_values() local 4157 assertEquals("Invalid length of enum values", 2, vals.length); in test_values() 4158 assertEquals("Wrong scientific value in enum", BigDecimalLayoutForm.SCIENTIFIC, vals[0]); in test_values() 4159 assertEquals("Wrong dec float value in enum", BigDecimalLayoutForm.DECIMAL_FLOAT, vals[1]); in test_values()
|
/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/main/java/java/io/ |
D | ObjectStreamClass.java | 1303 void getObjFieldValues(Object obj, Object[] vals) { in getObjFieldValues() argument 1304 fieldRefl.getObjFieldValues(obj, vals); in getObjFieldValues() 1312 void setObjFieldValues(Object obj, Object[] vals) { in setObjFieldValues() argument 1313 fieldRefl.setObjFieldValues(obj, vals); in setObjFieldValues() 2164 void getObjFieldValues(Object obj, Object[] vals) { in getObjFieldValues() argument 2176 vals[offsets[i]] = unsafe.getObject(obj, readKeys[i]); in getObjFieldValues() 2192 void setObjFieldValues(Object obj, Object[] vals) { in setObjFieldValues() argument 2204 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 | 784 Object[] vals = { ":", new Integer(2), in testBug197() local 795 for (int i = 0; i < vals.length / 3;) { in testBug197() 796 String[] res = Pattern.compile(vals[i++].toString()).split( in testBug197() 797 "boo:and:foo", ((Integer) vals[i++]).intValue()); in testBug197() 798 String[] expectedRes = (String[]) vals[i++]; in testBug197()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountedCompleterTest.java | 342 int[] vals = { 347 for (int val : vals) {
|