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

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/chrome/common/
switch_utils.h 8 #include <map>
17 std::map<std::string, CommandLine::StringType>* switches);
  /external/chromium_org/chrome/test/chromedriver/
session_thread_map.h 8 #include <map>
14 typedef std::map<std::string, linked_ptr<base::Thread> > SessionThreadMap;
  /external/linux-tools-perf/util/
cpumap.h 6 int map[]; member in struct:cpu_map
11 void cpu_map__delete(struct cpu_map *map);
map.h 33 struct map { struct
46 u64 (*map_ip)(struct map *, u64);
48 u64 (*unmap_ip)(struct map *, u64);
76 struct map *vmlinux_maps[MAP__NR_TYPES];
80 struct map *machine__kernel_map(struct machine *self, enum map_type type)
85 static inline struct kmap *map__kmap(struct map *self)
90 static inline u64 map__map_ip(struct map *map, u64 ip)
92 return ip - map->start + map->pgoff
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.access/
index_tuple.pass.cpp 10 // <map>
12 // class map
18 #include <map>
30 map<tuple<int,int>, size_t> m;
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java 11 import java.util.Map;
34 AtomicLongMap<Object> map = AtomicLongMap.create(); local
35 tester.testAllPublicInstanceMethods(map);
39 Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
40 AtomicLongMap<String> map = AtomicLongMap.create(in); local
41 assertFalse(map.isEmpty());
42 assertSame(3, map.size());
43 assertTrue(map.containsKey("1"));
44 assertTrue(map.containsKey("2"));
45 assertTrue(map.containsKey("3"))
52 AtomicLongMap<String> map = AtomicLongMap.create(); local
68 AtomicLongMap<String> map = AtomicLongMap.create(); local
85 AtomicLongMap<String> map = AtomicLongMap.create(); local
101 AtomicLongMap<String> map = AtomicLongMap.create(); local
118 AtomicLongMap<String> map = AtomicLongMap.create(); local
134 AtomicLongMap<String> map = AtomicLongMap.create(); local
151 AtomicLongMap<String> map = AtomicLongMap.create(); local
167 AtomicLongMap<String> map = AtomicLongMap.create(); local
184 AtomicLongMap<String> map = AtomicLongMap.create(); local
201 AtomicLongMap<String> map = AtomicLongMap.create(); local
219 AtomicLongMap<String> map = AtomicLongMap.create(); local
236 AtomicLongMap<String> map = AtomicLongMap.create(); local
254 AtomicLongMap<String> map = AtomicLongMap.create(); local
271 AtomicLongMap<String> map = AtomicLongMap.create(); local
290 AtomicLongMap<String> map = AtomicLongMap.create(); local
312 AtomicLongMap<String> map = AtomicLongMap.create(); local
346 AtomicLongMap<String> map = AtomicLongMap.create(); local
364 AtomicLongMap<String> map = AtomicLongMap.create(); local
382 AtomicLongMap<String> map = AtomicLongMap.create(); local
400 AtomicLongMap<String> map = AtomicLongMap.create(); local
424 AtomicLongMap<String> map = AtomicLongMap.create(); local
443 AtomicLongMap<String> map = AtomicLongMap.create(); local
468 AtomicLongMap<String> map = AtomicLongMap.create(); local
487 AtomicLongMap<Object> map = AtomicLongMap.create(); local
507 AtomicLongMap<Object> map = AtomicLongMap.create(); local
519 AtomicLongMap<Object> map = AtomicLongMap.create(); local
530 AtomicLongMap<String> map = AtomicLongMap.create(); local
547 final AtomicLongMap<String> map = AtomicLongMap.create(); local
    [all...]
  /external/chromium_org/ash/display/
display_pref_util.h 8 #include <map>
15 // Utility templates to create enum to string map and
18 std::map<T, std::string>* CreateToStringMap(T k1, const std::string& v1,
22 std::map<T, std::string>* map = new std::map<T, std::string>(); local
23 (*map)[k1] = v1;
24 (*map)[k2] = v2;
25 (*map)[k3] = v3;
26 (*map)[k4] = v4
34 std::map<T, std::string>* map = new std::map<T, std::string>(); local
    [all...]
  /libcore/benchmarks/src/benchmarks/
HashedCollectionsBenchmark.java 33 HashMap<String, String> map = new HashMap<String, String>(); local
34 map.put("hello", "world");
36 map.get("hello");
40 HashMap<String, String> map = new HashMap<String, String>(); local
41 synchronized (map) {
42 map.put("hello", "world");
45 synchronized (map) {
46 map.get("hello");
51 Hashtable<String, String> map = new Hashtable<String, String>(); local
52 map.put("hello", "world")
58 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>(); local
65 ConcurrentHashMap<String, String> map = new ConcurrentHashMap<String, String>(); local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MapInterfaceTest.java 28 import java.util.Map;
29 import java.util.Map.Entry;
33 * Tests representing the contract of {@link Map}. Concrete subclasses of this
34 * base class test conformance of concrete {@link Map} subclasses to that
69 * @return a new, empty map instance.
73 protected abstract Map<K, V> makeEmptyMap()
79 * @return a new, non-empty map instance.
83 protected abstract Map<K, V> makePopulatedMap()
92 * that will not be found in the map.
103 * that will not be found in the map
274 final Map<K, V> map; local
296 final Map<K, V> map; local
321 final Map<K, V> map; local
343 final Map<K, V> map; local
368 final Map<K, V> map; local
378 final Map<K, V> map; local
405 final Map<K, V> map; local
429 final Map<K, V> map; local
459 final Map<K, V> map; local
500 final Map<K, V> map; local
525 final Map<K, V> map; local
553 final Map<K, V> map; local
583 final Map<K, V> map; local
610 final Map<K, V> map; local
639 final Map<K, V> map; local
677 final Map<K, V> map; local
706 final Map<K, V> map; local
736 final Map<K, V> map; local
765 final Map<K, V> map; local
788 final Map<K, V> map = makeEitherMap(); local
820 final Map<K, V> map; local
847 final Map<K, V> map; local
866 final Map<K, V> map; local
874 assertEquals(makePopulatedMap(), map); local
885 final Map<K, V> map; local
903 final Map<K, V> map; local
917 final Map<K, V> map; local
925 assertEquals(makeEmptyMap(), map); local
926 assertEquals(Collections.emptyMap(), map); local
933 final Map<K, V> map; local
954 final Map<K, V> map; local
966 Map<K, V> map = makeEitherMap(); local
983 final Map<K, V> map; local
993 final Map<K, V> map; local
1003 final Map<K, V> map = makeEitherMap(); local
1032 final Map<K, V> map; local
1064 final Map<K, V> map = makeEitherMap(); local
1093 final Map<K, V> map = makeEitherMap(); local
1124 final Map<K, V> map; local
1153 final Map<K, V> map = makeEitherMap(); local
1182 final Map<K, V> map; local
1212 final Map<K, V> map; local
1239 final Map<K, V> map; local
1267 final Map<K, V> map; local
1293 final Map<K, V> map; local
1319 final Map<K, V> map; local
1344 final Map<K, V> map; local
1367 final Map<K, V> map; local
1396 final Map<K, V> map; local
1425 final Map<K, V> map; local
1447 final Map<K, V> map; local
1484 final Map<K, V> map; local
1511 final Map<K, V> map; local
1536 final Map<K, V> map; local
1565 final Map<K, V> map; local
1594 final Map<K, V> map; local
1623 final Map<K, V> map; local
1652 final Map<K, V> map; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidHashMapTest.java 29 private void addItems(HashMap<String, Integer> map) {
30 map.put("one", ONE);
31 map.put("two", TWO);
32 map.put("three", THREE);
33 map.put("four", FOUR);
35 assertEquals(4, map.size());
37 assertEquals(ONE, map.get("one"));
38 assertEquals(TWO, map.get("two"));
39 assertEquals(THREE, map.get("three"));
40 assertEquals(FOUR, map.get("four"))
44 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
49 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
57 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
65 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
113 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
148 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
183 HashMap<String, Integer> map = new HashMap<String, Integer>(); local
    [all...]
TreeMapTest.java 23 import java.util.Map;
24 import java.util.Map.Entry;
37 TreeMap<String, String> map = new TreeMap<String, String>(); local
38 map.put("A", "a");
39 map.put("B", "b");
40 map.put("C", "c");
42 Iterator<Entry<String, String>> iterator = map.entrySet().iterator();
46 assertEquals("x", map.get("A"));
52 assertEquals("y", map.get("B"));
54 assertEquals("z", map.get("C"))
62 TreeMap<String, String> map = new TreeMap<String, String>(); local
91 TreeMap<String, String> map = new TreeMap<String, String>(); local
103 TreeMap<String, String> map = new TreeMap<String, String>(); local
138 Map<String, String> map = new TreeMap<String, String>(); local
155 Map<String, String> map = new TreeMap<String, String>(); local
172 Map<String,String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); local
194 TreeMap<String,String> map = new TreeMap<String, String>(); local
215 Map<Object, Object> map = new TreeMap<Object, Object>(); local
235 Map<Object, Object> map = new TreeMap<Object, Object>().subMap("a", "z"); local
254 TreeMap<String, String> map = new TreeMap<String, String>() { local
273 TreeMap<String, String> map = new TreeMap<String, String>(); local
283 TreeMap<String, String> map = new TreeMap<String, String>( local
308 TreeMap<String, String> map = new TreeMap<String, String>( local
340 TreeMap<String, String> map = new TreeMap<String, String>( local
374 TreeMap<String, String> map = new TreeMap<String, String>( local
392 TreeMap<String, String> map = new TreeMap<String, String>( local
418 TreeMap<String, String> map = new TreeMap<String, String>(String.CASE_INSENSITIVE_ORDER); local
    [all...]
  /external/chromium_org/chrome/browser/android/
resource_mapper.h 8 #include <map>
14 // ID indicating that the map failed to find a Drawable corresponding to the
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/
version.pass.cpp 10 // <map>
12 #include <map>
  /system/extras/libpagemap/
pm_map.h 22 int pm_map_destroy(pm_map_t *map);
  /development/testrunner/tests/
am_instrument_parser_tests.py 77 map = result.GetResultFields()
78 self.assertEquals('testLaunchComplexActivity', map['test'])
79 self.assertEquals('LaunchPerformanceTest', map['class'])
80 self.assertEquals('1', map['current'])
81 self.assertEquals('2', map['numtests'])
82 self.assertEquals('InstrumentationTestRunner', map['id'])
86 map = result.GetResultFields()
87 self.assertEquals('testLaunchComplexActivity', map['test'])
88 self.assertEquals('866', map['cpu_time'])
89 self.assertEquals('1242', map['execution_time']
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_keymap.h 39 typedef void (*keymap_delete_func)(const struct keymap *map,
49 util_delete_keymap(struct keymap *map, void *user);
52 util_keymap_insert(struct keymap *map, const void *key,
56 util_keymap_lookup(const struct keymap *map, const void *key);
59 util_keymap_remove(struct keymap *map, const void *key, void *user);
62 util_keymap_remove_all(struct keymap *map, void *user);
65 util_keymap_info(const struct keymap *map);
u_keymap.c 67 default_delete_func(const struct keymap *map,
103 * Create a new map.
113 struct keymap *map = MALLOC_STRUCT(keymap); local
114 if (!map)
117 map->cso = cso_hash_create();
118 if (!map->cso) {
119 FREE(map);
123 map->max_entries = maxEntries;
124 map->num_entries = 0;
125 map->key_size = keySize
    [all...]
  /external/chromium_org/tools/android/forwarder2/
util.h 12 // Safely deletes a ref-counted value in a provided map by unlinking the object
13 // from the map before deleting it in case its destructor would access the map.
16 // in the map.
17 template <typename Map, typename K>
18 bool DeleteRefCountedValueInMap(const K& key, Map* map) {
19 const typename Map::iterator it = map->find(key);
20 if (it == map->end()
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_keymap.h 39 typedef void (*keymap_delete_func)(const struct keymap *map,
49 util_delete_keymap(struct keymap *map, void *user);
52 util_keymap_insert(struct keymap *map, const void *key,
56 util_keymap_lookup(const struct keymap *map, const void *key);
59 util_keymap_remove(struct keymap *map, const void *key, void *user);
62 util_keymap_remove_all(struct keymap *map, void *user);
65 util_keymap_info(const struct keymap *map);
  /external/grub/lib/
device.h 36 extern void get_drive_geometry (struct geometry *geom, char **map, int drive);
38 extern int init_device_map (char ***map, const char *map_file,
40 extern void restore_device_map (char **map);
43 extern int is_disk_device (char **map, int drive);
44 extern int write_to_partition (char **map, int drive, int partition,
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashMapTest.cpp 41 IntHashMap map; local
42 map.add(1, 2);
43 ASSERT_TRUE(map.begin() != map.end());
44 ASSERT_FALSE(map.begin() == map.end());
46 IntHashMap::const_iterator begin = map.begin();
47 ASSERT_TRUE(begin == map.begin());
48 ASSERT_TRUE(map.begin() == begin);
49 ASSERT_TRUE(begin != map.end())
77 DoubleHashMap map; local
109 OwnPtrHashMap map; local
153 HashMap<RefPtr<DummyRefCounted>, int> map; local
    [all...]
  /external/chromium/chrome/browser/geolocation/
geolocation_content_settings_map_unittest.cc 68 GeolocationContentSettingsMap* map = local
72 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetDefaultContentSetting());
73 map->SetDefaultContentSetting(CONTENT_SETTING_BLOCK);
74 EXPECT_EQ(CONTENT_SETTING_BLOCK, map->GetDefaultContentSetting());
79 GeolocationContentSettingsMap* map = local
82 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(top_level, top_level));
84 map->SetContentSetting(top_level, top_level, CONTENT_SETTING_ALLOW);
86 map->GetContentSetting(top_level, top_level));
90 map->GetContentSetting(requester_0, top_level));
92 map->SetContentSetting(requester_0, top_level, CONTENT_SETTING_ALLOW)
107 GeolocationContentSettingsMap* map = local
156 GeolocationContentSettingsMap* map = local
169 GeolocationContentSettingsMap* map = local
190 GeolocationContentSettingsMap* map = local
222 GeolocationContentSettingsMap* map = local
265 GeolocationContentSettingsMap* map = local
286 GeolocationContentSettingsMap* map = local
    [all...]
  /system/core/libcutils/
hashmap.c 48 Hashmap* map = malloc(sizeof(Hashmap)); local
49 if (map == NULL) {
55 map->bucketCount = 1;
56 while (map->bucketCount <= minimumBucketCount) {
58 map->bucketCount <<= 1;
61 map->buckets = calloc(map->bucketCount, sizeof(Entry*));
62 if (map->buckets == NULL) {
63 free(map);
67 map->size = 0
    [all...]
  /external/chromium/net/disk_cache/
bitmap_unittest.cc 19 disk_cache::Bitmap map; local
20 EXPECT_EQ(0, map.Size());
21 EXPECT_EQ(0, map.ArraySize());
22 EXPECT_TRUE(NULL == map.GetMap());
59 disk_cache::Bitmap map(kSize, true);
61 map.Toggle(i);
63 map.Toggle(i);
65 EXPECT_EQ((i % 3 == 0) && (i % 9 != 0), map.Get(i));
72 disk_cache::Bitmap map(kSize1, true);
73 map.Resize(kSize1, true)
    [all...]
  /external/chromium_org/net/disk_cache/
bitmap_unittest.cc 19 disk_cache::Bitmap map; local
20 EXPECT_EQ(0, map.Size());
21 EXPECT_EQ(0, map.ArraySize());
22 EXPECT_TRUE(NULL == map.GetMap());
59 disk_cache::Bitmap map(kSize, true);
61 map.Toggle(i);
63 map.Toggle(i);
65 EXPECT_EQ((i % 3 == 0) && (i % 9 != 0), map.Get(i));
72 disk_cache::Bitmap map(kSize1, true);
73 map.Resize(kSize1, true)
    [all...]

Completed in 1404 milliseconds

1 2 34 5 6 7 8 91011>>