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

1234567891011>>

/external/chromium_org/extensions/browser/
H A Dprocess_map_unittest.cc12 ProcessMap map; local
15 EXPECT_FALSE(map.Contains("a", 1));
16 EXPECT_FALSE(map.Remove("a", 1, 1));
17 EXPECT_EQ(0u, map.size());
20 EXPECT_TRUE(map.Insert("a", 1, 1));
21 EXPECT_TRUE(map.Contains("a", 1));
22 EXPECT_FALSE(map.Contains("a", 2));
23 EXPECT_FALSE(map.Contains("b", 1));
24 EXPECT_EQ(1u, map.size());
27 EXPECT_FALSE(map
[all...]
/external/chromium_org/third_party/mesa/src/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/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/chromium_org/chrome/common/extensions/docs/examples/extensions/mappy/
H A Dpopup.js25 var map = document.getElementById("map");
27 map.src = src;
28 map.addEventListener('click', function () {
39 function map() { function
45 window.onload = map;
/external/chromium_org/content/browser/cocoa/
H A Dsystem_hotkey_helper_mac.h32 SystemHotkeyMap* map() { return map_.get(); } function in class:content::SystemHotkeyHelperMac
/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/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_origin_identifier_value_map_unittest.cc15 content_settings::OriginIdentifierValueMap map; local
18 map.GetValue(GURL("http://www.google.com"),
22 map.SetValue(ContentSettingsPattern::FromString("[*.]google.com"),
29 EXPECT_TRUE(expected_value->Equals(map.GetValue(GURL("http://www.google.com"),
35 map.GetValue(GURL("http://www.google.com"),
41 map.GetValue(GURL("http://www.youtube.com"),
47 map.GetValue(GURL("http://www.google.com"),
52 EXPECT_EQ(NULL, map.GetValue(GURL("http://www.google.com"),
59 content_settings::OriginIdentifierValueMap map; local
61 EXPECT_EQ(NULL, map
113 content_settings::OriginIdentifierValueMap map; local
145 content_settings::OriginIdentifierValueMap map; local
174 content_settings::OriginIdentifierValueMap map; local
182 content_settings::OriginIdentifierValueMap map; local
[all...]
H A Dmock_settings_observer.cc12 MockSettingsObserver::MockSettingsObserver(HostContentSettingsMap* map) argument
13 : map_(map), observer_(this) {
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIOutputMap.cpp13 MIDIOutputMap::MIDIOutputMap(HeapHashMap<String, Member<MIDIOutput> > map) argument
14 : MIDIPortMap<MIDIOutput>(map)
H A DMIDIInputMap.cpp13 MIDIInputMap::MIDIInputMap(const HeapHashMap<String, Member<MIDIInput> >map) argument
14 : MIDIPortMap<MIDIInput>(map)
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_ashmem_unittest.cpp22 void* map = ::mmap(NULL, local
28 EXPECT_NE(MAP_FAILED, map);
32 EXPECT_EQ(0, ((char*)map)[n]);
35 EXPECT_EQ(0, ::munmap(map, kSize));
/external/chromium_org/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/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dthread_map.h9 pid_t map[]; member in struct:thread_map
/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/chromium_org/chromeos/system/
H A Dname_value_pairs_parser_unittest.cc14 NameValuePairsParser::NameValueMap map; local
15 NameValuePairsParser parser(&map);
19 ASSERT_EQ(1U, map.size());
20 EXPECT_EQ("Foo", map["foo"]);
24 NameValuePairsParser::NameValueMap map; local
25 NameValuePairsParser parser(&map);
28 EXPECT_EQ(3U, map.size());
29 EXPECT_EQ("Foo", map["foo"]);
30 EXPECT_EQ("Bar", map["bar"]);
31 EXPECT_EQ("FooBar", map["fooba
66 NameValuePairsParser::NameValueMap map; local
104 NameValuePairsParser::NameValueMap map; local
[all...]
/external/chromium_org/media/cast/common/
H A Dmod_util.h8 #include <map>
14 // MAP is a map<uint??, ...> where the unsigned integer is
16 // Return the oldest entry in the map.
18 typename MAP::iterator ModMapOldest(MAP* map) { argument
19 typename MAP::iterator ret = map->begin();
20 if (ret != map->end()) {
25 typename MAP::iterator tmp = map->upper_bound(lower_quarter * 3);
26 if (tmp != map->end())
33 // MAP is a map<uint??, ...> where the unsigned integer is
35 // Returns the previous entry in the map
37 ModMapPrevious(MAP* map, typename MAP::iterator i) argument
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
H A Dpcy_map.c72 POLICY_MAPPING *map; local
84 map = sk_POLICY_MAPPING_value(maps, i);
85 /* Reject if map to or from anyPolicy */
86 if ((OBJ_obj2nid(map->subjectDomainPolicy) == NID_any_policy)
87 || (OBJ_obj2nid(map->issuerDomainPolicy) == NID_any_policy))
94 data = policy_cache_find_data(cache, map->issuerDomainPolicy);
95 /* If we don't have anyPolicy can't map */
102 data = policy_data_new(NULL, map->issuerDomainPolicy,
108 /*map->issuerDomainPolicy = NULL;*/
120 map
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dudatamem.h38 void *map; /* Handle, or other data, OS dependent. */ member in struct:UDataMemory
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DStandardChecks.java26 * Loader for a map defining the standard checks to perform on AddressFields.
36 Map<AddressField, List<AddressProblemType>> map =
39 addToMap(map, AddressField.COUNTRY, AddressProblemType.USING_UNUSED_FIELD,
41 addToMap(map, AddressField.ADMIN_AREA, AddressProblemType.USING_UNUSED_FIELD,
43 addToMap(map, AddressField.LOCALITY, AddressProblemType.USING_UNUSED_FIELD,
45 addToMap(map, AddressField.DEPENDENT_LOCALITY, AddressProblemType.USING_UNUSED_FIELD,
47 addToMap(map, AddressField.POSTAL_CODE, AddressProblemType.USING_UNUSED_FIELD,
50 addToMap(map, AddressField.STREET_ADDRESS, AddressProblemType.USING_UNUSED_FIELD,
52 addToMap(map, AddressField.SORTING_CODE, AddressProblemType.USING_UNUSED_FIELD,
54 addToMap(map, AddressFiel
62 addToMap(Map<AddressField, List<AddressProblemType>> map, AddressField field, AddressProblemType... problems) argument
[all...]
/external/chromium_org/tools/android/forwarder2/
H A Dutil.h12 // Safely deletes a ref-counted value in a provided map by unlinking the object
13 // from the map before deleting it in case its destructor would access the map.
16 // in the map.
18 bool DeleteRefCountedValueInMap(const K& key, Map* map) { argument
19 const typename Map::iterator it = map->find(key);
20 if (it == map->end())
22 DeleteRefCountedValueInMapFromIterator(it, map);
28 void DeleteRefCountedValueInMapFromIterator(Iterator it, Map* map) { argument
29 DCHECK(it != map
[all...]
/external/chromium_org/v8/src/
H A Dlookup-inl.h14 JSReceiver* LookupIterator::NextHolder(Map* map) { argument
16 if (map->prototype()->IsNull()) return NULL;
18 JSReceiver* next = JSReceiver::cast(map->prototype());
19 DCHECK(!next->map()->IsGlobalObjectMap() ||
20 next->map()->is_hidden_prototype());
23 !(check_hidden() && next->map()->is_hidden_prototype()) &&
26 !map->IsJSGlobalProxyMap()) {
34 LookupIterator::State LookupIterator::LookupInHolder(Map* map, argument
40 if (map->IsJSProxyMap()) return JSPROXY;
41 if (map
[all...]
/external/chromium_org/v8/test/perf-test/Collections/
H A Dmap.js15 var map; variable
20 map = new Map;
22 map.set(i, i);
28 map = null;
40 if (!map.has(i)) {
45 if (map.has(i)) {
54 if (map.get(i) !== i) {
59 if (map.get(i) !== undefined) {
70 map.delete(i);
76 map
[all...]
/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)));

Completed in 854 milliseconds

1234567891011>>