/dalvik/libcore/luni/src/main/java/java/util/ |
H A D | EnumMap.java | 404 * @param map 407 * if {@code map} is {@code null}. 409 public EnumMap(EnumMap<K, ? extends V> map) { argument 410 initialization(map); 414 * Constructs an {@code EnumMap} initialized from the given map. If the given map 416 * way as {@link EnumMap#EnumMap(EnumMap)}}. Otherwise, the given map 419 * @param map 420 * the map from which this {@code EnumMap} is initialized. 422 * if {@code map} i 428 EnumMap(Map<K, ? extends V> map) argument 646 putAll(Map<? extends K, ? extends V> map) argument 758 putAllImpl(Map map) argument [all...] |
H A D | LinkedHashMap.java | 38 * If one thread of several threads accessing an instance modifies the map 39 * structurally, access to the map needs to be synchronized. For 46 * may throw a {@code ConcurrentModificationException} if the map is structurally 56 * A dummy entry in the circular linked list of entries in the map. 58 * If the map is empty, header.nxt == header && header.prv == header. 81 * the initial capacity of this map. 94 * the initial capacity of this map. 110 * the initial capacity of this hash map. 131 * from the specified map. The order of the elements is preserved. 133 * @param map 136 LinkedHashMap(Map<? extends K, ? extends V> map) argument [all...] |
H A D | WeakHashMap.java | 196 * the initial capacity of this map. 217 * the initial capacity of this map. 238 * from the specified map. 240 * @param map 243 public WeakHashMap(Map<? extends K, ? extends V> map) { argument 244 this(map.size() < 6 ? 11 : map.size() * 2); 245 putAllImpl(map); 249 * Removes all mappings from this map, leaving it empty. 271 * Returns whether this map contain 672 putAll(Map<? extends K, ? extends V> map) argument 727 putAllImpl(Map<? extends K, ? extends V> map) argument [all...] |
H A D | IdentityHashMap.java | 58 * maximum number of elements that can be put in this map before having to 81 * map. 251 * this map. 288 * Creates an IdentityHashMap using the given map as initial values. 290 * @param map 291 * A map of (key,value) pairs to copy into the IdentityHashMap. 293 public IdentityHashMap(Map<? extends K, ? extends V> map) { argument 294 this(map.size() < 6 ? 11 : map.size() * 2); 295 putAllImpl(map); 493 putAll(Map<? extends K, ? extends V> map) argument 812 putAllImpl(Map<? extends K, ? extends V> map) argument [all...] |
H A D | HashMap.java | 40 * If one thread of several threads accessing an instance modifies the map 41 * structurally, access to the map needs to be synchronized. A structural 46 * may throw a {@code ConcurrentModificationException} if the map is structurally 53 * @param <K> the type of keys maintained by this map 90 * The hash table. If this hash map contains a mapping for null, it is 101 * The number of mappings in this hash map. 137 * the initial capacity of this hash map. 169 * the initial capacity of this hash map. 192 * the specified map. 194 * @param map 197 HashMap(Map<? extends K, ? extends V> map) argument 207 constructorPutAll(Map<? extends K, ? extends V> map) argument 509 putAll(Map<? extends K, ? extends V> map) argument [all...] |
H A D | Hashtable.java | 37 * @param <K> the type of keys maintained by this map 81 * The number of mappings in this hash map. 169 * from the specified map. 171 * @param map 174 public Hashtable(Map<? extends K, ? extends V> map) { argument 175 this(capacityForInitSize(map.size())); 176 constructorPutAll(map); 180 * Inserts all of the elements of map into this Hashtable in a manner 184 private void constructorPutAll(Map<? extends K, ? extends V> map) { argument 185 for (Entry<? extends K, ? extends V> e : map 427 putAll(Map<? extends K, ? extends V> map) argument [all...] |
H A D | TreeMap.java | 177 AbstractMapIterator(TreeMap<K, V> map, Node<K, V> startNode, int startOffset) { argument 178 backingMap = map; 179 expectedModCount = map.modCount; 184 AbstractMapIterator(TreeMap<K, V> map, Node<K, V> startNode) { argument 185 this(map, startNode, startNode != null ? 189 AbstractMapIterator(TreeMap<K, V> map) { argument 190 this(map, minimum(map.root)); 234 UnboundedEntryIterator(TreeMap<K, V> map, Node<K, V> startNode, int startOffset) { argument 235 super(map, startNod 238 UnboundedEntryIterator(TreeMap<K, V> map) argument 252 UnboundedKeyIterator(TreeMap<K, V> map, Node<K, V> startNode, int startOffset) argument 256 UnboundedKeyIterator(TreeMap<K, V> map) argument 269 UnboundedValueIterator(TreeMap<K, V> map, Node<K, V> startNode, int startOffset) argument 273 UnboundedValueIterator(TreeMap<K, V> map) argument 288 BoundedMapIterator(Node<K, V> startNode, int startOffset, TreeMap<K, V> map, Node<K, V> finalNode, int finalOffset) argument 295 BoundedMapIterator(Node<K, V> startNode, TreeMap<K, V> map, Node<K, V> finalNode, int finalOffset) argument 302 BoundedMapIterator(Node<K, V> startNode, int startOffset, TreeMap<K, V> map, Node<K, V> finalNode) argument 319 BoundedEntryIterator(Node<K, V> startNode, int startOffset, TreeMap<K, V> map, Node<K, V> finalNode, int finalOffset) argument 334 BoundedKeyIterator(Node<K, V> startNode, int startOffset, TreeMap<K, V> map, Node<K, V> finalNode, int finalOffset) argument 348 BoundedValueIterator(Node<K, V> startNode, int startOffset, TreeMap<K, V> map, Node<K, V> finalNode, int finalOffset) argument 375 SubMap(K start, TreeMap<K, V> map) argument 381 SubMap(K start, TreeMap<K, V> map, K end) argument 388 SubMap(TreeMap<K, V> map, K end) argument 806 SubMapEntrySet(SubMap<K, V> map) argument 869 SubMapKeySet(SubMap<K, V> map) argument 991 TreeMap(Map<? extends K, ? extends V> map) argument 1002 TreeMap(SortedMap<K, ? extends V> map) argument 1826 putAll(Map<? extends K, ? extends V> map) argument [all...] |
H A D | Collections.java | 708 SynchronizedMap(Map<K, V> map) { argument 709 m = map; 713 SynchronizedMap(Map<K, V> map, Object mutex) { argument 714 m = map; 780 public void putAll(Map<? extends K, ? extends V> map) { argument 782 m.putAll(map); 857 SynchronizedSortedMap(SortedMap<K, V> map) { argument 858 super(map); 859 sm = map; 862 SynchronizedSortedMap(SortedMap<K, V> map, Objec argument 1305 UnmodifiableMap(Map<K, V> map) argument 1351 putAll(Map<? extends K, ? extends V> map) argument 1398 UnmodifiableSortedMap(SortedMap<K, V> map) argument 2289 synchronizedMap(Map<K, V> map) argument 2319 synchronizedSortedMap( SortedMap<K, V> map) argument 2390 unmodifiableMap( Map<? extends K, ? extends V> map) argument 2425 unmodifiableSortedMap( SortedMap<K, ? extends V> map) argument 3175 putAll(Map<? extends K, ? extends V> map) argument [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | FileChannelImpl.java | 189 public abstract MappedByteBuffer map(MapMode mode, long position, long size) method in class:FileChannelImpl 418 buffer = fileSrc.map(MapMode.READ_ONLY, filePosition, count); 430 // an instance of DirectBuffer from map() method 461 buffer = map(MapMode.READ_ONLY, position, count); 467 // an instance of DirectBuffer from map() method
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | Connection.java | 751 * Sets the {@code TypeMap} for this connection. The input {@code map} 754 * @param map 755 * the new type map. 758 * map} is not an instance of {@link Map}. 760 public void setTypeMap(Map<String, Class<?>> map) throws SQLException; argument
|
H A D | CallableStatement.java | 476 * @param map 483 public Object getObject(int parameterIndex, Map<String, Class<?>> map) argument 511 * @param map 517 public Object getObject(String parameterName, Map<String, Class<?>> map) argument 1054 * java.sql.Date} value, using a supplied calendar to map the date. The
|
H A D | ResultSet.java | 772 * @param map 780 public Object getObject(int columnIndex, Map<String, Class<?>> map) argument 810 * @param map 818 public Object getObject(String columnName, Map<String, Class<?>> map) argument 933 * map the SQL {@code Time} value to a Java Time value. 962 * map the SQL {@code Time} value to a Java Time value.
|
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
H A D | TestHelper_Connection1.java | 177 public void setTypeMap(Map<String, Class<?>> map) throws SQLException { argument
|
/dalvik/vm/analysis/ |
H A D | CodeVerify.h | 220 } map[1]; member in struct:UninitInstanceMap 237 * Associate a class with an address. Returns the map slot index, or -1 238 * if the address isn't listed in the map (shouldn't happen) or if a 247 * the map index. 253 * the map index.
|
/dalvik/libcore/luni/src/main/java/java/net/ |
H A D | URLClassLoader.java | 116 private HashMap<String, ArrayList<URL>> map; field in class:URLClassLoader.IndexFile 197 public IndexFile(HashMap<String, ArrayList<URL>> map) { argument 198 this.map = map; 202 return map.get(name);
|
H A D | URLConnection.java | 393 * @return the file name map to determine the MIME-type. 421 * Gets an unchangeable map of the response-header fields and values. The 422 * response-header field names are the key values of the map. The map values 425 * @return the response-header representing generic map. 433 * Gets an unchangeable map of general request properties used by this 434 * connection. The request property names are the key values of the map. The 435 * map values are lists of property values of the corresponding key name. 437 * @return the request-property representing generic map. 899 * Sets the internal map whic 905 setFileNameMap(FileNameMap map) argument [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/ |
H A D | System.java | 284 * Returns an unmodifiable map of all available environment variables. 286 * @return the map representing all environment variables. 299 Map<String, String> map = new HashMap<String, String>(); 306 map.put(entry.substring(0, pos), entry.substring(pos + 1)); 312 return new SystemEnvironment(map); 683 * mandates that this map be read-only, so we wrap our real map into this one 690 private Map<String, String> map; field in class:SystemEnvironment 692 public SystemEnvironment(Map<String, String> map) { argument 693 this.map 743 putAll(Map map) argument [all...] |
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/ |
H A D | JDBCConnection.java | 326 public void setTypeMap(java.util.Map map) throws SQLException { argument
|
H A D | JDBCResultSet.java | 516 public Object getObject(int columnIndex, java.util.Map map) argument 521 public Object getObject(String columnIndex, java.util.Map map) argument
|
/dalvik/libcore/sql/src/test/java/tests/sql/ |
H A D | PreparedStatementTest.java | 3083 public Object getObject(Map<String, Class<?>> map) throws SQLException { argument 3107 public Object getArray(long index, int count, Map<String, Class<?>> map) argument 3113 public Object getArray(Map<String, Class<?>> map) throws SQLException { argument 3140 Map<String, Class<?>> map) throws SQLException { 3145 public ResultSet getResultSet(Map<String, Class<?>> map) argument 3139 getResultSet(long index, int count, Map<String, Class<?>> map) argument
|
/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
H A D | CollectionsTest.java | 159 Map map; field in class:CollectionsTest.SynchMapChecker 186 synchronized (map) { 187 if (!(map.isEmpty() 188 || (map.containsValue(firstNormalValue) && map 189 .containsValue(lastNormalValue)) || (map 190 .containsValue(firstOffsetValue) && map 193 map.clear(); 196 map.putAll(offsetCountingMap); 198 map [all...] |
/dalvik/libdex/ |
H A D | ZipArchive.c | 273 * Open the specified file read-only. We memory-map the entire thing and 305 MemMapping map; local 308 map.addr = NULL; 313 if (sysMapFileInShmemReadOnly(pArchive->mFd, &map) != 0) { 319 if (map.length < kEOCDLen) { 321 LOGV("File '%s' too small to be zip (%zd)\n", debugFileName,map.length); 325 if (!parseZipArchive(pArchive, &map)) { 333 sysCopyMap(&pArchive->mMap, &map); 334 map.addr = NULL; 339 if (map [all...] |
/dalvik/dexdump/ |
H A D | DexDump.c | 1403 * Dump a map in the "differential" format. 1441 * Dump register map contents of the current method. 1443 * "*pData" should point to the start of the register map data. Advances 1444 * "*pData" to the start of the next map. 1463 /* no map */ 1464 printf(" (no map)\n"); 1508 * Dump the contents of the register map area. 1642 MemMapping map; local 1649 if (dexOpenAndMap(fileName, gOptions.tempFileName, &map, false) != 0) 1657 pDexFile = dexFileParse(map [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | FileChannelTest.java | 2481 * @tests java.nio.channels.FileChannel#map(MapMode,long,long) 2486 method = "map", 2491 writeOnlyFileChannel.map(MapMode.READ_ONLY, 0, CONTENT_LENGTH); 2497 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); 2503 writeOnlyFileChannel.map(MapMode.PRIVATE, 0, CONTENT_LENGTH); 2510 writeOnlyFileChannel.map(MapMode.READ_WRITE, 0, -1); 2517 readOnlyFileChannel.map(MapMode.READ_WRITE, 0, CONTENT_LENGTH); 2523 readOnlyFileChannel.map(MapMode.PRIVATE, 0, CONTENT_LENGTH); 2529 readOnlyFileChannel.map(MapMode.READ_WRITE, -1, CONTENT_LENGTH); 2535 readOnlyFileChannel.map(MapMod 4654 public MappedByteBuffer map(MapMode arg0, long arg1, long arg2) method in class:FileChannelTest.MockFileChannel [all...] |
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/ |
H A D | Impl_RowSet.java | 436 public Object getObject(int columnIndex, Map<String, Class<?>> map) argument 445 public Object getObject(String columnName, Map<String, Class<?>> map) argument
|