HomeSort by relevance Sort by last modified time
    Searched refs:map (Results 76 - 100 of 3027) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
IdentityHashMapTest.java 25 import java.util.Map;
28 import java.util.Map.Entry;
43 IdentityHashMap map = new IdentityHashMap(); local
47 result = map.put(null, null);
48 assertTrue("testA can not find null key", map.containsKey(null));
49 assertTrue("testA can not find null value", map.containsValue(null));
51 map.get(null));
56 result = map.put(null, value);
57 assertTrue("testB can not find null key", map.containsKey(null));
58 assertTrue("testB can not find a value with null key", map
97 IdentityHashMap<Object, Object> map = new IdentityHashMap<Object, Object>(); local
115 IdentityHashMap map = new IdentityHashMap(); local
156 IdentityHashMap map = new IdentityHashMap(); local
190 IdentityHashMap map = new IdentityHashMap(); local
209 IdentityHashMap map = new IdentityHashMap(); local
228 IdentityHashMap map = new IdentityHashMap(); local
278 IdentityHashMap map = new IdentityHashMap(); local
296 IdentityHashMap map = new IdentityHashMap(); local
322 IdentityHashMap map = new IdentityHashMap(); local
    [all...]
SortedMapTestBase.java 29 import java.util.Map;
43 SortedMap<Integer, Integer> map; field in class:SortedMapTestBase
56 map.clear();
57 assertTrue(map.isEmpty());
63 assertEquals(ref.containsKey(key), map.containsKey(key));
71 assertEquals(ref.containsValue(value), map.containsValue(value));
77 Set<Map.Entry<Integer,Integer>> refSet = ref.entrySet();
78 Set<Map.Entry<Integer,Integer>> mapSet = map.entrySet();
79 for (Map.Entry<Integer,Integer> e : refSet)
263 TreeMap<String, String> map = new TreeMap<String, String>(); local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
H2MapTest.java 17 H2Map map; field in class:H2MapTest
21 map = new H2Map();
26 assertThat(map.getDriverClassName(), equalTo("org.h2.Driver"));
31 assertThat(map.getConnectionString(), equalTo("jdbc:h2:mem:"));
36 assertThat(map.getScrubSQL("autoincrement"), equalTo("auto_increment"));
41 assertThat(map.getScrubSQL("integer"), equalTo("bigint(19)"));
46 map.getScrubSQL("INTEGER PRIMARY KEY AUTOINCREMENT");
51 map.getScrubSQL("INT PRIMARY KEY AUTOINCREMENT");
56 map.getScrubSQL("CHAR PRIMARY KEY AUTOINCREMENT");
61 assertThat(map.getSelectLastInsertIdentity(), equalTo("SELECT IDENTITY();"))
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
BasicHttpContext.java 35 import java.util.Map;
49 private Map map = null; field in class:BasicHttpContext
65 if (this.map != null) {
66 obj = this.map.get(id);
78 if (this.map == null) {
79 this.map = new HashMap();
81 this.map.put(id, obj);
88 if (this.map != null) {
89 return this.map.remove(id)
    [all...]
  /external/chromium/net/proxy/
proxy_retry_info.h 9 #include <map>
25 // Map of proxy servers with the associated RetryInfo structures.
27 typedef std::map<std::string, ProxyRetryInfo> ProxyRetryInfoMap;
  /external/chromium/net/tools/fetch/
http_server_request_info.h 9 #include <map>
15 // This is geared toward servers in that it keeps a map of the headers and
23 // A map of the names -> values for HTTP headers.
24 std::map<std::string, std::string> headers;
  /libcore/luni/src/test/java/libcore/java/util/
OldLinkedHashMapTest.java 29 LinkedHashMap map = new LinkedHashMap<String, String>(10, 0.75f, true); local
31 map.put("key1", "value1");
32 map.put("key2", "value2");
33 map.put("key3", "value3");
35 Iterator iterator = map.keySet().iterator();
37 map.get(id);
49 LinkedHashMap mapClone = (LinkedHashMap) map.clone();
51 iterator = map.keySet().iterator();
  /system/core/include/cutils/
event_tag_map.h 30 * Open the specified file as an event log tag map.
37 * Close the map.
39 void android_closeEventTagMap(EventTagMap* map);
44 const char* android_lookupEventTag(const EventTagMap* map, int tag);
hashmap.h 18 * Hash map.
31 /** A hash map. */
35 * Creates a new hash map. Returns NULL if memory allocation fails.
45 * Frees the hash map. Does not free the keys or values themselves.
47 void hashmapFree(Hashmap* map);
56 * Puts value for the given key in the map. Returns pre-existing value if
59 * If memory allocation fails, this function returns NULL, the map's size
62 void* hashmapPut(Hashmap* map, void* key, void* value);
65 * Gets a value from the map. Returns NULL if no entry for the given key is
68 void* hashmapGet(Hashmap* map, void* key)
    [all...]
  /bionic/libc/kernel/arch-x86/asm/
mpspec_32.h 32 #define physid_set(physid, map) set_bit(physid, (map).mask)
34 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
35 #define physid_isset(physid, map) test_bit(physid, (map).mask)
36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /dalvik/dx/src/com/android/dx/io/instructions/
AddressMap.java 23 * Map from addresses to addresses, where addresses are all
27 /** underlying map. TODO: This might be too inefficient. */
28 private final HashMap<Integer,Integer> map; field in class:AddressMap
34 map = new HashMap<Integer,Integer>();
42 Integer value = map.get(keyAddress);
50 map.put(keyAddress, valueAddress);
  /development/ndk/platforms/android-9/arch-x86/include/asm/
mpspec_32.h 32 #define physid_set(physid, map) set_bit(physid, (map).mask)
34 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
35 #define physid_isset(physid, map) test_bit(physid, (map).mask)
36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/io/instructions/
AddressMap.java 23 * Map from addresses to addresses, where addresses are all
27 /** underlying map. TODO: This might be too inefficient. */
28 private final HashMap<Integer,Integer> map; field in class:AddressMap
34 map = new HashMap<Integer,Integer>();
42 Integer value = map.get(keyAddress);
50 map.put(keyAddress, valueAddress);
  /frameworks/base/test-runner/src/android/test/
SimpleCache.java 20 import java.util.Map;
23 private Map<K, V> map = new HashMap<K, V>(); field in class:SimpleCache
28 if (map.containsKey(key)) {
29 return map.get(key);
32 map.put(key, value);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.cons/
default_recursive.pass.cpp 10 // <map>
12 // class map
14 // map();
16 #include <map>
  /prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/
mpspec_32.h 28 #define physid_set(physid, map) set_bit(physid, (map).mask)
29 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
30 #define physid_isset(physid, map) test_bit(physid, (map).mask)
31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/
mpspec_32.h 28 #define physid_set(physid, map) set_bit(physid, (map).mask)
29 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
30 #define physid_isset(physid, map) test_bit(physid, (map).mask)
31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/
mpspec_32.h 28 #define physid_set(physid, map) set_bit(physid, (map).mask)
29 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
30 #define physid_isset(physid, map) test_bit(physid, (map).mask)
31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/asm/
mpspec_32.h 28 #define physid_set(physid, map) set_bit(physid, (map).mask)
29 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
30 #define physid_isset(physid, map) test_bit(physid, (map).mask)
31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/asm/
mpspec_32.h 28 #define physid_set(physid, map) set_bit(physid, (map).mask)
29 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
30 #define physid_isset(physid, map) test_bit(physid, (map).mask)
31 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
35 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/8/platforms/android-14/arch-x86/usr/include/asm/
mpspec_32.h 32 #define physid_set(physid, map) set_bit(physid, (map).mask)
34 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
35 #define physid_isset(physid, map) test_bit(physid, (map).mask)
36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm/
mpspec_32.h 32 #define physid_set(physid, map) set_bit(physid, (map).mask)
34 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
35 #define physid_isset(physid, map) test_bit(physid, (map).mask)
36 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
40 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS
    [all...]
  /external/qemu/android/utils/
intmap.h 22 /* Create new integer map */
25 /* Returns the number of keys stored in the map */
26 int aintmap_getCount( AIntMap* map );
28 /* Returns TRUE if the map has a value for the 'key'. Necessary because
29 * NULL is a valid value for the map.
31 int aintmap_has( AIntMap* map, int key );
33 /* Get the value associated with a 'key', or NULL if not in map */
34 void* aintMap_get( AIntMap* map, int key );
36 /* Get the value associated with a 'key', or 'def' if not in map */
37 void* aintMap_getWithDefault( AIntMap* map, int key, void* def )
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/
types.pass.cpp 10 // <map>
14 // class map
32 #include <map>
37 static_assert((std::is_same<std::map<int, double>::key_type, int>::value), "");
38 static_assert((std::is_same<std::map<int, double>::mapped_type, double>::value), "");
39 static_assert((std::is_same<std::map<int, double>::value_type, std::pair<const int, double> >::value), "");
40 static_assert((std::is_same<std::map<int, double>::key_compare, std::less<int> >::value), "");
41 static_assert((std::is_same<std::map<int, double>::allocator_type, std::allocator<std::pair<const int, double> > >::value), "");
42 static_assert((std::is_same<std::map<int, double>::reference, std::pair<const int, double>&>::value), "");
43 static_assert((std::is_same<std::map<int, double>::const_reference, const std::pair<const int, double>&>::value), "")
    [all...]
  /external/chromium/base/
file_descriptor_shuffle_unittest.cc 73 InjectiveMultimap map; local
76 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer));
81 InjectiveMultimap map; local
83 map.push_back(InjectionArc(0, 0, false));
85 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer));
90 InjectiveMultimap map; local
92 map.push_back(InjectionArc(0, 0, true));
94 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer));
99 InjectiveMultimap map; local
101 map.push_back(InjectionArc(0, 1, false))
109 InjectiveMultimap map; local
121 InjectiveMultimap map; local
132 InjectiveMultimap map; local
144 InjectiveMultimap map; local
159 InjectiveMultimap map; local
174 InjectiveMultimap map; local
189 InjectiveMultimap map; local
204 InjectiveMultimap map; local
216 InjectiveMultimap map; local
229 InjectiveMultimap map; local
242 InjectiveMultimap map; local
269 InjectiveMultimap map; local
276 InjectiveMultimap map; local
284 InjectiveMultimap map; local
    [all...]

Completed in 1659 milliseconds

1 2 34 5 6 7 8 91011>>