/libcore/luni/src/main/java/java/lang/ |
H A D | InheritableThreadLocal.java | 54 Values values(Thread current) { method in class:InheritableThreadLocal
|
H A D | ThreadLocal.java | 28 * {@code null} values. 54 Values values = values(currentThread); 55 if (values != null) { 56 Object[] table = values.table; 57 int index = hash & values.mask; 62 values = initializeValues(currentThread); 65 return (T) values.getAfterMiss(this); 87 Values values = values(currentThrea 120 Values values(Thread current) { method in class:ThreadLocal [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1TypeCollection.java | 75 * Provides an object's values to be encoded 83 * @param values an array to store an object's values to be encoded 85 protected void getValues(Object object, Object[] values) { argument
|
H A D | BitString.java | 63 public BitString(boolean[] values) { argument 64 unusedBits = values.length % 8; 65 int size = values.length / 8; 70 for (int i = 0; i < values.length; i++) { 71 setBit(i, values[i]);
|
H A D | DerOutputStream.java | 65 Object[] values = val[index]; 70 if (values[i] == null) { 74 content = values[i]; 90 Object[] values = val[index]; 94 for (int i = 0; i < values.length; i++) { 95 content = values[i]; 101 private void push(int[] lengths, Object[] values) { argument 114 val[index] = values; 121 Object[] values = new Object[] { choice.type[i], content }; 123 push(null, values); [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidChecksumTest.java | 40 private void adler32Test(byte[] values, long expected) { argument 44 adler.update(values); 49 for (int i = 0; i < values.length; i++) { 50 adler.update(values[i]); 55 private void cRC32Test(byte[] values, long expected) { argument 59 crc.update(values); 64 for (int i = 0; i < values.length; i++) { 65 crc.update(values[i]);
|
/libcore/luni/src/main/java/java/util/ |
H A D | Objects.java | 82 public static int hash(Object... values) { argument 83 return Arrays.hashCode(values);
|
H A D | Map.java | 22 * A {@code Map} is a data structure consisting of a set of keys and values 25 * class of the corresponding values. 191 * not support {@code null} keys or values. 209 * support {@code null} keys or values. 233 * Returns a {@code Collection} of the values contained in this {@code Map}. The {@code Collection} 250 * @return a collection of the values contained in this map. 252 public Collection<V> values(); method in interface:Map
|
H A D | AbstractMap.java | 39 // Lazily-initialized values collection (for implementing {@link #values}). 109 * A key-value mapping with mutable values. 464 * iterator transforms this map's entry set iterator to return values. 466 public Collection<V> values() { method in class:AbstractMap
|
H A D | EnumMap.java | 41 transient Object[] values; field in class:EnumMap 75 if (enumMap.values[ordinal] == null) { 78 isEqual = enumMap.values[ordinal].equals(theValue); 89 ^ (enumMap.values[ordinal] == null ? 0 90 : enumMap.values[ordinal].hashCode()); 104 return (VT) enumMap.values[ordinal]; 119 result.append(enumMap.values[ordinal] == null 120 ? "null" : enumMap.values[ordinal].toString()); 163 enumMap.values[prePosition])); 182 enumMap.values[prePositio 706 public Collection<V> values() { method in class:EnumMap [all...] |
H A D | WeakHashMap.java | 26 * optional operations (adding and removing) are supported. Keys and values can 393 * Returns a collection of the values contained in this map. The collection 409 * @return a collection of the values contained in this map. 412 public Collection<V> values() { method in class:WeakHashMap
|
H A D | HashMap.java | 31 * <p>All elements are permitted as keys or values, including null. 51 * @param <V> the type of mapped values 119 private transient Collection<V> values; field in class:HashMap 249 result.values = null; 681 * Returns a collection of the values contained in this map. The collection 699 * @return a collection of the values contained in this map. 701 @Override public Collection<V> values() { method in class:HashMap 702 Collection<V> vs = values; 703 return (vs != null) ? vs : (values = new Values());
|
H A D | IdentityHashMap.java | 27 * instead of equality by value. Basically, keys and values are compared for 50 * and values in an alternating fashion. 79 * Object used to represent null keys and values. This is used to 297 * Creates an IdentityHashMap using the given map as initial values. 651 * Returns a collection of the values contained in this map. The collection 667 * @return a collection of the values contained in this map. 670 public Collection<V> values() { method in class:IdentityHashMap
|
/libcore/luni/src/main/java/java/io/ |
H A D | SerializationHandleMap.java | 29 private int[] values; field in class:SerializationHandleMap 46 int[] oldValues = values; 49 this.values = new int[newSize]; 57 values[index] = value; 65 return values[index]; 109 values[index] = -1; 113 int result = values[index]; 114 values[index] = _value; 136 result = values[index]; 157 values[inde [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationFactory.java | 39 * conforming access to annotation member values and required implementations of 56 * of member element definitions with default values. 108 * @param values actual element values 110 private AnnotationFactory(Class<? extends Annotation> klzz, AnnotationMember[] values) { argument 113 if (values == null) { 116 //merge default and actual values 119 for (AnnotationMember val : values) { 132 * and merges deserialized values with the new definitions. 157 // anyway they remain relevant to values [all...] |
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | AttributeListImpl.java | 143 values.add(value); 166 values.remove(i); 184 values.clear(); 249 if (i < 0 || i >= values.size()) { 252 return values.get(i); 291 private ArrayList<String> values = new ArrayList<String>(); 288 private ArrayList<String> values = new ArrayList<String>(); field in class:AttributeListImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractMapTest.java | 226 * java.util.AbstractMap#values() 230 assertSame("HashMap(0)", map1.values(), map1.values()); 233 assertSame("HashMap(10)", map2.values(), map2.values()); 236 assertSame("EMPTY_MAP", map3.values(), map3.values()); 239 assertSame("IdentityHashMap", map4.values(), map4.values()); 242 assertSame("IdentityHashMap", map5.values(), map 291 Vector values = new Vector(); field in class:AbstractMapTest.AMT [all...] |
H A D | CalendarTest.java | 605 // Other have been set to default values 963 String[] values = null; 967 values = (field == Calendar.AM_PM) ? symbols 969 assertDisplayNameMap(values, shortResult, 0); 970 assertDisplayNameMap(values, longResult, 0); 971 assertDisplayNameMap(values, allResult, 0); 974 values = symbols.getShortMonths(); 975 assertDisplayNameMap(values, shortResult, 0); 976 values = symbols.getMonths(); 977 assertDisplayNameMap(values, longResul 1061 assertDisplayNameMap(String[] values, Map<String, Integer> result, int shift) argument [all...] |
H A D | RefSortedMap.java | 298 public Collection<V> values() { method in class:RefSortedMap 299 return tailMap(firstKey()).values(); 311 for (V v : values()) {
|
/libcore/json/src/main/java/org/json/ |
H A D | JSONArray.java | 28 * A dense indexed sequence of values. Values may be any mix of 51 private final List<Object> values; field in class:JSONArray 54 * Creates a {@code JSONArray} with no values. 57 values = new ArrayList<Object>(); 61 * Creates a new {@code JSONArray} by copying all values from the given 64 * @param copyFrom a collection whose values are of supported types. 65 * Unsupported values are not permitted and will yield an array in an 79 * Creates a new {@code JSONArray} with values from the next array in the 94 values = ((JSONArray) object).values; [all...] |
/libcore/luni/src/main/java/java/util/jar/ |
H A D | Attributes.java | 27 * The {@code Attributes} class is used to store values for manifest entries. 35 * {@link Attributes.Name}) of a JAR file manifest to arbitrary values. The 191 * Constructs an {@code Attributes} instance obtaining keys and values from 327 * @return the values associated with the removed key, {@code null} if not 345 * Returns a collection of all the values present in this {@code 348 * @return a collection of all values present. 350 public Collection<Object> values() { method in class:Attributes 351 return map.values(); 380 * contain the same keys and values.
|
/libcore/luni/src/main/java/java/util/prefs/ |
H A D | XMLParser.java | 213 String[] values = new String[keys.length]; 215 values[i] = prefs.get(keys[i], null); 217 exportEntries(keys, values, out); 220 private static void exportEntries(String[] keys, String[] values, argument 228 if (values[i] != null) { 230 new String[] { keys[i], values[i] }, out); 490 String[] values = new String[length]; 492 values[i] = properties.getProperty(keys[i]); 494 exportEntries(keys, values, out);
|
/libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/ |
H A D | CertBlacklistTest.java | 207 private void writeBlacklist(HashSet<String> values) throws IOException { argument 209 // join the values into a string 210 for (String value : values) {
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetGetterTests.java | 76 static List<String> values = Arrays.asList("1", "-1", "22", "2", "33", field in class:OldResultSetGetterTests 152 // first inserted row : actual values 153 // second inserted row: null values 189 + "values (1, -1, 22, 2, 33," 207 + "values (null, null, null, null, null," 246 for (String t : values) { 273 .prepareStatement("insert into testBinary values (?);"); 305 stPrep = conn.prepareStatement("insert into testBinary values (?);"); 355 .prepareStatement("insert into testBinary values (?);"); 387 stPrep = conn.prepareStatement("insert into testBinary values ( [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | Provider.java | 232 public Collection<Object> values() { method in class:Provider 233 return Collections.unmodifiableCollection(super.values()); 459 lastServicesSet = new LinkedHashSet<Service>(serviceTable.values()); 464 lastServicesSet.addAll(propertyServiceTable.values()); 592 for (Iterator<Service> it = propertyServiceTable.values().iterator(); it
|