/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | pepper_interface.cc | 20 : ppapi_(ppapi), resource_(0) {} in ScopedResource() 23 : ppapi_(ppapi), resource_(resource) {} in ScopedResource() 26 if (resource_) in ~ScopedResource() 27 ppapi_->ReleaseResource(resource_); in ~ScopedResource() 31 if (resource_) in Reset() 32 ppapi_->ReleaseResource(resource_); in Reset() 34 resource_ = resource; in Reset() 38 PP_Resource result = resource_; in Release() 39 resource_ = 0; in Release()
|
D | pepper_interface.h | 138 PP_Resource pp_resource() const { return resource_; } in pp_resource() 149 PP_Resource resource_; variable
|
/external/chromium/chrome/browser/safe_browsing/ |
D | malware_details.cc | 78 resource_(resource), in MalwareDetails() 154 if (IsPublicUrl(resource_.url)) { in StartCollection() 155 report_->set_malware_url(resource_.url.spec()); in StartCollection() 176 if (!resource_.original_url.is_empty() && in StartCollection() 177 resource_.url != resource_.original_url) { in StartCollection() 179 AddUrl(resource_.original_url, GURL(), "", NULL); in StartCollection() 180 AddUrl(resource_.url, resource_.original_url, "", NULL); in StartCollection() 182 AddUrl(resource_.url, GURL(), "", NULL); in StartCollection() 191 if (!resource_.original_url.is_empty()) { in StartCollection() 192 parent_url = resource_.original_url; in StartCollection() [all …]
|
/external/chromium_org/chrome/installer/mini_installer/ |
D | pe_resource.cc | 8 : resource_(resource), module_(module) { in PEResource() 12 : resource_(NULL), module_(module) { in PEResource() 13 resource_ = ::FindResource(module, name, type); in PEResource() 17 return (NULL != resource_); in IsValid() 21 return ::SizeofResource(module_, resource_); in Size() 27 HGLOBAL data_handle = ::LoadResource(module_, resource_); in WriteToDisk()
|
D | pe_resource.h | 37 HRSRC resource_;
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | malware_details.cc | 83 resource_(resource), in MalwareDetails() 162 if (IsPublicUrl(resource_.url)) { in StartCollection() 163 report_->set_malware_url(resource_.url.spec()); in StartCollection() 184 if (!resource_.original_url.is_empty() && in StartCollection() 185 resource_.url != resource_.original_url) { in StartCollection() 187 AddUrl(resource_.original_url, GURL(), std::string(), NULL); in StartCollection() 188 AddUrl(resource_.url, resource_.original_url, std::string(), NULL); in StartCollection() 190 AddUrl(resource_.url, GURL(), std::string(), NULL); in StartCollection() 199 if (!resource_.original_url.is_empty()) { in StartCollection() 200 parent_url = resource_.original_url; in StartCollection() [all …]
|
/external/chromium_org/ppapi/proxy/ |
D | locking_resource_releaser.h | 23 : resource_(resource) { in LockingResourceReleaser() 27 PpapiGlobals::Get()->GetResourceTracker()->ReleaseResource(resource_); in ~LockingResourceReleaser() 30 PP_Resource get() { return resource_; } in get() 33 PP_Resource resource_;
|
D | ppapi_command_buffer_proxy.cc | 19 : resource_(resource), in PpapiCommandBufferProxy() 43 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, &state, &success))) { in GetState() 66 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, put_offset); in Flush() 83 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, put_offset, in FlushSync() 97 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, transfer_buffer_id)); in SetGetBuffer() 114 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, size, id))) { in CreateTransferBuffer() 139 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id)); in DestroyTransferBuffer() 162 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, id, &handle))) { in GetTransferBuffer() 205 ppapi::API_ID_PPB_GRAPHICS_3D, resource_, &sync_point)); in InsertSyncPoint()
|
D | plugin_resource_var.cc | 10 : resource_(resource) {} in PluginResourceVar() 13 return resource_ ? resource_->pp_resource() : 0; in GetPPResource()
|
D | plugin_resource_var.h | 28 scoped_refptr<ppapi::Resource> resource() const { return resource_; } in resource() 35 scoped_refptr<ppapi::Resource> resource_;
|
/external/chromium_org/ppapi/thunk/ |
D | enter.h | 150 Resource* resource_; 189 Resource* resource() { return resource_; } 193 if (resource_) 194 object_ = resource_->GetAs<ResourceT>(); 199 SetStateForResourceError(resource, resource_, object_, report_error); 268 if (resource_) 269 functions_ = resource_->GetAs<ApiT>(); 276 if (resource_) 277 functions_ = resource_->GetAs<ApiT>();
|
D | enter.cc | 33 : resource_(NULL), in EnterBase() 38 : resource_(GetResource(resource)), in EnterBase() 43 : resource_(GetSingletonResource(instance, resource_id)), in EnterBase() 49 : resource_(GetResource(resource)), in EnterBase() 51 callback_ = new TrackedCallback(resource_, callback); in EnterBase() 56 : resource_(GetSingletonResource(instance, resource_id)), in EnterBase() 58 DCHECK(resource_ || !instance); in EnterBase() 59 if (!resource_) in EnterBase() 61 callback_ = new TrackedCallback(resource_, callback); in EnterBase()
|
/external/chromium_org/chrome/browser/extensions/api/ |
D | execute_code_function.cc | 84 file_url_ = net::FilePathToFileURL(resource_.GetFilePath()); in GetFileURLAndLocalizeCSS() 104 resource_.relative_path().AsUTF8Unsafe()); in DidLoadAndLocalizeFile() 183 resource_ = GetExtension()->GetResource(*details_->file); in RunImpl() 185 if (resource_.extension_root().empty() || resource_.relative_path().empty()) { in RunImpl() 192 resource_.extension_root(), resource_.relative_path(), in RunImpl() 198 resource_, base::Bind(&ExecuteCodeFunction::DidLoadFile, this))); in RunImpl()
|
/external/chromium_org/cc/resources/ |
D | managed_tile_state.h | 59 DCHECK(resource_); in get_resource_id() 61 return resource_->id(); in get_resource_id() 71 DCHECK(resource_); in contents_swizzled() 72 return !PlatformColor::SameComponentOrder(resource_->format()); in contents_swizzled() 115 scoped_ptr<ScopedResource> resource_; variable
|
D | managed_tile_state.cc | 65 DCHECK(!resource_); in ~TileVersion() 71 return !!resource_; in IsReadyToDraw() 81 if (!resource_) in GPUMemoryUsageInBytes() 83 return resource_->bytes(); in GPUMemoryUsageInBytes() 93 has_resource |= (tile_versions[mode].resource_.get() != 0); in AsValue()
|
D | tile_manager.cc | 684 if (mts.tile_versions[mode].resource_) { in AssignGpuMemoryToTiles() 696 if (!tile_version.resource_ && tile_version.raster_task_.is_null()) { in AssignGpuMemoryToTiles() 718 if (tile_version.resource_) in AssignGpuMemoryToTiles() 722 DCHECK(!tile_version.resource_); in AssignGpuMemoryToTiles() 762 if (mts.tile_versions[mode].resource_) { in FreeResourceForTile() 764 mts.tile_versions[mode].resource_.Pass()); in FreeResourceForTile() 816 DCHECK(!tile_version.resource_); in ScheduleTasks() 955 tile_version.resource_ = resource.Pass(); in OnRasterTaskCompleted()
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | fake_resource_manager.h | 61 FakeResource* result = resource_; in Pass() 62 resource_ = NULL; in Pass() 71 return static_cast<T*>(resource_); in resource() 74 FakeResource* resource() { return resource_; } in resource() 83 FakeResource* resource_; // Owned. variable
|
D | fake_resource_manager.cc | 112 : resource_(resource), in FakeResourceTracker() 118 FakeResourceTracker::~FakeResourceTracker() { delete resource_; } in ~FakeResourceTracker()
|
/external/chromium/chrome/browser/extensions/ |
D | execute_code_in_tab_function.cc | 111 resource_ = GetExtension()->GetResource(relative_path); in RunImpl() 113 if (resource_.extension_root().empty() || resource_.relative_path().empty()) { in RunImpl() 119 resource_, NewCallback(this, &ExecuteCodeInTabFunction::DidLoadFile))); in RunImpl() 135 resource_.relative_path().value()); in DidLoadFile() 138 WideToUTF8(resource_.relative_path().value())); in DidLoadFile()
|
D | file_reader.cc | 13 : resource_(resource), in FileReader() 29 bool success = file_util::ReadFileToString(resource_.GetFilePath(), &data); in ReadFileOnBackgroundThread()
|
/external/chromium_org/extensions/browser/ |
D | file_reader.cc | 16 : resource_(resource), in FileReader() 30 bool success = base::ReadFileToString(resource_.GetFilePath(), &data); in ReadFileOnBackgroundThread()
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
D | xmppclientsettings.h | 47 void set_resource(const std::string & resource) { resource_ = resource; } in set_resource() 58 const std::string & resource() const { return resource_; } in resource() 68 std::string resource_; variable
|
/external/chromium_org/cc/layers/ |
D | ui_resource_layer.cc | 26 virtual UIResourceId id() OVERRIDE { return resource_->id(); } in id() 30 resource_ = ScopedUIResource::Create(host, UIResourceBitmap(skbitmap)); in ScopedUIResourceHolder() 33 scoped_ptr<ScopedUIResource> resource_; member in cc::__anon7ab45f1e0111::ScopedUIResourceHolder
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
D | xmppclientsettings.h | 52 void set_resource(const std::string& resource) { resource_ = resource; } in set_resource() 67 const std::string& resource() const { return resource_; } in resource() 79 std::string resource_; variable
|
/external/chromium_org/chrome/browser/task_manager/ |
D | browser_process_resource_provider.cc | 152 return &resource_; in GetResource() 156 task_manager_->AddResource(&resource_); in StartUpdating()
|