Home
last modified time | relevance | path

Searched refs:id_map_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/gpu/command_buffer/service/
Did_manager.cc16 std::pair<MapType::iterator, bool> result = id_map_.insert( in AddMapping()
22 MapType::iterator iter = id_map_.find(client_id); in RemoveMapping()
23 if (iter != id_map_.end() && iter->second == service_id) { in RemoveMapping()
24 id_map_.erase(iter); in RemoveMapping()
32 MapType::iterator iter = id_map_.find(client_id); in GetServiceId()
33 if (iter != id_map_.end()) { in GetServiceId()
42 MapType::iterator end(id_map_.end()); in GetClientId()
43 for (MapType::iterator iter(id_map_.begin()); in GetClientId()
Did_manager.h42 MapType id_map_; variable
/external/chromium_org/extensions/common/permissions/
Dpermissions_info.cc24 STLDeleteContainerPairSecondPointers(id_map_.begin(), id_map_.end()); in ~PermissionsInfo()
29 IDMap::const_iterator i = id_map_.find(id); in GetByID()
30 return (i == id_map_.end()) ? NULL : i->second; in GetByID()
41 for (IDMap::const_iterator i = id_map_.begin(); i != id_map_.end(); ++i) in GetAll()
92 DCHECK(!ContainsKey(id_map_, permission->id())); in RegisterPermission()
95 id_map_[permission->id()] = permission; in RegisterPermission()
Dpermissions_info.h70 IDMap id_map_;
/external/chromium_org/chrome/browser/
Dresources_util.cc25 id_map_[kThemeResources[i].name] = kThemeResources[i].value; in ThemeMap()
27 id_map_[kUiResources[i].name] = kUiResources[i].value; in ThemeMap()
31 StringIntMap::const_iterator it = id_map_.find(resource_name); in GetId()
32 if (it == id_map_.end()) in GetId()
38 StringIntMap id_map_; member in __anon83b7a6c10111::ThemeMap
/external/chromium/chrome/browser/
Dresources_util.cc24 id_map_[kThemeResources[i].name] = kThemeResources[i].value; in ThemeMap()
29 StringIntMap::const_iterator it = id_map_.find(resource_name); in GetId()
30 if (it == id_map_.end()) in GetId()
36 StringIntMap id_map_; member in __anon0cce9b1a0111::ThemeMap
/external/chromium/chrome/browser/sync/glue/
Dpassword_model_associator.cc156 for (PasswordToSyncIdMap::iterator node_id = id_map_.begin(); in DeleteAllNodes()
157 node_id != id_map_.end(); ++node_id) { in DeleteAllNodes()
166 id_map_.clear(); in DeleteAllNodes()
172 id_map_.clear(); in DisassociateModels()
232 PasswordToSyncIdMap::const_iterator iter = id_map_.find(password); in GetSyncIdFromChromeId()
233 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
240 DCHECK(id_map_.find(*password) == id_map_.end()); in Associate()
242 id_map_[*password] = sync_id; in Associate()
251 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dpreference_model_associator.cc144 id_map_.clear(); in DisassociateModels()
187 id_map_.find(preference_name); in GetSyncIdFromChromeId()
188 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
195 DCHECK(id_map_.find(preference->name()) == id_map_.end()); in Associate()
197 id_map_[preference->name()] = sync_id; in Associate()
206 id_map_.erase(iter->second); in Disassociate()
Dbookmark_model_associator.cc179 id_map_.clear(); in DisassociateModels()
186 BookmarkIdToSyncIdMap::const_iterator iter = id_map_.find(node_id); in GetSyncIdFromChromeId()
187 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
214 DCHECK(id_map_.find(node_id) == id_map_.end()); in Associate()
216 id_map_[node_id] = sync_id; in Associate()
227 id_map_.erase(iter->second->id()); in Disassociate()
442 DCHECK(id_map_.empty()); in PersistAssociations()
Dtyped_url_model_associator.cc188 for (TypedUrlToSyncIdMap::iterator node_id = id_map_.begin(); in DeleteAllNodes()
189 node_id != id_map_.end(); ++node_id) { in DeleteAllNodes()
198 id_map_.clear(); in DeleteAllNodes()
204 id_map_.clear(); in DisassociateModels()
250 TypedUrlToSyncIdMap::const_iterator iter = id_map_.find(typed_url); in GetSyncIdFromChromeId()
251 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
258 DCHECK(id_map_.find(*typed_url) == id_map_.end()); in Associate()
260 id_map_[*typed_url] = sync_id; in Associate()
269 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dautofill_model_associator.cc74 if (id_map_.find(tag) != id_map_.end()) { in TraverseAndAssociateChromeAutofillEntries()
378 id_map_.clear(); in DisassociateModels()
427 AutofillToSyncIdMap::const_iterator iter = id_map_.find(autofill); in GetSyncIdFromChromeId()
428 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
435 DCHECK(id_map_.find(*autofill) == id_map_.end()); in Associate()
437 id_map_[*autofill] = sync_id; in Associate()
446 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dautofill_profile_model_associator.cc203 id_map_.clear(); in DisassociateModels()
463 DCHECK(id_map_.find(*autofill) == id_map_.end()); in Associate()
465 id_map_[*autofill] = sync_id; in Associate()
474 CHECK(id_map_.erase(iter->second)); in Disassociate()
480 AutofillToSyncIdMap::const_iterator iter = id_map_.find(autofill); in GetSyncIdFromChromeId()
481 return iter == id_map_.end() ? sync_api::kInvalidId : iter->second; in GetSyncIdFromChromeId()
Dbookmark_model_associator.h131 BookmarkIdToSyncIdMap id_map_; variable
Dpreference_model_associator.h127 PreferenceNameToSyncIdMap id_map_; variable
Dpassword_model_associator.h139 PasswordToSyncIdMap id_map_; variable
Dtyped_url_model_associator.h139 TypedUrlToSyncIdMap id_map_; variable
Dautofill_profile_model_associator.h172 AutofillToSyncIdMap id_map_; variable
/external/chromium_org/chrome/browser/sync/glue/
Dpassword_model_associator.cc187 for (PasswordToSyncIdMap::iterator node_id = id_map_.begin(); in DeleteAllNodes()
188 node_id != id_map_.end(); ++node_id) { in DeleteAllNodes()
198 id_map_.clear(); in DeleteAllNodes()
204 id_map_.clear(); in DisassociateModels()
261 PasswordToSyncIdMap::const_iterator iter = id_map_.find(password); in GetSyncIdFromChromeId()
262 return iter == id_map_.end() ? syncer::kInvalidId : iter->second; in GetSyncIdFromChromeId()
269 DCHECK(id_map_.find(*password) == id_map_.end()); in Associate()
271 id_map_[*password] = sync_id; in Associate()
280 CHECK(id_map_.erase(iter->second)); in Disassociate()
Dbookmark_model_associator.cc222 id_map_.find(bookmark_model_->mobile_node()->id()) != id_map_.end()); in UpdatePermanentNodeVisibility()
226 id_map_.clear(); in DisassociateModels()
233 BookmarkIdToSyncIdMap::const_iterator iter = id_map_.find(node_id); in GetSyncIdFromChromeId()
234 return iter == id_map_.end() ? syncer::kInvalidId : iter->second; in GetSyncIdFromChromeId()
261 DCHECK(id_map_.find(node_id) == id_map_.end()); in Associate()
263 id_map_[node_id] = sync_id; in Associate()
275 id_map_.erase(iter->second->id()); in Disassociate()
672 DCHECK(id_map_.empty()); in PersistAssociations()
Dbookmark_model_associator.h155 BookmarkIdToSyncIdMap id_map_; variable
Dpassword_model_associator.h135 PasswordToSyncIdMap id_map_; variable
/external/chromium_org/ui/accessibility/
Dax_tree.cc41 base::hash_map<int32, AXNode*>::const_iterator iter = id_map_.find(id); in GetFromId()
42 return iter != id_map_.end() ? (iter->second) : NULL; in GetFromId()
142 id_map_[node->id()] = node; in CreateAndInitializeNode()
147 id_map_.erase(node->id()); in DestroyNodeAndSubtree()
Dax_tree.h84 base::hash_map<int32, AXNode*> id_map_; variable
/external/chromium_org/chrome/browser/ui/webui/
Dcookies_tree_model_util.h52 CookiesTreeNodeIdMap id_map_; variable
Dcookies_tree_model_util.cc88 int32 new_id = id_map_.Add(node); in GetTreeNodeId()
316 child = id_map_.Lookup(node_id); in GetTreeNodeFromPath()

12