Searched defs:map (Results 1 - 25 of 540) sorted by relevance

1234567891011>>

/external/linux-tools-perf/util/
H A Dcpumap.h6 int map[]; member in struct:cpu_map
11 void cpu_map__delete(struct cpu_map *map);
H A Dthread_map.h8 int map[]; member in struct:thread_map
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DMultiMap.java36 public void map(K key, V value) { method in class:MultiMap
/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...]
H A DSupport_UnmodifiableMapTest.java28 Map<String, Integer> map; field in class:Support_UnmodifiableMapTest
30 // must be a map containing the string keys "0"-"99" paired with the Integer
39 map = m;
45 assertTrue("UnmodifiableMapTest - Should contain the key \"0\"", map
47 assertTrue("UnmodifiableMapTest - Should contain the key \"50\"", map
50 !map.containsKey("100"));
53 assertTrue("UnmodifiableMapTest - Should contain the value 0", map
55 assertTrue("UnmodifiableMapTest - Should contain the value 50", map
57 assertTrue("UnmodifiableMapTest - Should not contain value 100", !map
61 Set<?> entrySet = map
[all...]
/external/clang/test/Parser/
H A Dcxx0x-for-range.cpp7 struct map { struct
16 int foo(map<char*,int> &m) {
/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/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/webkit/Source/WebKit/android/WebCoreSupport/
H A DWebResourceRequest.cpp88 const HTTPHeaderMap& map = resourceRequest.httpHeaderFields(); local
89 for (HTTPHeaderMap::const_iterator it = map.begin(); it != map.end(); ++it) {
93 // Skip over referrer headers found in the header map because we already
/external/chromium/chrome/browser/chromeos/
H A Dname_value_pairs_parser_unittest.cc13 NameValuePairsParser::NameValueMap map; local
14 NameValuePairsParser parser(&map);
18 ASSERT_EQ(1U, map.size());
19 EXPECT_EQ("Foo", map["foo"]);
23 NameValuePairsParser::NameValueMap map; local
24 NameValuePairsParser parser(&map);
28 ASSERT_EQ(3U, map.size());
29 EXPECT_EQ("Foo", map["foo"]);
30 EXPECT_EQ("Bar", map["bar"]);
31 EXPECT_EQ("FooBar", map["fooba
[all...]
/external/chromium/chrome/browser/
H A Dmock_plugin_exceptions_table_model.cc8 HostContentSettingsMap* map,
10 : PluginExceptionsTableModel(map, otr_map) {}
7 MockPluginExceptionsTableModel( HostContentSettingsMap* map, HostContentSettingsMap* otr_map) argument
/external/chromium/chrome/browser/policy/
H A Dpolicy_map_unittest.cc14 PolicyMap map; local
15 map.Set(kPolicyHomepageLocation, Value::CreateStringValue("aaa"));
17 EXPECT_TRUE(expected.Equals(map.Get(kPolicyHomepageLocation)));
18 map.Set(kPolicyHomepageLocation, Value::CreateStringValue("bbb"));
20 EXPECT_TRUE(expected_b.Equals(map.Get(kPolicyHomepageLocation)));
/external/chromium/chrome/browser/prefs/
H A Dpref_value_map_unittest.cc13 PrefValueMap map; local
15 EXPECT_FALSE(map.GetValue("key", &result));
18 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test")));
19 EXPECT_FALSE(map.SetValue("key", Value::CreateStringValue("test")));
20 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("hi mom!")));
22 EXPECT_TRUE(map.GetValue("key", &result));
27 PrefValueMap map; local
28 EXPECT_FALSE(map.RemoveValue("key"));
30 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test")));
31 EXPECT_TRUE(map
40 PrefValueMap map; local
[all...]
/external/chromium/chrome/common/extensions/
H A Dextension_icon_set.h9 #include <map>
18 // Access to the underlying map from icon size->path.
19 typedef std::map<int, std::string> IconMap;
20 const IconMap& map() const { return map_; } function in class:ExtensionIconSet
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DRegisterMapper.java41 public abstract RegisterSpec map(RegisterSpec registerSpec); method in class:RegisterMapper
48 public final RegisterSpecList map(RegisterSpecList sources) { method in class:RegisterMapper
53 newSources.set(i, map(sources.get(i)));
/external/icu4c/common/
H A Dudatamem.h38 void *map; /* Handle, or other data, OS dependent. */ member in struct:UDataMemory
/external/openssl/crypto/x509v3/
H A Dpcy_map.c71 POLICY_MAPPING *map; local
83 map = sk_POLICY_MAPPING_value(maps, i);
84 /* Reject if map to or from anyPolicy */
85 if ((OBJ_obj2nid(map->subjectDomainPolicy) == NID_any_policy)
86 || (OBJ_obj2nid(map->issuerDomainPolicy) == NID_any_policy))
93 data = policy_cache_find_data(cache, map->issuerDomainPolicy);
94 /* If we don't have anyPolicy can't map */
101 data = policy_data_new(NULL, map->issuerDomainPolicy,
107 /*map->issuerDomainPolicy = NULL;*/
119 map
[all...]
/external/qemu/elff/
H A Delf_mapped_section.cc33 bool ElfMappedSection::map(MapFile* handle, function in class:ElfMappedSection
/external/valgrind/main/memcheck/tests/
H A Dpointer-trace.c22 char *map; local
54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
55 if (map == (char *)-1)
59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0);
60 if (map == (char *)-1)
66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0);
67 if (map == (char *)-1)
69 //printf("trap 3 = %p-%p\n", map, map+stepsize*2);
72 map
[all...]
/external/valgrind/main/none/tests/linux/
H A Dmremap.c8 static char *map; local
12 if (map != NULL)
13 munmap(map, mapsz);
22 map = p;
/external/webkit/Source/WebKit2/Shared/
H A DImmutableDictionary.cpp38 ImmutableDictionary::ImmutableDictionary(MapType& map) argument
40 m_map.swap(map);
/external/webrtc/src/system_wrappers/test/map/
H A Dmap.cc39 void PrintMap(MapWrapper& map) argument
41 MapItem* map_item = map.First();
48 map_item = map.Next(map_item);
/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...]
/external/apache-http/src/org/apache/http/auth/
H A DAuthSchemeRegistry.java137 * with the content of the map passed as a parameter.
139 * @param map authentication schemes
141 public synchronized void setItems(final Map<String, AuthSchemeFactory> map) { argument
142 if (map == null) {
146 registeredSchemes.putAll(map);

Completed in 1214 milliseconds

1234567891011>>