/external/chromium/base/ |
H A D | id_map_unittest.cc | 26 IDMap<TestObject> map; local 27 EXPECT_TRUE(map.IsEmpty()); 28 EXPECT_EQ(0U, map.size()); 33 int32 id1 = map.Add(&obj1); 34 EXPECT_FALSE(map.IsEmpty()); 35 EXPECT_EQ(1U, map.size()); 36 EXPECT_EQ(&obj1, map.Lookup(id1)); 38 int32 id2 = map.Add(&obj2); 39 EXPECT_FALSE(map.IsEmpty()); 40 EXPECT_EQ(2U, map 60 IDMap<TestObject> map; local 88 IDMap<TestObject> map; local [all...] |
/external/chromium/chrome/browser/debugger/ |
H A D | inspectable_tab_proxy.cc | 21 InspectableTabProxy::IdToClientHostMap* map) 24 map_(map) {} 18 DevToolsClientHostImpl( int32 id, DebuggerRemoteService* service, InspectableTabProxy::IdToClientHostMap* map) argument
|
/external/chromium/chrome/browser/extensions/ |
H A D | extensions_quota_service.cc | 65 FunctionHeuristicsMap* map) { 66 FunctionHeuristicsMap::iterator heuristics = map->begin(); 67 while (heuristics != map->end()) { 69 map->erase(heuristics++); 74 std::map<std::string, FunctionHeuristicsMap>::iterator it = 87 BucketMapper* map) 88 : config_(config), bucket_mapper_(map) { 107 const base::TimeDelta& sustain, const Config& config, BucketMapper* map) 108 : QuotaLimitHeuristic(config, map), 64 PurgeFunctionHeuristicsMap( FunctionHeuristicsMap* map) argument 86 QuotaLimitHeuristic(const Config& config, BucketMapper* map) argument 106 SustainedLimit( const base::TimeDelta& sustain, const Config& config, BucketMapper* map) argument
|
/external/chromium/chrome/browser/geolocation/ |
H A D | geolocation_content_settings_map_unittest.cc | 68 GeolocationContentSettingsMap* map = local 72 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetDefaultContentSetting()); 73 map->SetDefaultContentSetting(CONTENT_SETTING_BLOCK); 74 EXPECT_EQ(CONTENT_SETTING_BLOCK, map->GetDefaultContentSetting()); 79 GeolocationContentSettingsMap* map = local 82 EXPECT_EQ(CONTENT_SETTING_ASK, map->GetContentSetting(top_level, top_level)); 84 map->SetContentSetting(top_level, top_level, CONTENT_SETTING_ALLOW); 86 map->GetContentSetting(top_level, top_level)); 90 map->GetContentSetting(requester_0, top_level)); 92 map 107 GeolocationContentSettingsMap* map = local 156 GeolocationContentSettingsMap* map = local 169 GeolocationContentSettingsMap* map = local 190 GeolocationContentSettingsMap* map = local 222 GeolocationContentSettingsMap* map = local 265 GeolocationContentSettingsMap* map = local 286 GeolocationContentSettingsMap* map = local [all...] |
/external/chromium_org/base/ |
H A D | id_map_unittest.cc | 24 IDMap<TestObject> map; local 25 EXPECT_TRUE(map.IsEmpty()); 26 EXPECT_EQ(0U, map.size()); 31 int32 id1 = map.Add(&obj1); 32 EXPECT_FALSE(map.IsEmpty()); 33 EXPECT_EQ(1U, map.size()); 34 EXPECT_EQ(&obj1, map.Lookup(id1)); 36 int32 id2 = map.Add(&obj2); 37 EXPECT_FALSE(map.IsEmpty()); 38 EXPECT_EQ(2U, map 60 IDMap<TestObject> map; local 93 IDMap<TestObject> map; local 135 IDMap<TestObject> map; local 163 IDMap<TestObject> map; local 193 IDMap<TestObject> map; local [all...] |
/external/chromium_org/base/posix/ |
H A D | file_descriptor_shuffle_unittest.cc | 70 InjectiveMultimap map; local 73 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 78 InjectiveMultimap map; local 80 map.push_back(InjectionArc(0, 0, false)); 82 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 87 InjectiveMultimap map; local 89 map.push_back(InjectionArc(0, 0, true)); 91 EXPECT_TRUE(PerformInjectiveMultimap(map, &tracer)); 96 InjectiveMultimap map; local 98 map 106 InjectiveMultimap map; local 118 InjectiveMultimap map; local 129 InjectiveMultimap map; local 141 InjectiveMultimap map; local 156 InjectiveMultimap map; local 171 InjectiveMultimap map; local 186 InjectiveMultimap map; local 201 InjectiveMultimap map; local 213 InjectiveMultimap map; local 226 InjectiveMultimap map; local 239 InjectiveMultimap map; local 265 InjectiveMultimap map; local 272 InjectiveMultimap map; local 280 InjectiveMultimap map; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
H A D | content_settings_api.cc | 134 HostContentSettingsMap* map; local 143 map = profile()->GetOffTheRecordProfile()->GetHostContentSettingsMap(); 147 map = profile()->GetHostContentSettingsMap(); 158 setting = map->GetContentSetting(primary_url, secondary_url, content_type,
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | extension_action_manager.cc | 103 // Returns map[extension_id] if that entry exists. Otherwise, if 104 // action_info!=NULL, creates an ExtensionAction from it, fills in the map, and 107 std::map<std::string, linked_ptr<ExtensionAction> >* map, 112 std::map<std::string, linked_ptr<ExtensionAction> >::const_iterator it = 113 map->find(extension_id); 114 if (it != map->end()) 130 (*map)[extension_id] = action; 106 GetOrCreateOrNull( std::map<std::string, linked_ptr<ExtensionAction> >* map, const std::string& extension_id, ActionInfo::Type action_type, const ActionInfo* action_info, Profile* profile) argument
|
/external/chromium_org/chrome/browser/policy/ |
H A D | policy_domain_descriptor.cc | 84 PolicyMap* map = it_bundle->second; local 85 for (PolicyMap::const_iterator it_map = map->begin(); 86 it_map != map->end();) { 93 map->Erase(policy_name);
|
H A D | policy_map_unittest.cc | 18 void SetPolicy(PolicyMap* map, const char* name, Value* value) { argument 19 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, value, NULL); 22 void SetPolicy(PolicyMap* map, argument 25 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, 44 PolicyMap map; local 45 SetPolicy(&map, key::kHomepageLocation, Value::CreateStringValue("aaa")); 47 EXPECT_TRUE(expected.Equals(map.GetValue(key::kHomepageLocation))); 48 SetPolicy(&map, key::kHomepageLocation, Value::CreateStringValue("bbb")); 50 EXPECT_TRUE(expected_b.Equals(map.GetValue(key::kHomepageLocation))); 51 SetPolicy(&map, ke [all...] |
/external/chromium_org/chrome/browser/ui/content_settings/ |
H A D | content_setting_bubble_model_unittest.cc | 434 HostContentSettingsMap* map = profile()->GetHostContentSettingsMap(); local 443 map->AddExceptionForURL(url, 448 map->AddExceptionForURL(url, 473 map->GetContentSetting(url, 478 map->GetContentSetting(url, 486 map->GetContentSetting(url, 491 map->GetContentSetting(url, 545 // One permitted frame, but not in the content map: requires reload. 549 // Add it to the content map, should now have a clear link. 565 // Second frame denied, but not stored in the content map [all...] |
/external/chromium_org/chrome/common/extensions/permissions/ |
H A D | api_permission_set.h | 9 #include <map> 22 typedef std::map<APIPermission::ID, 80 return const_iterator(map().begin()); 84 return map().end(); 88 return map().find(id); 91 const APIPermissionMap& map() const { function in class:extensions::APIPermissionSet 95 APIPermissionMap& map() { function in class:extensions::APIPermissionSet 104 return map().count(id); 108 return map().empty(); 112 return map() [all...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | form_field.cc | 54 ServerFieldTypeMap* map) { 68 ParseFormFieldsPass(EmailField::Parse, &remaining_fields, map); 71 ParseFormFieldsPass(PhoneField::Parse, &remaining_fields, map); 74 ParseFormFieldsPass(AddressField::Parse, &remaining_fields, map); 77 ParseFormFieldsPass(CreditCardField::Parse, &remaining_fields, map); 80 ParseFormFieldsPass(NameField::Parse, &remaining_fields, map); 129 ServerFieldTypeMap* map) { 134 return map->insert(make_pair(field->unique_name(), type)).second; 178 ServerFieldTypeMap* map) { 191 // Add entries into the map fo 53 ParseFormFields(const std::vector<AutofillField*>& fields, ServerFieldTypeMap* map) argument 127 AddClassification(const AutofillField* field, ServerFieldType type, ServerFieldTypeMap* map) argument 176 ParseFormFieldsPass(ParseFunction parse, std::vector<const AutofillField*>* fields, ServerFieldTypeMap* map) argument [all...] |
/external/chromium_org/remoting/webapp/ |
H A D | stats_accumulator.js | 24 * A map from names to lists of values. 95 return this.map(key, calcMean); 99 * Applies a given map to the list of values for a given key. 102 * @param {function(Array.<number>): number} map 103 * @return {number} the result of applying that map to the list of values for 106 remoting.StatsAccumulator.prototype.map = function(key, map) { 107 return map(this.getValueList(key));
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleAdjuster.cpp | 410 const NamedGridAreaMap& map = parentStyle->namedGridArea(); local 413 if (prop.isNamedGridArea() && !map.contains(prop.namedGridLine())) \
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
H A D | SVGAttributeToPropertyMap.cpp | 28 void SVGAttributeToPropertyMap::addProperties(const SVGAttributeToPropertyMap& map) argument 30 AttributeToPropertiesMap::const_iterator end = map.m_map.end(); 31 for (AttributeToPropertiesMap::const_iterator it = map.m_map.begin(); it != end; ++it) {
|
/external/chromium_org/third_party/WebKit/Source/weborigin/ |
H A D | SecurityPolicy.cpp | 133 OriginAccessMap& map = originAccessMap(); local 134 OriginAccessMap::iterator it = map.find(sourceString); 135 if (it == map.end()) 146 map.remove(it);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
H A D | files.py | 140 map a path through those aliases to produce a unified path. 185 def map(self, path): member in class:PathAliases
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-ot-shape-private.hh | 32 #include "hb-ot-map-private.hh" 41 hb_ot_map_t map; member in struct:hb_ot_shape_plan_t 52 map.collect_lookups (table_index, lookups); 54 inline void substitute (hb_font_t *font, hb_buffer_t *buffer) const { map.substitute (this, font, buffer); } 55 inline void position (hb_font_t *font, hb_buffer_t *buffer) const { map.position (this, font, buffer); } 57 void finish (void) { map.finish (); } 66 hb_ot_map_builder_t map; member in struct:hb_ot_shape_planner_t 72 map (face, &props) {} 73 ~hb_ot_shape_planner_t (void) { map.finish (); } 79 map [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | casetrn.cpp | 89 CaseMapTransliterator::CaseMapTransliterator(const UnicodeString &id, UCaseMapFull *map) : argument 92 fMap(map)
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_transfer.c | 20 uint8_t *map = NULL; local 42 map = pipe_transfer_map(pipe, transfer); 43 if (map == NULL) 50 memcpy(map, data, box->width); 57 util_copy_rect(map, 66 map += transfer->layer_stride; 72 if (map)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/ |
H A D | nouveau_context.h | 32 uint8_t *map; member in struct:nouveau_context::__anon12138
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
H A D | nv30_fragprog.c | 40 uint32_t *map; local 47 map = pipe_buffer_map(pipe, fp->buffer, PIPE_TRANSFER_WRITE, &transfer); 49 memcpy(map, fp->insn, fp->insn_len * 4); 52 *map++ = (fp->insn[i] >> 16) | (fp->insn[i] << 16);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
H A D | r300_query.c | 143 uint32_t temp, *map; local 155 map = r300->rws->buffer_map(q->cs_buf, r300->cs, 158 if (!map) 165 temp += util_le32_to_cpu(*map); 166 map++;
|
H A D | r300_transfer.c | 186 /* We cannot map a tiled texture directly because the data is 232 char *map; local 242 map = r300->rws->buffer_map(tex->cs_buf, r300->cs, transfer->usage); 244 if (!map) { 248 return map + r300_transfer(transfer)->offset +
|