Home
last modified time | relevance | path

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

12345678910>>...50

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dmap.h27 struct map { struct
34 u8 /* enum map_type */ type; argument
44 u64 (*map_ip)(struct map *, u64); argument
46 u64 (*unmap_ip)(struct map *, u64); argument
49 struct map_groups *groups; argument
63 static inline struct kmap *map__kmap(struct map *map) in map__kmap()
68 static inline u64 map__map_ip(struct map *map, u64 ip) in map__map_ip()
73 static inline u64 map__unmap_ip(struct map *map, u64 ip) in map__unmap_ip()
131 static inline void map_groups__insert(struct map_groups *mg, struct map *map) in map_groups__insert()
137 static inline void map_groups__remove(struct map_groups *mg, struct map *map) in map_groups__remove()
[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/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
DJsoMapTest.java52 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testDelKey() local
64 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testGet() local
84 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testGetInt() local
105 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testGetKeys() local
117 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testGetObj() local
141 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testContainsKey() local
165 JsoMap map = JsoMap.createEmptyJsoMap(); in testPut() local
175 JsoMap map = JsoMap.createEmptyJsoMap(); in testPutInt() local
185 JsoMap map = JsoMap.createEmptyJsoMap(); in testPutObj() local
198 JsoMap map = JsoMap.buildJsoMap(VALID_JSON); in testString() local
[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/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/chromium_org/v8/src/heap/
Dobjects-visiting.h109 static VisitorId GetVisitorId(Map* map) { in GetVisitorId()
147 inline Callback GetVisitor(Map* map) { in GetVisitor()
203 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE()
211 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) { in VisitSpecialized()
223 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) { in INLINE()
253 INLINE(static int IterateBody(Map* map, HeapObject* obj)) { in INLINE()
262 INLINE(static int VisitJSFunction(Map* map, HeapObject* object)) { in INLINE()
277 INLINE(static int VisitByteArray(Map* map, HeapObject* object)) { in INLINE()
281 INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) { in INLINE()
286 INLINE(static int VisitFixedTypedArray(Map* map, HeapObject* object)) { in INLINE()
[all …]
/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 …]
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 …]
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
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
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 …]
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/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/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
DStandardChecks.java39 addToMap(map, AddressField.COUNTRY, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
41 addToMap(map, AddressField.ADMIN_AREA, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
43 addToMap(map, AddressField.LOCALITY, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
45 addToMap(map, AddressField.DEPENDENT_LOCALITY, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
47 addToMap(map, AddressField.POSTAL_CODE, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
50 addToMap(map, AddressField.STREET_ADDRESS, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
52 addToMap(map, AddressField.SORTING_CODE, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
54 addToMap(map, AddressField.ORGANIZATION, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
56 addToMap(map, AddressField.RECIPIENT, AddressProblemType.USING_UNUSED_FIELD, in addToMap() argument
62 private static void addToMap(Map<AddressField, List<AddressProblemType>> map, in addToMap()
/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/chromium_org/base/posix/
Dfile_descriptor_shuffle_unittest.cc70 InjectiveMultimap map; in TEST() local
78 InjectiveMultimap map; in TEST() local
87 InjectiveMultimap map; in TEST() local
96 InjectiveMultimap map; in TEST() local
106 InjectiveMultimap map; in TEST() local
118 InjectiveMultimap map; in TEST() local
129 InjectiveMultimap map; in TEST() local
141 InjectiveMultimap map; in TEST() local
156 InjectiveMultimap map; in TEST() local
171 InjectiveMultimap map; in TEST() local
[all …]
/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/mesa3d/src/mesa/main/
Dpixel.c76 get_pixelmap(struct gl_context *ctx, GLenum map) in get_pixelmap()
109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, in store_pixelmap()
184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values ) in _mesa_PixelMapfv()
226 _mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values ) in _mesa_PixelMapuiv()
282 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values ) in _mesa_PixelMapusv()
338 _mesa_GetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat *values ) in _mesa_GetnPixelMapfvARB()
383 _mesa_GetPixelMapfv( GLenum map, GLfloat *values ) in _mesa_GetPixelMapfv()
389 _mesa_GetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint *values ) in _mesa_GetnPixelMapuivARB()
434 _mesa_GetPixelMapuiv( GLenum map, GLuint *values ) in _mesa_GetPixelMapuiv()
440 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values ) in _mesa_GetnPixelMapusvARB()
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dpixel.c76 get_pixelmap(struct gl_context *ctx, GLenum map) in get_pixelmap()
109 store_pixelmap(struct gl_context *ctx, GLenum map, GLsizei mapsize, in store_pixelmap()
184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values ) in _mesa_PixelMapfv()
226 _mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values ) in _mesa_PixelMapuiv()
282 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values ) in _mesa_PixelMapusv()
338 _mesa_GetnPixelMapfvARB( GLenum map, GLsizei bufSize, GLfloat *values ) in _mesa_GetnPixelMapfvARB()
383 _mesa_GetPixelMapfv( GLenum map, GLfloat *values ) in _mesa_GetPixelMapfv()
389 _mesa_GetnPixelMapuivARB( GLenum map, GLsizei bufSize, GLuint *values ) in _mesa_GetnPixelMapuivARB()
434 _mesa_GetPixelMapuiv( GLenum map, GLuint *values ) in _mesa_GetPixelMapuiv()
440 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values ) in _mesa_GetnPixelMapusvARB()
[all …]
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_origin_identifier_value_map_unittest.cc15 content_settings::OriginIdentifierValueMap map; in TEST() local
59 content_settings::OriginIdentifierValueMap map; in TEST() local
113 content_settings::OriginIdentifierValueMap map; in TEST() local
145 content_settings::OriginIdentifierValueMap map; in TEST() local
174 content_settings::OriginIdentifierValueMap map; in TEST() local
182 content_settings::OriginIdentifierValueMap map; in TEST() local
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_keymap.c67 default_delete_func(const struct keymap *map, in default_delete_func()
113 struct keymap *map = MALLOC_STRUCT(keymap); in util_new_keymap() local
138 util_delete_keymap(struct keymap *map, void *user) in util_delete_keymap()
147 hash_table_find_iter(const struct keymap *map, const void *key, in hash_table_find_iter()
166 hash_table_find_item(const struct keymap *map, const void *key, in hash_table_find_item()
188 util_keymap_insert(struct keymap *map, const void *key, in util_keymap_insert()
232 util_keymap_lookup(const struct keymap *map, const void *key) in util_keymap_lookup()
257 util_keymap_remove(struct keymap *map, const void *key, void *user) in util_keymap_remove()
292 util_keymap_remove_all(struct keymap *map, void *user) in util_keymap_remove_all()
314 util_keymap_info(const struct keymap *map) in util_keymap_info()
/external/mesa3d/src/gallium/auxiliary/util/
Du_keymap.c67 default_delete_func(const struct keymap *map, in default_delete_func()
113 struct keymap *map = MALLOC_STRUCT(keymap); in util_new_keymap() local
138 util_delete_keymap(struct keymap *map, void *user) in util_delete_keymap()
147 hash_table_find_iter(const struct keymap *map, const void *key, in hash_table_find_iter()
166 hash_table_find_item(const struct keymap *map, const void *key, in hash_table_find_item()
188 util_keymap_insert(struct keymap *map, const void *key, in util_keymap_insert()
232 util_keymap_lookup(const struct keymap *map, const void *key) in util_keymap_lookup()
257 util_keymap_remove(struct keymap *map, const void *key, void *user) in util_keymap_remove()
292 util_keymap_remove_all(struct keymap *map, void *user) in util_keymap_remove_all()
314 util_keymap_info(const struct keymap *map) in util_keymap_info()

12345678910>>...50