Searched refs:map (Results 1 - 25 of 2392) sorted by relevance

1234567891011>>

/external/linux-tools-perf/src/tools/perf/ui/browsers/
H A Dmap.h3 struct map;
5 int map__browse(struct map *self);
/external/mesa3d/src/mesa/program/
H A Dstring_to_uint_map.cpp39 string_to_uint_map_dtor(struct string_to_uint_map *map) argument
41 delete map;
/external/v8/test/mjsunit/es6/regress/
H A Dregress-2034.js29 var map = new WeakMap;
33 assertFalse(map.has(key));
34 assertSame(undefined, map.get(key));
37 map.set(key, 1);
38 assertTrue(map.has(key));
39 assertSame(1, map.get(key));
42 map.delete(key, 1);
43 assertFalse(map.has(key));
44 assertSame(undefined, map.get(key));
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_MapTest2.java25 Map<String, String> map; field in class:Support_MapTest2
29 map = m;
30 if (!map.isEmpty()) {
38 map.put("one", "1");
39 assertEquals("size should be one", 1, map.size());
40 map.clear();
41 assertEquals("size should be zero", 0, map.size());
42 assertTrue("Should not have entries", !map.entrySet().iterator()
44 assertTrue("Should not have keys", !map.keySet().iterator()
46 assertTrue("Should not have values", !map
[all...]
/external/libcxx/test/std/containers/associative/map/map.cons/
H A Ddefault_recursive.pass.cpp10 // <map>
12 // class map
14 // map();
16 #include <map>
20 std::map<int, X> m;
21 std::map<int, X>::iterator i;
22 std::map<int, X>::const_iterator ci;
23 std::map<int, X>::reverse_iterator ri;
24 std::map<int, X>::const_reverse_iterator cri;
/external/v8/test/mjsunit/regress/
H A Dregress-1548.js31 function testfn(f) { return [1].map(f)[0]; }
32 function foo() { return [].map.caller; }
37 delete Array.prototype.map.caller;
41 function testarguments(f) { return [1].map(f)[0]; }
42 function bar() { return [].map.arguments; }
47 delete Array.prototype.map.arguments;
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/test/
H A DStubResourceBundle.groovy20 * and allow dynamic adding or changing of map contents. Automatically define default value for key if no entry
25 Map map
27 StubResourceBundle(Map map = [:]) {
28 this.map = map
32 map.put(key, value)
37 return map[key] ?: "key=$key arg0={0} arg1={1}".toString()
41 return new Vector(map.keySet()).elements()
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingConcurrentMapTest.java41 TestMap map = new TestMap();
42 map.put("foo", 1);
43 assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2));
44 assertEquals(Integer.valueOf(1), map.get("foo"));
45 assertNull(map.putIfAbsent("bar", 3));
46 assertEquals(Integer.valueOf(3), map.get("bar"));
50 TestMap map = new TestMap();
51 map.put("foo", 1);
52 assertFalse(map.remove("foo", 2));
53 assertFalse(map
[all...]
/external/linux-tools-perf/src/tools/perf/util/
H A Dcpumap.h9 int map[]; member in struct:cpu_map
14 void cpu_map__delete(struct cpu_map *map);
16 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
17 int cpu_map__get_socket(struct cpu_map *map, int idx);
18 int cpu_map__get_core(struct cpu_map *map, int idx);
26 return sock->map[s];
39 static inline int cpu_map__nr(const struct cpu_map *map) argument
41 return map ? map->nr : 1;
44 static inline bool cpu_map__empty(const struct cpu_map *map) argument
[all...]
H A Dmap.h27 struct map { struct
44 u64 (*map_ip)(struct map *, u64);
46 u64 (*unmap_ip)(struct map *, u64);
63 static inline struct kmap *map__kmap(struct map *map) argument
65 return (struct kmap *)(map + 1);
68 static inline u64 map__map_ip(struct map *map, u64 ip) argument
70 return ip - map->start + map
73 map__unmap_ip(struct map *map, u64 ip) argument
131 map_groups__insert(struct map_groups *mg, struct map *map) argument
137 map_groups__remove(struct map_groups *mg, struct map *map) argument
154 map_groups__next(struct map *map) argument
[all...]
/external/libcxx/test/std/containers/associative/map/
H A Dcompare.pass.cpp10 // <map>
14 // class map
19 #include <map>
29 std::map<Key, int>::iterator it = std::map<Key, int>().find(Key(0));
30 std::pair<std::map<Key, int>::iterator, bool> result =
31 std::map<Key, int>().insert(std::make_pair(Key(0), 0));
/external/proguard/src/proguard/obfuscate/
H A DMapCleaner.java30 * This ClassVisitor clears a given map whenever it visits a class.
38 private final Map map; field in class:MapCleaner
43 * @param map the map to be cleared.
45 public MapCleaner(Map map) argument
47 this.map = map;
55 map.clear();
/external/clang/test/Modules/Inputs/PR20399/
H A Dstl_map.h8 struct map { struct in namespace:std
11 friend bool operator<(const map &, const map &);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs45 public static bool containsKey(IDictionary map, object key) { argument
46 return map.Contains(key);
50 public static object get(IDictionary map, object key) { argument
51 return map[key];
55 public static TValue get<TKey, TValue>(IDictionary<TKey, TValue> map, TKey key) { argument
57 if (map.TryGetValue(key, out value))
67 public static TValue get<TKey, TValue>(Dictionary<TKey, TValue> map, TKey key) { argument
69 if (map.TryGetValue(key, out value))
78 public static TValue get<TKey, TValue>(SortedList<TKey, TValue> map, TKey key) { argument
80 if (map
91 put(IDictionary map, object key, object value) argument
96 put(IDictionary<TKey, TValue> map, TKey key, TValue value) argument
101 put(Dictionary<TKey, TValue> map, TKey key, TValue value) argument
106 keySet(IDictionary map) argument
111 keySet(IDictionary<TKey, TValue> map) argument
117 keySet(Dictionary<TKey, TValue> map) argument
122 keySet(SortedList<TKey, TValue> map) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DDictionaryExtensions.cs44 public static bool containsKey( this IDictionary map, object key ) argument
46 return map.Contains( key );
50 public static object get( this IDictionary map, object key ) argument
52 return map[key];
55 public static TValue get<TKey, TValue>( this IDictionary<TKey, TValue> map, TKey key ) argument
58 if ( map.TryGetValue( key, out value ) )
68 public static TValue get<TKey, TValue>( this Dictionary<TKey, TValue> map, TKey key ) argument
71 if ( map.TryGetValue( key, out value ) )
80 public static TValue get<TKey, TValue>( this SortedList<TKey, TValue> map, TKey key ) argument
83 if ( map
93 put( this IDictionary map, object key, object value ) argument
99 put( this IDictionary<TKey, TValue> map, TKey key, TValue value ) argument
105 put( this Dictionary<TKey, TValue> map, TKey key, TValue value ) argument
[all...]

Completed in 2430 milliseconds

1234567891011>>