Home
last modified time | relevance | path

Searched defs:map (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/external/kernel-headers/original/linux/mtd/
Dmap.h19 #define map_bankwidth(map) 1 argument
20 #define map_bankwidth_is_1(map) (map_bankwidth(map) == 1) argument
21 #define map_bankwidth_is_large(map) (0) argument
22 #define map_words(map) (1) argument
25 #define map_bankwidth_is_1(map) (0) argument
31 # define map_bankwidth(map) ((map)->bankwidth) argument
33 # define map_bankwidth(map) 2 argument
34 # define map_bankwidth_is_large(map) (0) argument
35 # define map_words(map) (1) argument
37 #define map_bankwidth_is_2(map) (map_bankwidth(map) == 2) argument
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java154 protected final boolean supportsValuesHashCode(Map<K, V> map) { in supportsValuesHashCode()
178 protected final void assertInvariants(Map<K, V> map) { in assertInvariants()
270 protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants()
274 final Map<K, V> map; in testClear() local
296 final Map<K, V> map; in testContainsKey() local
321 final Map<K, V> map; in testContainsValue() local
343 final Map<K, V> map; in testEntrySet() local
368 final Map<K, V> map; in testEntrySetForEmptyMap() local
378 final Map<K, V> map; in testEntrySetContainsEntryIncompatibleKey() local
405 final Map<K, V> map; in testEntrySetContainsEntryNullKeyPresent() local
[all …]
DConcurrentMapInterfaceTest.java71 final ConcurrentMap<K, V> map; in testPutIfAbsentNewKey() local
101 final ConcurrentMap<K, V> map; in testPutIfAbsentExistingKey() local
135 final ConcurrentMap<K, V> map; in testPutIfAbsentNullKey() local
169 final ConcurrentMap<K, V> map; in testPutIfAbsentNewKeyNullValue() local
203 final ConcurrentMap<K, V> map; in testPutIfAbsentExistingKeyNullValue() local
233 final ConcurrentMap<K, V> map; in testRemoveKeyValueExisting() local
259 final ConcurrentMap<K, V> map; in testRemoveKeyValueMissingKey() local
285 final ConcurrentMap<K, V> map; in testRemoveKeyValueDifferentValue() local
317 final ConcurrentMap<K, V> map; in testRemoveKeyValueNullKey() local
349 final ConcurrentMap<K, V> map; in testRemoveKeyValueExistingKeyNullValue() local
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs45 public static bool containsKey(IDictionary map, object key) { in containsKey()
50 public static object get(IDictionary map, object key) { in get()
55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { in get()
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { in get()
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { in get()
91 public static void put(IDictionary map, object key, object value) { in put()
96 … public static void put<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key, TValue value) { in put()
101 public static void put<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key, TValue value) { in put()
106 public static HashSet<object> keySet(IDictionary map) { in keySet()
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DDictionaryExtensions.cs44 public static bool containsKey( this IDictionary map, object key ) in containsKey()
50 public static object get( this IDictionary map, object key ) in get()
55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) in get()
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) in get()
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) in get()
93 public static void put( this IDictionary map, object key, object value ) in put()
99 … public static void put<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key, TValue value ) in put()
105 … public static void put<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key, TValue value ) in put()
111 public static HashSet<object> keySet( this IDictionary map ) in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet()
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java34 AtomicLongMap<Object> map = AtomicLongMap.create(); in testNulls() local
40 AtomicLongMap<String> map = AtomicLongMap.create(in); in testCreate_map() local
52 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet() local
68 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet_zero() local
85 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement() local
101 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement_zero() local
118 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet() local
134 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet_zero() local
151 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement() local
167 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement_zero() local
[all …]
/external/guava/guava/src/com/google/common/base/
DDefaults.java35 put(map, boolean.class, false); in put() argument
36 put(map, char.class, '\0'); in put() argument
37 put(map, byte.class, (byte) 0); in put() argument
38 put(map, short.class, (short) 0); in put() argument
39 put(map, int.class, 0); in put() argument
40 put(map, long.class, 0L); in put() argument
41 put(map, float.class, 0f); in put() argument
42 put(map, double.class, 0d); in put() argument
46 private static <T> void put(Map<Class<?>, Object> map, Class<T> type, T value) { in put()
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTest.java80 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() local
81 assertEquals(Collections.emptyMap(), map); in testHashMap() local
89 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() local
98 HashMap<Object, Object> map = in testHashMapGeneralizesTypes() local
165 LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap(); in testLinkedHashMap() local
166 assertEquals(Collections.emptyMap(), map); in testLinkedHashMap() local
171 Map<String, String> map = new LinkedHashMap<String, String>() {{ in testLinkedHashMapWithInitialMap() local
208 HashMap<Object, Object> map in testLinkedHashMapGeneralizesTypes() local
214 IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap(); in testIdentityHashMap() local
215 assertEquals(Collections.emptyMap(), map); in testIdentityHashMap() local
[all …]
DMapsTransformValuesTest.java82 private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) { in assertMapsEqual()
97 Map<String, String> map = Maps.transformValues( in testTransformEmptyMapEquality() local
99 assertMapsEqual(Maps.newHashMap(), map); in testTransformEmptyMapEquality() local
103 Map<String, String> map = Maps.transformValues( in testTransformSingletonMapEquality() local
112 Map<String, Integer> map = Maps.transformValues( in testTransformIdentityFunctionEquality() local
118 Map<String, String> map = Maps.transformValues( in testTransformPutEntryIsUnsupported() local
142 Map<String, String> map in testTransformRemoveEntry() local
153 Map<String, Boolean> map = Maps.transformValues(underlying, in testTransformEqualityOfMapsWithNullValues() local
176 Map<String, String> map in testTransformReflectsUnderlyingMap() local
201 Map<String, String> map in testTransformChangesAreReflectedInUnderlyingMap() local
[all …]
DForwardingConcurrentMapTest.java41 TestMap map = new TestMap(); in testPutIfAbsent() local
50 TestMap map = new TestMap(); in testRemove() local
60 TestMap map = new TestMap(); in testReplace() local
69 TestMap map = new TestMap(); in testReplaceConditional() local
DWellBehavedMapTest.java34 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( in testEntrySet_contain() local
50 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( in testEntry_setValue() local
58 assertEquals(ImmutableMap.of(Foo.X, 6, Foo.Y, 7, Foo.Z, 8), map); in testEntry_setValue() local
62 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( in testEntriesAreMutableAndConsistent() local
89 WellBehavedMap<Foo, Integer> map = WellBehavedMap.wrap( in testEntrySet_remove() local
DImmutableSortedMapTest.java168 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants()
316 ImmutableSortedMap<String, Integer> map in testEmptyBuilder() local
318 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local
322 ImmutableSortedMap<String, Integer> map in testSingletonBuilder() local
330 ImmutableSortedMap<String, Integer> map in testBuilder() local
343 ImmutableSortedMap<String, Integer> map = in testBuilder_withImmutableEntry() local
389 ImmutableSortedMap<String, Integer> map in testBuilderPutAllWithEmptyMap() local
393 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local
405 ImmutableSortedMap<String, Integer> map in testBuilderPutAll() local
667 ImmutableSortedMap<String, Integer> map in testBuilderReverseOrder() local
[all …]
DImmutableMapTest.java154 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants()
283 ImmutableMap<String, Integer> map in testEmptyBuilder() local
285 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local
289 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testSingletonBuilder() local
296 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder() local
308 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder_withImmutableEntry() local
352 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAllWithEmptyMap() local
355 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local
367 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAll() local
521 ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1); in testNullGet() local
[all …]
DImmutableBiMapTest.java155 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants()
218 ImmutableBiMap<String, Integer> map in testEmptyBuilder() local
220 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local
222 assertSame(ImmutableBiMap.of(), map); in testEmptyBuilder() local
226 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testSingletonBuilder() local
234 ImmutableBiMap<String, Integer> map in testBuilder() local
249 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAllWithEmptyMap() local
252 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local
264 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAll() local
472 ImmutableMap<String, Integer> map in testDuplicateValues() local
[all …]
DLinkedListMultimapTest.java124 LinkedListMultimap<String, Integer> map = create(); in testLinkedGetAdd() local
137 ListMultimap<String, Integer> map = create(); in testLinkedGetInsert() local
150 Multimap<String, Integer> map = create(); in testLinkedPutInOrder() local
159 Multimap<String, Integer> map = create(); in testLinkedPutOutOfOrder() local
179 Multimap<String, Integer> map = create(); in testLinkedReplaceValues() local
191 ListMultimap<String, Integer> map = create(); in testLinkedClear() local
207 Multimap<String, Integer> map = create(); in testLinkedKeySet() local
218 Multimap<String, Integer> map = create(); in testLinkedKeys() local
231 Multimap<String, Integer> map = create(); in testLinkedValues() local
242 Multimap<String, Integer> map = create(); in testLinkedEntries() local
[all …]
DMapMakerInternalMapTest.java77 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker()); in testDefaults() local
119 MapMakerInternalMap<Object, Object> map = in testSetKeyEquivalence() local
138 MapMakerInternalMap<Object, Object> map = in testSetValueEquivalence() local
158 MapMakerInternalMap<Object, Object> map = in checkConcurrencyLevel() local
199 MapMakerInternalMap<Object, Object> map = makeMap( in checkInitialCapacity() local
232 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() in checkMaximumSize() local
244 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys() local
251 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().softKeys()); in testSetSoftKeys() local
257 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakValues()); in testSetWeakValues() local
263 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().softValues()); in testSetSoftValues() local
[all …]
/external/linux-tools-perf/util/
Dmap.h33 struct map { struct
40 u8 /* enum map_type */ type; argument
46 u64 (*map_ip)(struct map *, u64); argument
48 u64 (*unmap_ip)(struct map *, u64); argument
51 struct map_groups *groups; argument
90 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip()
95 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip()
173 static inline void map_groups__insert(struct map_groups *self, struct map *map) in map_groups__insert()
179 static inline void map_groups__remove(struct map_groups *self, struct map *map) in map_groups__remove()
/external/qemu/android/utils/
Dintmap.c42 AIntMap* map; in aintMap_new() local
54 aintMap_free( AIntMap* map ) in aintMap_free()
69 aintMap_getCount( AIntMap* map ) in aintMap_getCount()
75 aintMap_get( AIntMap* map, int key ) in aintMap_get()
81 aintMap_getWithDefault( AIntMap* map, int key, void* def ) in aintMap_getWithDefault()
97 aintMap_grow( AIntMap* map ) in aintMap_grow()
125 aintMap_set( AIntMap* map, int key, void* value ) in aintMap_set()
158 aintMap_del( AIntMap* map, int key ) in aintMap_del()
190 aintMapIterator_init( AIntMapIterator* iter, AIntMap* map ) in aintMapIterator_init()
202 AIntMap* map; in aintMapIterator_next() local
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DBiMapGenerators.java45 Map<String, Integer> map = Maps.newLinkedHashMap(); in create() local
56 Map<Integer, String> map = Maps.newLinkedHashMap(); in create() local
72 Map<String, String> map = Maps.newLinkedHashMap(); in createFromEntries() local
84 Map<Integer, String> map = Maps.newLinkedHashMap(); in create() local
95 Map<String, Integer> map = Maps.newLinkedHashMap(); in create() local
111 Map<String, String> map = Maps.newLinkedHashMap(); in createFromEntries() local
/external/chromium/base/
Dfile_descriptor_shuffle_unittest.cc73 InjectiveMultimap map; in TEST() local
81 InjectiveMultimap map; in TEST() local
90 InjectiveMultimap map; in TEST() local
99 InjectiveMultimap map; in TEST() local
109 InjectiveMultimap map; in TEST() local
121 InjectiveMultimap map; in TEST() local
132 InjectiveMultimap map; in TEST() local
144 InjectiveMultimap map; in TEST() local
159 InjectiveMultimap map; in TEST() local
174 InjectiveMultimap map; in TEST() local
[all …]
/external/qemu/memcheck/
Dmemcheck_mmrange_map.c68 mmrangemap_insert_desc(MMRangeMap* map, in mmrangemap_insert_desc()
101 mmrangemap_find_entry(const MMRangeMap* map, in mmrangemap_find_entry()
116 mmrangemap_init(MMRangeMap* map) in mmrangemap_init()
122 mmrangemap_insert(MMRangeMap* map, in mmrangemap_insert()
148 mmrangemap_find(const MMRangeMap* map, target_ulong start, target_ulong end) in mmrangemap_find()
155 mmrangemap_pull(MMRangeMap* map, in mmrangemap_pull()
172 mmrangemap_pull_first(MMRangeMap* map, MMRangeDesc* pulled) in mmrangemap_pull_first()
219 mmrangemap_empty(MMRangeMap* map) in mmrangemap_empty()
Dmemcheck_malloc_map.c106 allocmap_insert_desc(AllocMap* map, in allocmap_insert_desc()
140 allocmap_find_entry(const AllocMap* map, in allocmap_find_entry()
157 allocmap_init(AllocMap* map) in allocmap_init()
163 allocmap_insert(AllocMap* map, const MallocDescEx* desc, MallocDescEx* replaced) in allocmap_insert()
187 allocmap_find(const AllocMap* map, target_ulong address, uint32_t block_size) in allocmap_find()
194 allocmap_pull(AllocMap* map, target_ulong address, MallocDescEx* pulled) in allocmap_pull()
208 allocmap_pull_first(AllocMap* map, MallocDescEx* pulled) in allocmap_pull_first()
270 allocmap_empty(AllocMap* map) in allocmap_empty()
/external/kernel-headers/original/asm-x86/
Dmpspec_32.h45 #define physid_set(physid, map) set_bit(physid, (map).mask) argument
46 #define physid_clear(physid, map) clear_bit(physid, (map).mask) argument
47 #define physid_isset(physid, map) test_bit(physid, (map).mask) argument
48 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask) argument
52 #define physids_clear(map) bitmap_zero((map).mask, MAX_APICS) argument
54 #define physids_empty(map) bitmap_empty((map).mask, MAX_APICS) argument
56 #define physids_weight(map) bitmap_weight((map).mask, MAX_APICS) argument
59 #define physids_coerce(map) ((map).mask[0]) argument
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DIdentityHashMapTest.java43 IdentityHashMap map = new IdentityHashMap(); in test_null_Keys_and_Values() local
97 IdentityHashMap<Object, Object> map = new IdentityHashMap<Object, Object>(); in test_putLjava_lang_ObjectLjava_lang_Object() local
115 IdentityHashMap map = new IdentityHashMap(); in test_remove() local
156 IdentityHashMap map = new IdentityHashMap(); in test_sets() local
190 IdentityHashMap map = new IdentityHashMap(); in test_entrySet_removeAll() local
209 IdentityHashMap map = new IdentityHashMap(); in test_keySet_clear() local
228 IdentityHashMap map = new IdentityHashMap(); in test_values() local
278 IdentityHashMap map = new IdentityHashMap(); in test_keySet_removeAll() local
296 IdentityHashMap map = new IdentityHashMap(); in test_keySet_retainAll() local
322 IdentityHashMap map = new IdentityHashMap(); in test_keyset_remove() local
/external/v8/src/
Dobjects-visiting.h124 static VisitorId GetVisitorId(Map* map) { in GetVisitorId()
164 inline Callback GetVisitor(Map* map) { in GetVisitor()
225 static inline ReturnType Visit(Map* map, HeapObject* object) { in Visit()
236 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) { in VisitSpecialized()
251 static inline ReturnType Visit(Map* map, HeapObject* object) { in Visit()
283 static inline int IterateBody(Map* map, HeapObject* obj) { in IterateBody()
292 static inline int VisitByteArray(Map* map, HeapObject* object) { in VisitByteArray()
296 static inline int VisitFixedDoubleArray(Map* map, HeapObject* object) { in VisitFixedDoubleArray()
301 static inline int VisitJSObject(Map* map, HeapObject* object) { in VisitJSObject()
305 static inline int VisitSeqAsciiString(Map* map, HeapObject* object) { in VisitSeqAsciiString()
[all …]

12345678910>>...24