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

1 2 3 4 5 67 8 91011>>

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
AbstractMapTest.java 31 import java.util.Map;
49 mySet.add(new Map.Entry() {
83 Map map3 = Collections.EMPTY_MAP;
142 AbstractMap map = new HashMap(); local
143 map.put(1, 1);
144 map.clear();
145 assertTrue(map.isEmpty());
175 AbstractMap map = new AMT(); local
177 assertFalse(map.containsKey("k"));
178 assertFalse(map.containsKey(null))
194 AbstractMap map = new AMT(); local
212 AbstractMap map = new AMT(); local
256 private Map map = new HashMap(); field in class:AbstractMapTest.MyMap
279 MyMap map = new MyMap(); local
    [all...]
  /external/chromium/chrome/browser/geolocation/
geolocation_exceptions_table_model_unittest.cc 41 scoped_refptr<GeolocationContentSettingsMap> map(
43 map->SetContentSetting(kUrl0, kUrl0, CONTENT_SETTING_ALLOW);
44 map->SetContentSetting(kUrl0, kUrl1, CONTENT_SETTING_ALLOW);
45 map->SetContentSetting(kUrl0, kUrl2, CONTENT_SETTING_ALLOW);
58 scoped_refptr<GeolocationContentSettingsMap> map(
62 map->SetContentSetting(kUrl0, kUrl0, CONTENT_SETTING_ALLOW);
71 map->SetContentSetting(kUrl0, kUrl0, CONTENT_SETTING_DEFAULT);
72 map->SetContentSetting(kUrl0, kUrl1, CONTENT_SETTING_ALLOW);
73 map->SetContentSetting(kUrl0, kUrl2, CONTENT_SETTING_BLOCK);
87 scoped_refptr<GeolocationContentSettingsMap> map(
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
WellBehavedMapTest.java 24 import java.util.Map;
34 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( local
36 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
39 assertTrue(map.entrySet().contains(Maps.immutableEntry(Foo.X, 1)));
40 assertTrue(map.entrySet().contains(Maps.immutableEntry(Foo.Y, new Integer(2))));
43 assertFalse(map.entrySet().contains(Maps.immutableEntry(Foo.X, 5)));
46 assertFalse(map.entrySet().contains(Maps.immutableEntry(Foo.T, 0)));
50 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( local
52 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
54 for (Map.Entry<Foo, Integer> entry : map.entrySet())
58 assertEquals(ImmutableMap.of(Foo.X, 6, Foo.Y, 7, Foo.Z, 8), map); local
62 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( local
89 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( local
    [all...]
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...]
ForwardingMapTest.java 37 import java.util.Map;
38 import java.util.Map.Entry;
49 private final Map<K, V> backingMap;
51 StandardImplForwardingMap(Map<K, V> backingMap) {
55 @Override protected Map<K, V> delegate() {
67 @Override public void putAll(Map<? extends K, ? extends V> map) {
68 standardPutAll(map);
115 Map<String, Boolean> forward;
123 @Override protected Map<String, String> create
    [all...]
  /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 21 static const NameMap map[] = variable
66 // set up section map
68 const unsigned int map_size = (sizeof(map) / sizeof(map[0]) );
71 pConfig.scripts().sectionMap().append(map[i].from, map[i].to, exist);
  /ndk/sources/cxx-stl/llvm-libc++/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++/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;
  /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/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/webkit/Source/WebCore/bindings/gobject/
WebKitHTMLElementWrapperFactory.cpp 471 static HashMap<WTF::AtomicStringImpl*, CreateHTMLElementWrapperFunction> map; local
472 if (map.isEmpty()) {
473 map.set(aTag.localName().impl(), createAnchorWrapper);
474 map.set(appletTag.localName().impl(), createAppletWrapper);
476 map.set(audioTag.localName().impl(), createAudioWrapper);
477 map.set(videoTag.localName().impl(), createVideoWrapper);
479 map.set(areaTag.localName().impl(), createAreaWrapper);
480 map.set(baseTag.localName().impl(), createBaseWrapper);
481 map.set(basefontTag.localName().impl(), createBaseFontWrapper);
482 map.set(blockquoteTag.localName().impl(), createBlockquoteWrapper)
    [all...]
  /system/extras/libpagemap/include/pagemap/
pagemap.h 88 /* Get the map count (from /proc/kpagecount) of a physical frame.
150 /* Get the name, flags, start/end address, or offset of a map. */
151 #define pm_map_name(map) ((map)->name)
152 #define pm_map_flags(map) ((map)->flags)
156 #define pm_map_start(map) ((map)->start)
157 #define pm_map_end(map) ((map)->end
    [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/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/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...]
  /dalvik/dx/src/com/android/dx/ssa/
RegisterMapper.java 41 public abstract RegisterSpec map(RegisterSpec registerSpec); method in class:RegisterMapper
48 public final RegisterSpecList map(RegisterSpecList sources) { method in class:RegisterMapper
53 newSources.set(i, map(sources.get(i)));

Completed in 1128 milliseconds

1 2 3 4 5 67 8 91011>>