/external/stlport/test/unit/ |
H A D | map_header_test.cpp | 8 #include <map>
|
/external/linux-tools-perf/util/ui/browsers/ |
H A D | map.h | 3 struct map; 5 int map__browse(struct map *self);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_MapTest2.java | 25 Map<String, String> map; field in class:Support_MapTest2 29 map = m; 30 if (!map.isEmpty()) { 38 map.put("one", "1"); 39 assertEquals("size should be one", 1, map.size()); 40 map.clear(); 41 assertEquals("size should be zero", 0, map.size()); 42 assertTrue("Should not have entries", !map.entrySet().iterator() 44 assertTrue("Should not have keys", !map.keySet().iterator() 46 assertTrue("Should not have values", !map [all...] |
/external/chromium/android/autofill/ |
H A D | url_fetcher_proxy.cc | 31 std::map<URLFetcherProxy*, bool> URLFetcherProxy::pending_callbacks_;
|
/external/qemu/android/utils/ |
H A D | intmap.c | 18 /* We implement the map as two parallel arrays. 25 * number of items in the map. 42 AIntMap* map; local 44 ANEW0(map); 45 map->size = 0; 46 map->capacity = 4; 47 map->keys = map->keys0; 48 map->values = map 75 aintMap_get( AIntMap* map, int key ) argument 81 aintMap_getWithDefault( AIntMap* map, int key, void* def ) argument 125 aintMap_set( AIntMap* map, int key, void* value ) argument 158 aintMap_del( AIntMap* map, int key ) argument 202 AIntMap* map; local [all...] |
/external/v8/test/mjsunit/regress/ |
H A D | regress-1548.js | 31 function testfn(f) { return [1].map(f)[0]; } 32 function foo() { return [].map.caller; } 37 delete Array.prototype.map.caller; 41 function testarguments(f) { return [1].map(f)[0]; } 42 function bar() { return [].map.arguments; } 47 delete Array.prototype.map.arguments;
|
/external/kernel-headers/original/linux/mtd/ |
H A D | map.h | 3 /* $Id: map.h,v 1.54 2005/11/07 11:14:54 gleixner Exp $ */ 19 #define map_bankwidth(map) 1 20 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) 21 #define map_bankwidth_is_large(map) (0) 22 #define map_words(map) (1) 25 #define map_bankwidth_is_1(map) (0) 31 # define map_bankwidth(map) ((map)->bankwidth) 33 # define map_bankwidth(map) 246 map_word_equal(struct map_info *map, map_word val1, map_word val2) argument 256 map_word_and(struct map_info *map, map_word val1, map_word val2) argument 267 map_word_clr(struct map_info *map, map_word val1, map_word val2) argument 278 map_word_or(struct map_info *map, map_word val1, map_word val2) argument 291 map_word_bitsset(struct map_info *map, map_word val1, map_word val2) argument 302 map_word_load(struct map_info *map, const void *ptr) argument 322 map_word_load_partial(struct map_info *map, map_word orig, const unsigned char *buf, int start, int len) argument 350 map_word_ff(struct map_info *map) argument 365 inline_map_read(struct map_info *map, unsigned long ofs) argument 385 inline_map_write(struct map_info *map, const map_word datum, unsigned long ofs) argument 402 inline_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument 410 inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | ConcurrentMapInterfaceTest.java | 51 * that will not be found in the map 71 final ConcurrentMap<K, V> map; 75 map = makeEitherMap(); 82 int initialSize = map.size(); 83 V oldValue = map.putIfAbsent(keyToPut, valueToPut); 84 assertEquals(valueToPut, map.get(keyToPut)); 85 assertTrue(map.containsKey(keyToPut)); 86 assertTrue(map.containsValue(valueToPut)); 87 assertEquals(initialSize + 1, map.size()); 91 map [all...] |
H A D | MapInterfaceTest.java | 69 * @return a new, empty map instance. 79 * @return a new, non-empty map instance. 92 * that will not be found in the map. 103 * that will not be found in the map. 141 * Used by tests that require a map, but don't care whether it's 144 * @return a new map instance. 154 protected final boolean supportsValuesHashCode(Map<K, V> map) { argument 156 Collection<V> values = map.values(); 171 * Checks all the properties that should always hold of a map. Also calls 176 * @param map th 178 assertInvariants(Map<K, V> map) argument 270 assertMoreInvariants(Map<K, V> map) argument [all...] |
/external/chromium/chrome/browser/chromeos/ |
H A D | name_value_pairs_parser_unittest.cc | 13 NameValuePairsParser::NameValueMap map; local 14 NameValuePairsParser parser(&map); 18 ASSERT_EQ(1U, map.size()); 19 EXPECT_EQ("Foo", map["foo"]); 23 NameValuePairsParser::NameValueMap map; local 24 NameValuePairsParser parser(&map); 28 ASSERT_EQ(3U, map.size()); 29 EXPECT_EQ("Foo", map["foo"]); 30 EXPECT_EQ("Bar", map["bar"]); 31 EXPECT_EQ("FooBar", map["fooba [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingConcurrentMapTest.java | 41 TestMap map = new TestMap(); 42 map.put("foo", 1); 43 assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2)); 44 assertEquals(Integer.valueOf(1), map.get("foo")); 45 assertNull(map.putIfAbsent("bar", 3)); 46 assertEquals(Integer.valueOf(3), map.get("bar")); 50 TestMap map = new TestMap(); 51 map.put("foo", 1); 52 assertFalse(map.remove("foo", 2)); 53 assertFalse(map [all...] |
/external/proguard/src/proguard/obfuscate/ |
H A D | MapCleaner.java | 30 * This ClassVisitor clears a given map whenever it visits a class. 38 private final Map map; field in class:MapCleaner 43 * @param map the map to be cleared. 45 public MapCleaner(Map map) argument 47 this.map = map; 55 map.clear();
|
/external/guava/guava/src/com/google/common/base/ |
H A D | Defaults.java | 34 Map<Class<?>, Object> map = new HashMap<Class<?>, Object>(); 35 put(map, boolean.class, false); 36 put(map, char.class, '\0'); 37 put(map, byte.class, (byte) 0); 38 put(map, short.class, (short) 0); 39 put(map, int.class, 0); 40 put(map, long.class, 0L); 41 put(map, float.class, 0f); 42 put(map, double.class, 0d); 43 DEFAULTS = Collections.unmodifiableMap(map); 46 put(Map<Class<?>, Object> map, Class<T> type, T value) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
H A D | DictionaryExtensions.cs | 45 public static bool containsKey(IDictionary map, object key) { argument 46 return map.Contains(key); 50 public static object get(IDictionary map, object key) { argument 51 return map[key]; 55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { argument 57 if (map.TryGetValue(key, out value)) 67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { argument 69 if (map.TryGetValue(key, out value)) 78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { argument 80 if (map 91 put(IDictionary map, object key, object value) argument 96 put(IDictionary<TKey, TValue> map, TKey key, TValue value) argument 101 put(Dictionary<TKey, TValue> map, TKey key, TValue value) argument 106 keySet(IDictionary map) argument 111 keySet(IDictionary<TKey, TValue> map) argument 117 keySet(Dictionary<TKey, TValue> map) argument 122 keySet(SortedList<TKey, TValue> map) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | DictionaryExtensions.cs | 44 public static bool containsKey( this IDictionary map, object key ) argument 46 return map.Contains( key ); 50 public static object get( this IDictionary map, object key ) argument 52 return map[key]; 55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) argument 58 if ( map.TryGetValue( key, out value ) ) 68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) argument 71 if ( map.TryGetValue( key, out value ) ) 80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) argument 83 if ( map 93 put( this IDictionary map, object key, object value ) argument 99 put( this IDictionary<TKey, TValue> map, TKey key, TValue value ) argument 105 put( this Dictionary<TKey, TValue> map, TKey key, TValue value ) argument [all...] |
/external/expat/xmlwf/ |
H A D | codepage.h | 5 int codepageMap(int cp, int *map);
|
/external/linux-tools-perf/util/ |
H A D | cpumap.h | 6 int map[]; member in struct:cpu_map 11 void cpu_map__delete(struct cpu_map *map);
|
H A D | 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) argument 92 return ip - map->start + map 95 map__unmap_ip(struct map *map, u64 ip) argument 173 map_groups__insert(struct map_groups *self, struct map *map) argument 179 map_groups__remove(struct map_groups *self, struct map *map) argument [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | AtomicLongMapTest.java | 34 AtomicLongMap<Object> map = AtomicLongMap.create(); 35 tester.testAllPublicInstanceMethods(map); 40 AtomicLongMap<String> map = AtomicLongMap.create(in); 41 assertFalse(map.isEmpty()); 42 assertSame(3, map.size()); 43 assertTrue(map.containsKey("1")); 44 assertTrue(map.containsKey("2")); 45 assertTrue(map.containsKey("3")); 46 assertEquals(1L, map.get("1")); 47 assertEquals(2L, map [all...] |
/external/grub/lib/ |
H A D | 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/chrome/browser/geolocation/ |
H A D | 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 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...] |
/external/chromium/net/disk_cache/ |
H A D | 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 [all...] |
/external/chromium/chrome/browser/prefs/ |
H A D | pref_value_map_unittest.cc | 13 PrefValueMap map; local 15 EXPECT_FALSE(map.GetValue("key", &result)); 18 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); 19 EXPECT_FALSE(map.SetValue("key", Value::CreateStringValue("test"))); 20 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("hi mom!"))); 22 EXPECT_TRUE(map.GetValue("key", &result)); 27 PrefValueMap map; local 28 EXPECT_FALSE(map.RemoveValue("key")); 30 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test"))); 31 EXPECT_TRUE(map 40 PrefValueMap map; local [all...] |
/external/oprofile/daemon/liblegacy/ |
H A D | opd_mapping.h | 62 * @param proc process to add map to 84 * @param map map to check 88 * of the map @map, %0 otherwise. 90 inline static int opd_is_in_map(struct opd_map * map, unsigned long eip) argument 92 return (eip >= map->start && eip < map->end); 97 * opd_map_offset - return offset of sample against map 98 * @param map ma 105 opd_map_offset(struct opd_map * map, unsigned long eip) argument [all...] |
/external/qemu/memcheck/ |
H A D | memcheck_malloc_map.h | 15 * tree (a map) of memory blocks allocated by the guest system. The map is 16 * organized in such a way, that each entry in the map describes a virtual 34 /* Allocation descriptors map. */ 36 /* Head of the map. */ 44 /* Initializes allocation descriptors map. 46 * map - Allocation descriptors map to initialize. 48 void allocmap_init(AllocMap* map); 50 /* Inserts new (or replaces existing) entry in the allocation descriptors map [all...] |