Home
last modified time | relevance | path

Searched refs:resource_map_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_resource_manager.cc13 for (ResourceMap::iterator iter = resource_map_.begin(); in ~FakeResourceManager()
14 iter != resource_map_.end(); in ~FakeResourceManager()
37 resource_map_.insert(ResourceMap::value_type(handle, resource_tracker)); in Create()
45 ResourceMap::iterator iter = resource_map_.find(handle); in AddRef()
46 ASSERT_NE(resource_map_.end(), iter) << "AddRefing unknown resource " in AddRef()
64 ResourceMap::iterator iter = resource_map_.find(handle); in Release()
65 ASSERT_NE(resource_map_.end(), iter) << "Releasing unknown resource " in Release()
94 ResourceMap::iterator iter = resource_map_.find(handle); in Get()
95 if (iter == resource_map_.end()) { in Get()
Dfake_resource_manager.h38 ResourceMap resource_map_; variable
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage.cc527 resource_map_.reset(); in Initialize()
557 resource_map_.reset(db); in Initialize()
577 resource_map_.reset(); in Initialize()
589 if (!resource_map_) { in Initialize()
602 resource_map_.reset(db); in Initialize()
612 resource_map_.reset(); in Initialize()
623 return resource_map_; in Initialize()
722 leveldb::Status status = resource_map_->Get(leveldb::ReadOptions(), in PutEntry()
762 status = resource_map_->Write(leveldb::WriteOptions(), &batch); in PutEntry()
772 const leveldb::Status status = resource_map_->Get(leveldb::ReadOptions(), in GetEntry()
[all …]
Dresource_metadata_storage.h162 scoped_ptr<leveldb::DB> resource_map_; variable
Dresource_metadata_storage_unittest.cc44 leveldb::DB* resource_map() { return storage_->resource_map_.get(); } in resource_map()
50 storage_->resource_map_->Put( in PutChild()
59 storage_->resource_map_->Delete( in RemoveChild()
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dnew_tab_ui.cc323 resource_map_.find(path); in StartDataRequest()
324 if (it != resource_map_.end()) { in StartDataRequest()
356 resource_map_.find(resource); in GetMimeType()
357 if (it != resource_map_.end()) in GetMimeType()
375 resource_map_[std::string(resource)] = in AddResource()
Dnew_tab_ui.h105 std::map<std::string, std::pair<std::string, int> > resource_map_; variable
/external/chromium_org/content/browser/android/
Dsystem_ui_resource_manager_impl.cc146 if (!resource_map_[type]) { in GetEntry()
147 resource_map_[type].reset(new Entry(ui_resource_provider_)); in GetEntry()
151 return resource_map_[type].get(); in GetEntry()
Dsystem_ui_resource_manager_impl.h44 scoped_ptr<Entry> resource_map_[RESOURCE_TYPE_LAST + 1]; variable