Home
last modified time | relevance | path

Searched refs:instance_map_ (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
Dbrowser_ppapi_host_impl.cc84 return instance_map_.find(instance) != instance_map_.end(); in IsValidInstance()
91 InstanceMap::const_iterator found = instance_map_.find(instance); in GetRenderViewIDsForInstance()
92 if (found == instance_map_.end()) { in GetRenderViewIDsForInstance()
116 InstanceMap::const_iterator found = instance_map_.find(instance); in GetDocumentURLForInstance()
117 if (found == instance_map_.end()) in GetDocumentURLForInstance()
123 InstanceMap::const_iterator found = instance_map_.find(instance); in GetPluginURLForInstance()
124 if (found == instance_map_.end()) in GetPluginURLForInstance()
132 DCHECK(instance_map_.find(instance) == instance_map_.end()); in AddInstance()
133 instance_map_[instance] = instance_data; in AddInstance()
137 InstanceMap::iterator found = instance_map_.find(instance); in DeleteInstance()
[all …]
Dbrowser_ppapi_host_impl.h117 InstanceMap instance_map_; variable
/external/chromium_org/content/renderer/pepper/
Dhost_var_tracker.cc40 InstanceMap::iterator found_instance = instance_map_.find( in AddNPObjectVar()
42 if (found_instance == instance_map_.end()) { in AddNPObjectVar()
45 found_instance = instance_map_.insert(std::make_pair( in AddNPObjectVar()
60 InstanceMap::iterator found_instance = instance_map_.find( in RemoveNPObjectVar()
62 if (found_instance == instance_map_.end()) { in RemoveNPObjectVar()
85 InstanceMap::iterator found_instance = instance_map_.find(instance); in NPObjectVarForNPObject()
86 if (found_instance == instance_map_.end()) in NPObjectVarForNPObject()
100 InstanceMap::const_iterator found = instance_map_.find(instance); in GetLiveNPObjectVarsForInstance()
101 if (found == instance_map_.end()) in GetLiveNPObjectVarsForInstance()
124 InstanceMap::iterator found_instance = instance_map_.find(instance); in DidDeleteInstance()
[all …]
Dhost_globals.cc105 InstanceMap::iterator found = instance_map_.find(instance); in GetCallbackTrackerForInstance()
106 if (found == instance_map_.end()) in GetCallbackTrackerForInstance()
228 DCHECK(instance_map_.find(instance->pp_instance()) == instance_map_.end()); in AddInstance()
239 instance_map_.find(new_instance) != instance_map_.end() || in AddInstance()
242 instance_map_[new_instance] = instance; in AddInstance()
251 instance_map_.erase(instance); in InstanceDeleted()
262 InstanceMap::iterator found = instance_map_.find(instance); in GetInstance()
263 if (found == instance_map_.end()) in GetInstance()
Dhost_var_tracker.h96 InstanceMap instance_map_; variable
Dhost_globals.h102 InstanceMap instance_map_; variable
/external/chromium_org/ppapi/shared_impl/
Dresource_tracker.cc107 if (instance_map_.find(instance) != instance_map_.end()) in DidCreateInstance()
109 instance_map_[instance] = linked_ptr<InstanceData>(new InstanceData); in DidCreateInstance()
114 InstanceMap::iterator found_instance = instance_map_.find(instance); in DidDeleteInstance()
119 if (found_instance == instance_map_.end()) in DidDeleteInstance()
164 instance_map_.erase(instance); in DidDeleteInstance()
169 InstanceMap::const_iterator found = instance_map_.find(instance); in GetLiveObjectsForInstance()
170 if (found == instance_map_.end()) in GetLiveObjectsForInstance()
197 InstanceMap::iterator found = instance_map_.find(object->pp_instance()); in AddResource()
198 if (found == instance_map_.end()) { in AddResource()
218 InstanceMap::iterator found = instance_map_.find(object->pp_instance()); in RemoveResource()
[all …]
Dresource_tracker.h113 InstanceMap instance_map_; variable
/external/chromium_org/webkit/browser/fileapi/
Disolated_context.cc225 instance_map_[filesystem_id] = new Instance( in RegisterDraggedFileSystem()
248 instance_map_[filesystem_id] = new Instance(type, MountPointInfo(name, path), in RegisterFileSystemForPath()
263 instance_map_[filesystem_id] = new Instance( in RegisterFileSystemForVirtualPath()
284 IDToInstance::const_iterator found = instance_map_.find(filesystem_id); in GetRegisteredPath()
285 if (found == instance_map_.end() || !found->second->IsSinglePathInstance()) in GetRegisteredPath()
321 IDToInstance::const_iterator found_instance = instance_map_.find(fsid); in CrackVirtualPath()
322 if (found_instance == instance_map_.end()) in CrackVirtualPath()
370 IDToInstance::iterator found = instance_map_.find(*iter); in RevokeFileSystemByPath()
371 if (found != instance_map_.end()) { in RevokeFileSystemByPath()
373 instance_map_.erase(found); in RevokeFileSystemByPath()
[all …]
Dexternal_mount_points.cc107 instance_map_[mount_name] = new Instance(type, path, mount_option); in RegisterFileSystem()
121 NameToInstance::iterator found = instance_map_.find(mount_name); in RevokeFileSystem()
122 if (found == instance_map_.end()) in RevokeFileSystem()
127 instance_map_.erase(found); in RevokeFileSystem()
135 NameToInstance::const_iterator found = instance_map_.find(filesystem_id); in GetRegisteredPath()
136 if (found == instance_map_.end()) in GetRegisteredPath()
172 instance_map_.find(maybe_mount_name); in CrackVirtualPath()
173 if (found_instance == instance_map_.end()) in CrackVirtualPath()
208 for (NameToInstance::const_iterator iter = instance_map_.begin(); in AddMountPointInfosTo()
209 iter != instance_map_.end(); ++iter) { in AddMountPointInfosTo()
[all …]
Dexternal_mount_points.h144 NameToInstance instance_map_; variable
Disolated_context.h191 IDToInstance instance_map_;
/external/chromium_org/ppapi/proxy/
Dplugin_dispatcher.cc256 instance_map_[instance] = InstanceData(); in DidCreateInstance()
260 InstanceDataMap::iterator it = instance_map_.find(instance); in DidDestroyInstance()
261 if (it != instance_map_.end()) in DidDestroyInstance()
262 instance_map_.erase(it); in DidDestroyInstance()
277 InstanceDataMap::iterator it = instance_map_.find(instance); in GetInstanceData()
278 return (it == instance_map_.end()) ? NULL : &it->second; in GetInstanceData()
Dplugin_dispatcher.h187 InstanceDataMap instance_map_; variable