Home
last modified time | relevance | path

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

/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/chrome/browser/media/
Dcast_transport_host_filter.cc87 if (id_map_.Lookup(channel_id)) { in OnNew()
88 id_map_.Remove(channel_id); in OnNew()
105 id_map_.AddWithID(sender.release(), channel_id); in OnNew()
110 id_map_.Lookup(channel_id); in OnDelete()
112 id_map_.Remove(channel_id); in OnDelete()
118 if (id_map_.IsEmpty()) { in OnDelete()
130 id_map_.Lookup(channel_id); in OnInitializeAudio()
150 id_map_.Lookup(channel_id); in OnInitializeVideo()
171 id_map_.Lookup(channel_id); in OnInsertFrame()
184 id_map_.Lookup(channel_id); in OnCancelSendingFrames()
[all …]
Dcast_transport_host_filter.h71 IDMap<media::cast::CastTransportSender, IDMapOwnPointer> id_map_; variable
/external/chromium_org/chrome/browser/
Dresources_util.cc29 id_map_[kThemeResources[i].name] = kThemeResources[i].value; in ThemeMap()
31 id_map_[kUiResources[i].name] = kUiResources[i].value; in ThemeMap()
34 id_map_[kUiChromeosResources[i].name] = kUiChromeosResources[i].value; in ThemeMap()
39 StringIntMap::const_iterator it = id_map_.find(resource_name); in GetId()
40 if (it == id_map_.end()) in GetId()
46 StringIntMap id_map_; member in __anon4ecc9d0e0111::ThemeMap
/external/chromium_org/extensions/common/permissions/
Dpermissions_info.cc35 IDMap::const_iterator i = id_map_.find(id); in GetByID()
36 return (i == id_map_.end()) ? NULL : i->second; in GetByID()
47 for (IDMap::const_iterator i = id_map_.begin(); i != id_map_.end(); ++i) in GetAll()
76 STLDeleteContainerPairSecondPointers(id_map_.begin(), id_map_.end()); in ~PermissionsInfo()
88 DCHECK(!ContainsKey(id_map_, permission->id())); in RegisterPermission()
91 id_map_[permission->id()] = permission; in RegisterPermission()
Dpermissions_info.h70 IDMap id_map_;
/external/chromium_org/chrome/renderer/media/
Dcast_ipc_dispatcher.cc40 return id_map_.Add(sender); in AddSender()
44 return id_map_.Remove(channel_id); in RemoveSender()
82 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); in OnNotifyStatusChange()
95 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); in OnRawEvents()
106 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); in OnRtt()
118 CastTransportSenderIPC* sender = id_map_.Lookup(channel_id); in OnRtcpCastMessage()
Dcast_ipc_dispatcher.h67 IDMap<CastTransportSenderIPC> id_map_; variable
/external/chromium_org/chrome/browser/sync/glue/
Dbookmark_model_associator.cc247 id_map_.find(id) != id_map_.end()); in UpdatePermanentNodeVisibility()
255 id_map_.clear(); in DisassociateModels()
262 BookmarkIdToSyncIdMap::const_iterator iter = id_map_.find(node_id); in GetSyncIdFromChromeId()
263 return iter == id_map_.end() ? syncer::kInvalidId : iter->second; in GetSyncIdFromChromeId()
290 DCHECK(id_map_.find(node_id) == id_map_.end()); in Associate()
292 id_map_[node_id] = sync_id; in Associate()
304 id_map_.erase(iter->second->id()); in Disassociate()
716 DCHECK(id_map_.empty()); in PersistAssociations()
Dbookmark_model_associator.h155 BookmarkIdToSyncIdMap id_map_; variable
/external/chromium_org/components/enhanced_bookmarks/
Denhanced_bookmark_model.cc155 IdToNodeMap::iterator it = id_map_.find(remote_id); in BookmarkForRemoteId()
156 if (it != id_map_.end()) in BookmarkForRemoteId()
295 id_map_.erase(remote_id); in BookmarkNodeRemoved()
310 id_map_.erase(prev_remote_id_); in BookmarkMetaInfoChanged()
325 id_map_.clear(); in BookmarkAllUserNodesRemoved()
349 id_map_.insert(make_pair(remote_id, node)); in AddToIdMap()
Denhanced_bookmark_model.h192 IdToNodeMap id_map_; variable
/external/chromium_org/ui/accessibility/
Dax_tree.cc75 base::hash_map<int32, AXNode*>::const_iterator iter = id_map_.find(id); in GetFromId()
76 return iter != id_map_.end() ? (iter->second) : NULL; in GetFromId()
140 id_map_[new_node->id()] = new_node; in CreateNode()
202 id_map_.erase(node->id()); in DestroyNodeAndSubtree()
Dax_tree.h122 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.cc97 int32 new_id = id_map_.Add(node); in GetTreeNodeId()
345 child = id_map_.Lookup(node_id); in GetTreeNodeFromPath()
/external/chromium_org/chrome/browser/media_galleries/
Dmedia_galleries_permission_controller.h181 DialogIdMap id_map_; variable
Dmedia_galleries_permission_controller.cc512 return id_map_.GetDialogId(pref_id); in GetDialogId()
517 return id_map_.GetPrefId(id); in GetPrefId()
/external/chromium_org/chrome/browser/ui/webui/options/
Dcertificate_manager_handler.cc161 IDMap<net::X509Certificate>id_map_; member in options::CertIdMap
174 int32 new_id = id_map_.Add(cert); in CertToId()
184 return id_map_.Lookup(cert_id); in IdToCert()