/external/nist-sip/java/gov/nist/core/ |
MultiValueMapImpl.java | 31 import java.util.Map; 35 private HashMap<String, ArrayList<V>> map = new HashMap<String, ArrayList<V>>(); field in class:MultiValueMapImpl 45 ArrayList<V> keyList = map.get(key); 48 map.put(key, keyList); 56 Set pairs = map.entrySet(); 63 Map.Entry keyValuePair = (Map.Entry) (pairsIterator.next()); 72 Set pairs = map.entrySet(); 75 Map.Entry keyValuePair = (Map.Entry) (pairsIterator.next()) [all...] |
/external/qemu/memcheck/ |
memcheck_mmrange_map.c | 21 /* Memory range descriptor stored in the map. */ 34 /* Compare routine for the map. 36 * d1 - First map entry to compare. 37 * d2 - Second map entry to compare. 63 /* Inserts new (or replaces existing) entry into the map. 68 mmrangemap_insert_desc(MMRangeMap* map, 72 MMRangeMapEntry* existing = MMRangeMap_RB_INSERT(map, rdesc); 85 MMRangeMap_RB_REMOVE(map, existing); 87 MMRangeMap_RB_INSERT(map, rdesc); 91 /* Finds an entry in the map that matches the given address range [all...] |
/external/srec/tools/grxmlcompile/ |
hashmap.h | 25 #include <map> 47 typename std::map<T1,T2>::iterator begin(); 48 typename std::map<T1,T2>::iterator end(); 54 std::map<T1, T2> m_Map; 55 typename std::map<T1,T2>::iterator m_pPos;
|
/frameworks/compile/mclinker/lib/Target/ |
ELFEmulation.cpp | 22 static const NameMap map[] = variable 68 // set up section map 70 const unsigned int map_size = (sizeof(map) / sizeof(map[0]) ); 73 pScript.sectionMap().append(map[i].from, map[i].to, exist);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.cons/ |
default_noexcept.pass.cpp | 10 // <map> 12 // map() 20 #include <map> 37 typedef std::map<MoveOnly, MoveOnly> C; 41 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; 49 typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
|
dtor_noexcept.pass.cpp | 10 // <map> 12 // ~map() // implied noexcept; 14 #include <map> 35 typedef std::map<MoveOnly, MoveOnly> C; 39 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 43 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; 47 typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
|
move_assign_noexcept.pass.cpp | 10 // <map> 12 // map& operator=(map&& c) 20 #include <map> 37 typedef std::map<MoveOnly, MoveOnly> C; 41 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; 49 typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
|
move_noexcept.pass.cpp | 10 // <map> 12 // map(map&&) 18 #include <map> 35 typedef std::map<MoveOnly, MoveOnly> C; 39 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 43 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; 47 typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/map/map.special/ |
swap_noexcept.pass.cpp | 10 // <map> 12 // void swap(map& c) 18 #include <map> 40 typedef std::map<MoveOnly, MoveOnly> C; 45 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, test_allocator<MoveOnly>> C; 50 typedef std::map<MoveOnly, MoveOnly, std::less<MoveOnly>, other_allocator<MoveOnly>> C; 55 typedef std::map<MoveOnly, MoveOnly, some_comp<MoveOnly>> C;
|
/external/chromium_org/components/policy/core/common/ |
schema_map_unittest.cc | 70 scoped_refptr<SchemaMap> map = new SchemaMap(); local 71 EXPECT_TRUE(map->GetDomains().empty()); 72 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_CHROME)); 73 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_EXTENSIONS)); 74 EXPECT_FALSE(map->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, ""))); 75 EXPECT_FALSE(map->HasComponents()); 79 scoped_refptr<SchemaMap> map = new SchemaMap(); local 80 EXPECT_FALSE(map->HasComponents()); 88 map = new SchemaMap(domain_map); 89 EXPECT_FALSE(map->HasComponents()) 98 scoped_refptr<SchemaMap> map = CreateTestMap(); local 160 PolicyMap& map = expected_bundle.Get(extension_ns); local 282 DomainMap map; local [all...] |
schema_registry.cc | 25 ComponentMap map; local 26 map[ns.component_id] = schema; 27 RegisterComponents(ns.domain, map); 37 DomainMap map(schema_map_->GetDomains()); 40 map[domain][it->first] = it->second; 42 schema_map_ = new SchemaMap(map); 47 DomainMap map(schema_map_->GetDomains()); 48 if (map[ns.domain].erase(ns.component_id) != 0) { 49 schema_map_ = new SchemaMap(map); 122 DomainMap map(own_schema_map_->GetDomains()) [all...] |
/frameworks/base/tools/validatekeymaps/ |
Main.cpp | 81 sp<KeyLayoutMap> map; local 82 status_t status = KeyLayoutMap::load(String8(filename), &map); 91 sp<KeyCharacterMap> map; local 93 KeyCharacterMap::FORMAT_ANY, &map); 95 fprintf(stderr, "Error %d parsing key character map file.\n\n", status); 102 PropertyMap* map; local 103 status_t status = PropertyMap::load(String8(filename), &map); 108 delete map; 113 VirtualKeyMap* map; local 114 status_t status = VirtualKeyMap::load(String8(filename), &map); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_slice_group_map.c | 59 u32 *map, 65 u32 *map, 71 u32 *map, 79 u32 *map, 86 u32 *map, 92 u32 *map, 103 Function to decode interleaved slice group map type, i.e. slice 104 group map type 0. 107 map pointer to the map [all...] |
/external/chromium_org/v8/src/ |
objects-visiting.h | 39 // pointers to specialized visit functions. Each map has the visitor_id 92 V(Map) \ 131 static VisitorId GetVisitorId(Map* map) { 132 return GetVisitorId(map->instance_type(), map->instance_size()); 171 inline Callback GetVisitor(Map* map) { 172 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]); 232 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) [all...] |
/external/chromium/chrome/common/extensions/ |
extension_action.h | 9 #include <map> 154 void SetValue(std::map<int, T>* map, int tab_id, const T& val) { 155 (*map)[tab_id] = val; 159 T GetValue(std::map<int, T>* map, int tab_id) { 160 typename std::map<int, T>::iterator iter = map->find(tab_id); 161 if (iter != map->end()) { 164 iter = map->find(kDefaultTabId) [all...] |
/external/valgrind/main/VEX/priv/ |
host_generic_regs.c | 139 void ppHRegRemap ( HRegRemap* map ) 143 for (i = 0; i < map->n_used; i++) { 145 ppHReg(map->orig[i]); 147 ppHReg(map->replacement[i]); 154 void initHRegRemap ( HRegRemap* map ) 156 map->n_used = 0; 160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement ) 163 for (i = 0; i < map->n_used; i++) 164 if (map->orig[i] == orig) 171 vassert(map->n_used+1 < N_HREG_REMAP) [all...] |
/external/v8/src/ |
objects-visiting.h | 39 // pointers to specialized visit functions. Each map has the visitor_id 124 static VisitorId GetVisitorId(Map* map) { 125 return GetVisitorId(map->instance_type(), map->instance_size()); 164 inline Callback GetVisitor(Map* map) { 165 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]); 225 static inline ReturnType Visit(Map* map, HeapObject* object) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_mipmap_tree.c | 645 * For cube map textures, either the \c face parameter can be used, of course, 662 /* This branch may be taken even if the texture target is a cube map. In 1476 struct intel_miptree_map *map = calloc(1, sizeof(*map)); local 1501 struct intel_miptree_map **map; local 1521 struct intel_miptree_map *map; local 1565 struct intel_miptree_map *map = mt->level[level].slice[slice].map; local 1603 struct intel_miptree_map *map; local 1655 struct intel_miptree_map *map = mt->level[level].slice[slice].map; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_mipmap_tree.c | 645 * For cube map textures, either the \c face parameter can be used, of course, 662 /* This branch may be taken even if the texture target is a cube map. In 1476 struct intel_miptree_map *map = calloc(1, sizeof(*map)); local 1501 struct intel_miptree_map **map; local 1521 struct intel_miptree_map *map; local 1565 struct intel_miptree_map *map = mt->level[level].slice[slice].map; local 1603 struct intel_miptree_map *map; local 1655 struct intel_miptree_map *map = mt->level[level].slice[slice].map; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBundle.java | 8 import java.util.Map; 22 Map<String, Object> map = new HashMap<String, Object>(); field in class:ShadowBundle 30 map.clear(); 35 map.remove(key); 40 return map.get(key); 45 map.put(key, value); 50 Object value = map.get(key); 59 Object value = map.get(key); 65 map.put(key, value) [all...] |
/art/test/ReferenceMap/ |
stack_walk_refmap_jni.cc | 46 << "Error: Reg @ " << i << "-th argument is not in GC map"; \ 62 NativePcOffsetToReferenceMap map(m->GetNativeGcMap()); 77 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x03U))); 81 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x06U))); 85 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x08U))); 89 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x0cU))); 93 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x0eU))); 97 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x10U))); 101 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x13U))); 111 ref_bitmap = map.FindBitMap(m->NativePcOffset(m->ToNativePc(0x18U))) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapGenerators.java | 28 import java.util.Map; 29 import java.util.Map.Entry; 45 Map<String, Integer> map = Maps.newLinkedHashMap(); local 47 map.put(elements[i], i); 49 return ImmutableBiMap.copyOf(map).keySet(); 56 Map<Integer, String> map = Maps.newLinkedHashMap(); local 58 map.put(i, elements[i]); 60 return ImmutableBiMap.copyOf(map).values() 72 Map<String, String> map = Maps.newLinkedHashMap(); local 84 Map<Integer, String> map = Maps.newLinkedHashMap(); local 95 Map<String, Integer> map = Maps.newLinkedHashMap(); local 111 Map<String, String> map = Maps.newLinkedHashMap(); local [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MapMakerInternalMapTest.java | 45 import java.util.Map; 77 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker()); local 79 assertSame(Strength.STRONG, map.keyStrength); 80 assertSame(Strength.STRONG, map.valueStrength); 81 assertSame(map.keyStrength.defaultEquivalence(), map.keyEquivalence); 82 assertSame(map.valueStrength.defaultEquivalence(), map.valueEquivalence); 84 assertEquals(0, map.expireAfterAccessNanos); 85 assertEquals(0, map.expireAfterWriteNanos) 119 MapMakerInternalMap<Object, Object> map = local 138 MapMakerInternalMap<Object, Object> map = local 158 MapMakerInternalMap<Object, Object> map = local 199 MapMakerInternalMap<Object, Object> map = makeMap( local 232 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 244 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakKeys()); local 251 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().softKeys()); local 257 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakValues()); local 263 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().softValues()); local 279 MapMakerInternalMap<Object, Object> map = local 287 MapMakerInternalMap<Object, Object> map = local 297 MapMakerInternalMap<Object, Object> map = local 307 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 350 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 379 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 405 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 437 MapMakerInternalMap<Object, Object> map = makeMap(maker); local 469 MapMakerInternalMap<Object, Object> map = makeMap(maker); local 517 MapMakerInternalMap<Object, Object> map = local 592 MapMakerInternalMap<Object, Object> map = local 636 MapMakerInternalMap<Object, Object> map = local 675 MapMakerInternalMap<Object, Object> map = local 707 MapMakerInternalMap<Object, Object> map = local 739 MapMakerInternalMap<Object, Object> map = local 756 MapMakerInternalMap<Object, Object> map = local 777 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().concurrencyLevel(1)); local 816 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().concurrencyLevel(1)); local 862 MapMakerInternalMap<Object, Object> map = local 899 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 950 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().concurrencyLevel(1)); local 994 MapMakerInternalMap<Object, Object> map = local 1053 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 1084 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 1118 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 1165 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() local 1217 MapMakerInternalMap<Object, Object> map = makeMap(maker.concurrencyLevel(1)); local 1242 MapMakerInternalMap<Object, Object> map = makeMap(maker.concurrencyLevel(1)); local 1286 MapMakerInternalMap<Object, Object> map = makeMap(maker.concurrencyLevel(1)); local 1327 MapMakerInternalMap<Object, Object> map = makeMap(maker.concurrencyLevel(1)); local 1370 MapMakerInternalMap<Object, Object> map = makeMap(maker.concurrencyLevel(1)); local 1464 MapMakerInternalMap<Object, Object> map = local 1504 MapMakerInternalMap<Object, Object> map = local 1534 MapMakerInternalMap<Object, Object> map = local 1565 MapMakerInternalMap<Object, Object> map = local 1596 MapMakerInternalMap<Object, Object> map = local [all...] |
ForMapMultimapAsMapImplementsMapTest.java | 23 import java.util.Map; 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 40 Map<String, Integer> map = Maps.newHashMap(); local 41 return Multimaps.forMap(map).asMap(); 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 45 Map<String, Integer> map = Maps.newHashMap(); local 46 map.put("foo", 1); 47 map.put("bar", 2) [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
LRUCache.java | 23 import java.util.Map;
43 private LinkedHashMap<K, V> map;
field in class:LRUCache 55 this.map = new LinkedHashMap<K, V>(hashTableCapacity, LRUCache.hashTableLoadFactor, true) {
61 protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
77 return this.map.get(key);
94 this.map.put(key, value);
101 this.map.clear();
110 return this.map.size();
119 public synchronized Collection<Map.Entry<K, V>> getAll() {
120 return new ArrayList<Map.Entry<K, V>>(this.map.entrySet()); [all...] |