| /external/linux-tools-perf/src/tools/perf/util/ |
| D | map.h | 27 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/ |
| D | MapInterfaceTest.java | 155 protected final boolean supportsValuesHashCode(Map<K, V> map) { in supportsValuesHashCode() 179 protected final void assertInvariants(Map<K, V> map) { in assertInvariants() 271 protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 275 final Map<K, V> map; in testClear() local 297 final Map<K, V> map; in testContainsKey() local 322 final Map<K, V> map; in testContainsValue() local 344 final Map<K, V> map; in testEntrySet() local 369 final Map<K, V> map; in testEntrySetForEmptyMap() local 379 final Map<K, V> map; in testEntrySetContainsEntryIncompatibleKey() local 406 final Map<K, V> map; in testEntrySetContainsEntryNullKeyPresent() local [all …]
|
| /external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ |
| D | AtomicLongMapTest.java | 43 AtomicLongMap<String> map = AtomicLongMap.create(in); in testCreate_map() local 55 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet() local 71 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet_zero() local 88 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement() local 104 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement_zero() local 121 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet() local 137 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet_zero() local 154 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement() local 170 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement_zero() local 187 AtomicLongMap<String> map = AtomicLongMap.create(); in testAddAndGet() local [all …]
|
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| D | MapsTest.java | 70 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() local 71 assertEquals(Collections.emptyMap(), map); in testHashMap() local 79 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() local 88 HashMap<Object, Object> map = in testHashMapGeneralizesTypes() local 117 LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap(); in testLinkedHashMap() local 118 assertEquals(Collections.emptyMap(), map); in testLinkedHashMap() local 123 Map<String, String> map = new LinkedHashMap<String, String>() {{ in testLinkedHashMapWithInitialMap() local 160 HashMap<Object, Object> map in testLinkedHashMapGeneralizesTypes() local 166 IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap(); in testIdentityHashMap() local 167 assertEquals(Collections.emptyMap(), map); in testIdentityHashMap() local [all …]
|
| D | LinkedListMultimapTest.java | 112 LinkedListMultimap<String, Integer> map = create(); in testLinkedGetAdd() local 125 ListMultimap<String, Integer> map = create(); in testLinkedGetInsert() local 138 Multimap<String, Integer> map = create(); in testLinkedPutInOrder() local 147 Multimap<String, Integer> map = create(); in testLinkedPutOutOfOrder() local 167 Multimap<String, Integer> map = create(); in testLinkedReplaceValues() local 179 ListMultimap<String, Integer> map = create(); in testLinkedClear() local 195 Multimap<String, Integer> map = create(); in testLinkedKeySet() local 206 Multimap<String, Integer> map = create(); in testLinkedKeys() local 219 Multimap<String, Integer> map = create(); in testLinkedValues() local 230 Multimap<String, Integer> map = create(); in testLinkedEntries() local [all …]
|
| D | ImmutableSortedMapTest.java | 59 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 190 ImmutableSortedMap<String, Integer> map in testEmptyBuilder() local 192 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local 196 ImmutableSortedMap<String, Integer> map in testSingletonBuilder() local 204 ImmutableSortedMap<String, Integer> map in testBuilder() local 217 ImmutableSortedMap<String, Integer> map = in testBuilder_withImmutableEntry() local 263 ImmutableSortedMap<String, Integer> map in testBuilderPutAllWithEmptyMap() local 267 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local 279 ImmutableSortedMap<String, Integer> map in testBuilderPutAll() local 535 ImmutableSortedMap<String, Integer> map in testBuilderReverseOrder() local [all …]
|
| D | ImmutableMapTest.java | 58 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 139 ImmutableMap<String, Integer> map in testEmptyBuilder() local 141 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local 145 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testSingletonBuilder() local 152 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder() local 164 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder_withImmutableEntry() local 208 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAllWithEmptyMap() local 211 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local 223 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAll() local 426 ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1); in testNullGet() local [all …]
|
| D | ImmutableEnumMapTest.java | 41 Map<AnEnum, String> map = Maps.newHashMap(); in create() local 50 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap(ImmutableMap.<AnEnum, String>of()); in testEmptyImmutableEnumMap() local 51 assertEquals(ImmutableMap.of(), map); in testEmptyImmutableEnumMap() local 55 ImmutableMap<AnEnum, String> map = Maps.immutableEnumMap( in testImmutableEnumMapOrdering() local
|
| D | ImmutableBiMapTest.java | 56 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 119 ImmutableBiMap<String, Integer> map in testEmptyBuilder() local 121 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local 123 assertSame(ImmutableBiMap.of(), map); in testEmptyBuilder() local 127 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testSingletonBuilder() local 135 ImmutableBiMap<String, Integer> map in testBuilder() local 150 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAllWithEmptyMap() local 153 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local 165 ImmutableBiMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAll() local 373 ImmutableMap<String, Integer> map in testDuplicateValues() local [all …]
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| D | AtomicLongMapTest.java | 52 AtomicLongMap<Object> map = AtomicLongMap.create(); in testNulls() local 58 AtomicLongMap<String> map = AtomicLongMap.create(in); in testCreate_map() local 70 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet() local 86 AtomicLongMap<String> map = AtomicLongMap.create(); in testIncrementAndGet_zero() local 103 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement() local 119 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndIncrement_zero() local 136 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet() local 152 AtomicLongMap<String> map = AtomicLongMap.create(); in testDecrementAndGet_zero() local 169 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement() local 185 AtomicLongMap<String> map = AtomicLongMap.create(); in testGetAndDecrement_zero() local [all …]
|
| /external/guava/guava-tests/test/com/google/common/collect/ |
| D | MapsTest.java | 79 HashMap<Integer, Integer> map = Maps.newHashMap(); in testHashMap() local 80 assertEquals(Collections.emptyMap(), map); in testHashMap() local 88 HashMap<String, Integer> map = Maps.newHashMap(original); in testHashMapWithInitialMap() local 97 HashMap<Object, Object> map = in testHashMapGeneralizesTypes() local 175 LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap(); in testLinkedHashMap() local 176 assertEquals(Collections.emptyMap(), map); in testLinkedHashMap() local 181 Map<String, String> map = new LinkedHashMap<String, String>() {{ in testLinkedHashMapWithInitialMap() local 218 HashMap<Object, Object> map in testLinkedHashMapGeneralizesTypes() local 224 IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap(); in testIdentityHashMap() local 225 assertEquals(Collections.emptyMap(), map); in testIdentityHashMap() local [all …]
|
| D | MapsTransformValuesTest.java | 82 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 …]
|
| D | ImmutableSortedMapTest.java | 105 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 253 ImmutableSortedMap<String, Integer> map in testEmptyBuilder() local 255 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local 259 ImmutableSortedMap<String, Integer> map in testSingletonBuilder() local 267 ImmutableSortedMap<String, Integer> map in testBuilder() local 280 ImmutableSortedMap<String, Integer> map = in testBuilder_withImmutableEntry() local 326 ImmutableSortedMap<String, Integer> map in testBuilderPutAllWithEmptyMap() local 330 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local 342 ImmutableSortedMap<String, Integer> map in testBuilderPutAll() local 598 ImmutableSortedMap<String, Integer> map in testBuilderReverseOrder() local [all …]
|
| D | ImmutableMapTest.java | 150 @Override protected void assertMoreInvariants(Map<K, V> map) { in assertMoreInvariants() 279 ImmutableMap<String, Integer> map in testEmptyBuilder() local 281 assertEquals(Collections.<String, Integer>emptyMap(), map); in testEmptyBuilder() local 285 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testSingletonBuilder() local 292 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder() local 304 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilder_withImmutableEntry() local 348 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAllWithEmptyMap() local 351 assertEquals(Collections.<String, Integer>emptyMap(), map); in testBuilderPutAllWithEmptyMap() local 363 ImmutableMap<String, Integer> map = new Builder<String, Integer>() in testBuilderPutAll() local 566 ImmutableMap<String, Integer> map = ImmutableMap.of("one", 1); in testNullGet() local [all …]
|
| D | WellBehavedMapTest.java | 34 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
|
| D | LinkedListMultimapTest.java | 159 LinkedListMultimap<String, Integer> map = create(); in testLinkedGetAdd() local 172 ListMultimap<String, Integer> map = create(); in testLinkedGetInsert() local 185 Multimap<String, Integer> map = create(); in testLinkedPutInOrder() local 194 Multimap<String, Integer> map = create(); in testLinkedPutOutOfOrder() local 214 Multimap<String, Integer> map = create(); in testLinkedReplaceValues() local 226 ListMultimap<String, Integer> map = create(); in testLinkedClear() local 242 Multimap<String, Integer> map = create(); in testLinkedKeySet() local 253 Multimap<String, Integer> map = create(); in testLinkedKeys() local 266 Multimap<String, Integer> map = create(); in testLinkedValues() local 277 Multimap<String, Integer> map = create(); in testLinkedEntries() local [all …]
|
| D | ForwardingConcurrentMapTest.java | 41 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
|
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
| D | DictionaryExtensions.cs | 45 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/ |
| D | DictionaryExtensions.cs | 44 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/v8/src/heap/ |
| D | objects-visiting.h | 109 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/src/com/google/common/base/ |
| D | Defaults.java | 39 put(map, boolean.class, false); in put() argument 40 put(map, char.class, '\0'); in put() argument 41 put(map, byte.class, (byte) 0); in put() argument 42 put(map, short.class, (short) 0); in put() argument 43 put(map, int.class, 0); in put() argument 44 put(map, long.class, 0L); in put() argument 45 put(map, float.class, 0f); in put() argument 46 put(map, double.class, 0d); in put() argument 50 private static <T> void put(Map<Class<?>, Object> map, Class<T> type, T value) { in put()
|
| /external/protobuf/java/src/test/java/com/google/protobuf/ |
| D | SmallSortedMapTest.java | 147 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testReplacingPut() local 158 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testRemove() local 199 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testClear() local 210 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testGetArrayEntryAndOverflowEntries() local 232 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetContains() local 246 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetAdd() local 263 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetRemove() local 281 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetClear() local 293 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetIteratorNext() local 308 SmallSortedMap<Integer, Integer> map = SmallSortedMap.newInstanceForTest(3); in testEntrySetIteratorRemove() local [all …]
|
| /external/mesa3d/src/mesa/main/ |
| D | pixel.c | 76 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/mesa3d/src/gallium/auxiliary/util/ |
| D | u_keymap.c | 67 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/guava/guava-tests/benchmark/com/google/common/collect/ |
| D | MapBenchmark.java | 45 Map<Element, Element> map = Maps.newHashMap(); in create() local 54 Map<Element, Element> map = Maps.newLinkedHashMap(); in create() local 73 Map<Element, Element> map = Maps.newTreeMap(); in create() local 82 Map<Element, Element> map = in create() local 92 Map<Element, Element> map = in create() local 102 Map<Element, Element> map = new MapMaker() in create() local 113 Map<Element, Element> map = new MapMaker() in create() local 187 Map<Element, Element> map = mapToTest; in get() local 210 Map<Element, Element> map = mapToTest; in iterateWithEntrySet() local 222 Map<Element, Element> map = mapToTest; in iterateWithKeySetAndGet() local
|