/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 | 69 ScreenResources() : resources_(NULL) { 78 resources_ = XRRGetScreenResources(display, window); 79 return resources_ != NULL; 83 if (resources_) { 84 XRRFreeScreenResources(resources_); 85 resources_ = NULL; 90 CHECK(resources_); 91 for (int i = 0; i < resources_->nmode; ++i) { 92 const XRRModeInfo& mode = resources_->modes[i]; 102 CHECK(resources_); 120 XRRScreenResources* resources_; member in class:remoting::ScreenResources 153 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 | 118 for (GuestResourceMap::iterator i = resources_.begin(); 119 i != resources_.end(); ++i) { 164 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 166 resources_.clear(); 171 resources_[render_view_host] = resource; 179 GuestResourceMap::iterator iter = resources_.find(render_view_host); 180 if (iter == resources_.end()) 185 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);
|
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...] |
background_resource_provider.cc | 143 for (Resources::iterator i = resources_.begin(); i != resources_.end(); i++) { 222 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 224 resources_.clear(); 232 resources_[background_contents] = resource; 246 DCHECK(resources_.find(contents) == resources_.end()); 253 Resources::iterator iter = resources_.find(contents); 254 DCHECK(iter != resources_.end()) [all...] |
extension_process_resource_provider.cc | 187 for (ExtensionRenderViewHostMap::iterator i = resources_.begin(); 188 i != resources_.end(); i++) { 259 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 261 resources_.clear(); 318 if (resources_.find(render_view_host) != resources_.end()) 320 resources_[render_view_host] = resource; 329 ::iterator iter = resources_.find(render_view_host); 330 if (iter == resources_.end() [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 | 250 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 252 resources_.clear(); 265 if (resources_.count(data.handle)) { 282 ChildProcessMap::iterator iter = resources_.find(data.handle); 283 if (iter == resources_.end()) { 293 resources_.erase(iter); 313 resources_[child_process_data.handle] = resource;
|
tab_contents_resource_provider.cc | 199 res_iter = resources_.find(web_contents); 200 if (res_iter == resources_.end()) { 280 STLDeleteContainerPairSecondPointers(resources_.begin(), resources_.end()); 282 resources_.clear(); 287 resources_[web_contents] = resource; 312 if (resources_.count(web_contents)) { 326 iter = resources_.find(web_contents); 327 if (iter == resources_.end()) { 339 resources_.erase(iter) [all...] |
background_resource_provider.h | 60 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/cc/layers/ |
delegated_frame_provider_unittest.cc | 72 resource_collection_->TakeUnusedResourcesForChildCompositor(&resources_); 89 ReturnedResourceArray resources_; member in class:cc::__anon3839::DelegatedFrameProviderTest 105 EXPECT_EQ(0u, resources_.size()); 110 EXPECT_EQ(1u, resources_.size()); 111 EXPECT_EQ(444u, resources_[0].id); 129 EXPECT_EQ(1u, resources_.size()); 130 EXPECT_EQ(444u, resources_[0].id); 131 resources_.clear(); 136 EXPECT_EQ(1u, resources_.size()); 137 EXPECT_EQ(555u, resources_[0].id) [all...] |
/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/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...] |