/external/chromium_org/ppapi/shared_impl/ |
ppb_resource_array_shared.cc | 20 DCHECK(resources_.empty()); 22 resources_.reserve(size); 27 resources_.push_back(element); 32 for (std::vector<PP_Resource>::iterator iter = resources_.begin(); 33 iter != resources_.end(); ++iter) { 44 return static_cast<uint32_t>(resources_.size()); 48 return index < resources_.size() ? resources_[index] : 0;
|
ppb_resource_array_shared.h | 35 std::vector<PP_Resource> resources_; member in class:ppapi::PPB_ResourceArray_Shared
|
/external/chromium_org/remoting/host/ |
desktop_resizer_linux.cc | 65 ScreenResources() : resources_(NULL) { 74 resources_ = XRRGetScreenResources(display, window); 75 return resources_ != NULL; 79 if (resources_) { 80 XRRFreeScreenResources(resources_); 81 resources_ = NULL; 86 CHECK(resources_); 87 for (int i = 0; i < resources_->nmode; ++i) { 88 const XRRModeInfo& mode = resources_->modes[i]; 98 CHECK(resources_); 116 XRRScreenResources* resources_; member in class:remoting::ScreenResources 149 ScreenResources resources_; member in class:remoting::DesktopResizerLinux [all...] |
/external/chromium/chrome/browser/task_manager/ |
task_manager.cc | 100 return resources_.size(); 113 return resources_[index]->GetTitle(); 118 return GetNetworkUsage(resources_[index]); 135 return GetCPUUsage(resources_[index]); 148 GetCPUUsage(resources_[index]))); 173 return base::GetProcId(resources_[index]->GetProcess()); 188 if (!resources_[index]->ReportsCacheStats()) 191 resources_[index]->GetWebCoreCacheStats()); 198 if (!resources_[index]->ReportsCacheStats()) 201 resources_[index]->GetWebCoreCacheStats()) [all...] |
task_manager_resource_providers.cc | 255 res_iter = resources_.find(wrapper); 256 if (res_iter == resources_.end()) { 302 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 304 resources_.clear(); 311 resources_[tab_contents] = resource; 327 iter = resources_.find(tab_contents); 328 if (iter != resources_.end()) { 343 iter = resources_.find(tab_contents); 344 if (iter == resources_.end()) [all...] |
/external/chromium_org/chrome/browser/task_manager/ |
guest_resource_provider.cc | 117 for (GuestResourceMap::iterator i = resources_.begin(); 118 i != resources_.end(); ++i) { 162 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 164 resources_.clear(); 169 resources_[render_view_host] = resource; 177 GuestResourceMap::iterator iter = resources_.find(render_view_host); 178 if (iter == resources_.end()) 183 resources_.erase(iter);
|
notification_resource_provider.cc | 185 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 186 resources_.clear(); 209 DCHECK(resources_.find(balloon_host) == resources_.end()); 210 resources_[balloon_host] = resource; 219 resources_.find(balloon_host); 220 if (iter == resources_.end()) 228 resources_.erase(iter);
|
background_resource_provider.cc | 143 for (Resources::iterator i = resources_.begin(); i != resources_.end(); i++) { 217 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 219 resources_.clear(); 228 resources_[background_contents] = resource; 242 DCHECK(resources_.find(contents) == resources_.end()); 249 Resources::iterator iter = resources_.find(contents); 250 DCHECK(iter != resources_.end()) [all...] |
panel_resource_provider.cc | 130 for (PanelResourceMap::iterator i = resources_.begin(); 131 i != resources_.end(); ++i) { 172 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 173 resources_.clear(); 180 PanelResourceMap::const_iterator iter = resources_.find(panel); 181 if (iter != resources_.end()) 185 resources_[panel] = resource; 193 PanelResourceMap::iterator iter = resources_.find(panel); 194 if (iter == resources_.end() [all...] |
extension_process_resource_provider.cc | 187 for (ExtensionRenderViewHostMap::iterator i = resources_.begin(); 188 i != resources_.end(); i++) { 258 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 260 resources_.clear(); 317 DCHECK(resources_.find(render_view_host) == resources_.end()); 318 resources_[render_view_host] = resource; 327 ::iterator iter = resources_.find(render_view_host); 328 if (iter == resources_.end() [all...] |
tab_contents_resource_provider.cc | 197 res_iter = resources_.find(web_contents); 198 if (res_iter == resources_.end()) { 273 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 275 resources_.clear(); 280 resources_[web_contents] = resource; 304 if (resources_.count(web_contents)) { 318 iter = resources_.find(web_contents); 319 if (iter == resources_.end()) { 331 resources_.erase(iter) [all...] |
panel_resource_provider.h | 55 PanelResourceMap resources_; member in class:task_manager::PanelResourceProvider
|
worker_resource_provider.cc | 164 STLDeleteElements(&resources_); 168 return &resources_; 172 WorkerResourceList resources_; member in class:task_manager::WorkerResourceProvider::WorkerResourceListHolder 248 for (WorkerResourceList::iterator it = resources_.begin(); 249 it != resources_.end();) { 253 it = resources_.erase(it); 294 for (WorkerResourceList::iterator it = resources_.begin(); 295 it !=resources_.end(); ++it) { 299 resources_.erase(it); 346 resources_.push_back(resource) [all...] |
child_process_resource_provider.cc | 252 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 254 resources_.clear(); 267 if (resources_.count(data.handle)) { 284 ChildProcessMap::iterator iter = resources_.find(data.handle); 285 if (iter == resources_.end()) { 295 resources_.erase(iter); 315 resources_[child_process_data.handle] = resource;
|
background_resource_provider.h | 59 Resources resources_; member in class:task_manager::BackgroundContentsResourceProvider
|
child_process_resource_provider.h | 68 ChildProcessMap resources_; member in class:task_manager::ChildProcessResourceProvider
|
extension_process_resource_provider.h | 55 ExtensionRenderViewHostMap resources_; member in class:task_manager::ExtensionProcessResourceProvider
|
guest_resource_provider.h | 55 GuestResourceMap resources_; member in class:task_manager::GuestResourceProvider
|
notification_resource_provider.h | 50 std::map<BalloonHost*, NotificationResource*> resources_; member in class:task_manager::NotificationResourceProvider
|
tab_contents_resource_provider.h | 61 std::map<content::WebContents*, TabContentsResource*> resources_; member in class:task_manager::TabContentsResourceProvider
|
/external/chromium_org/ppapi/host/ |
ppapi_host.cc | 42 resources_.clear(); 132 if (pending_resource_hosts_.size() + resources_.size() 214 if (pending_resource_hosts_.size() + resources_.size() 231 resources_[params.pp_resource()] = 245 resources_[pp_resource] = found->second; 250 ResourceMap::iterator found = resources_.find(resource); 251 if (found == resources_.end()) { 256 // PP_Resource in resources_. std::map is not well specified as to whether the 261 resources_.erase(found); 265 ResourceMap::const_iterator found = resources_.find(resource) [all...] |
/external/chromium_org/cc/resources/ |
resource_provider.cc | 176 while (!resources_.empty()) 177 DeleteResourceInternal(resources_.begin(), ForShutdown); 189 ResourceMap::iterator it = resources_.find(id); 190 CHECK(it != resources_.end()); 240 resources_[id] = resource; 252 resources_[id] = resource; 278 resources_[id] = resource; 288 Resource& resource = resources_[id]; 307 ResourceMap::iterator it = resources_.find(id); 308 CHECK(it != resources_.end()) [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
malware_details_cache.cc | 46 resources_ = resources; 47 resources_it_ = resources_->begin(); 69 if (resources_it_ == resources_->end()) { // We are done. 94 safe_browsing::ResourceMap::iterator it = resources_->find(url.spec()); 95 if (it != resources_->end()) {
|
malware_details.cc | 100 // Looks for a Resource for the given url in resources_. If found, it 102 // resources_ and updates |resource| to point to it. 105 safe_browsing::ResourceMap::iterator it = resources_.find(url.spec()); 106 if (it != resources_.end()) { 111 int id = resources_.size(); 116 resources_[url.spec()] = new_resource; 231 // Add the urls from the DOM to |resources_|. The renderer could be 250 &resources_, 257 // Add all the urls in our |resources_| maps to the |report_| protocol buffer. 258 for (safe_browsing::ResourceMap::const_iterator it = resources_.begin() [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
malware_details.cc | 108 // Looks for a Resource for the given url in resources_. If found, it 110 // resources_ and updates |resource| to point to it. 113 safe_browsing::ResourceMap::iterator it = resources_.find(url.spec()); 114 if (it != resources_.end()) { 119 int id = resources_.size(); 124 resources_[url.spec()] = new_resource; 244 // Add the urls from the DOM to |resources_|. The renderer could be 262 for (safe_browsing::ResourceMap::const_iterator it = resources_.begin(); 263 it != resources_.end(); it++) { 282 &resources_, [all...] |