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

1234567891011>>

/external/v8/tools/gyp/test/mac/sdkroot/
H A Dfile.cc1 #include <map>
2 using std::map;
/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/
H A Dmap-minus-zero.js7 var map = new Map();
19 assertEquals(map.size, 0);
21 map.set(objectKey, 'aaa');
22 map.set(stringKey, 'bbb');
23 map.set(numberKey, 'ccc');
24 map.set(booleanKey, 'ddd');
25 map.set(undefinedKey, 'eee');
26 map.set(nullKey, 'fff');
27 map.set(nanKey, 'ggg');
28 map
[all...]
/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.ops/
H A Dcount0.pass.cpp12 // <map>
14 // class map
24 #include <map>
31 typedef std::map<int, double, transparent_less> M;
H A Dequal_range0.pass.cpp12 // <map>
14 // class map
24 #include <map>
31 typedef std::map<int, double, transparent_less> M;
H A Dfind0.pass.cpp12 // <map>
14 // class map
24 #include <map>
31 typedef std::map<int, double, transparent_less> M;
H A Dlower_bound0.pass.cpp12 // <map>
14 // class map
24 #include <map>
31 typedef std::map<int, double, transparent_less> M;
H A Dupper_bound0.pass.cpp12 // <map>
14 // class map
24 #include <map>
31 typedef std::map<int, double, transparent_less> M;
/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/libgdx/gdx/src/com/badlogic/gdx/graphics/
H A DColors.java27 private static final ObjectMap<String, Color> map = new ObjectMap<String, Color>(); field in class:Colors
33 /** Returns the color map. */
35 return map;
45 return map.get(name);
56 return map.put(name, color);
59 /** Resets the color map to the predefined colors. */
61 map.clear();
62 map.put("CLEAR", Color.CLEAR);
63 map.put("BLACK", Color.BLACK);
65 map
[all...]
/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...]

Completed in 1698 milliseconds

1234567891011>>