Home
last modified time | relevance | path

Searched refs:pp_resource_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/ppapi/cpp/
Dresource.cc14 Resource::Resource() : pp_resource_(0) { in Resource()
17 Resource::Resource(const Resource& other) : pp_resource_(other.pp_resource_) { in Resource()
19 Module::Get()->core()->AddRefResource(pp_resource_); in Resource()
24 Module::Get()->core()->ReleaseResource(pp_resource_); in ~Resource()
29 Module::Get()->core()->AddRefResource(other.pp_resource_); in operator =()
31 Module::Get()->core()->ReleaseResource(pp_resource_); in operator =()
32 pp_resource_ = other.pp_resource_; in operator =()
37 PP_Resource ret = pp_resource_; in detach()
38 pp_resource_ = 0; in detach()
42 Resource::Resource(PP_Resource resource) : pp_resource_(resource) { in Resource()
[all …]
Dresource.h45 bool is_null() const { return !pp_resource_; } in is_null()
47 PP_Resource pp_resource() const { return pp_resource_; } in pp_resource()
92 PP_Resource pp_resource_; variable
/external/chromium_org/content/renderer/pepper/
Dhost_resource_var.cc9 HostResourceVar::HostResourceVar() : pp_resource_(0) {} in HostResourceVar()
12 : pp_resource_(pp_resource), in HostResourceVar()
18 : pp_resource_(0), in HostResourceVar()
23 PP_Resource HostResourceVar::GetPPResource() const { return pp_resource_; } in GetPPResource()
38 return pp_resource_ == 0 && creation_message_; in IsPending()
Dhost_resource_var.h49 PP_Resource pp_resource_;
/external/chromium_org/ppapi/shared_impl/
Dresource.cc18 pp_resource_ = PpapiGlobals::Get()->GetResourceTracker()->AddResource(this); in Resource()
26 host_resource_.SetHostResource(instance, pp_resource_); in Resource()
32 pp_resource_ = PpapiGlobals::Get()->GetResourceTracker()->AddResource(this); in Resource()
39 host_resource_.SetHostResource(host_resource.instance(), pp_resource_); in Resource()
44 pp_resource_ = PpapiGlobals::Get()->GetResourceTracker()->AddResource(this); in Resource()
Dresource.h161 PP_Resource pp_resource() const { return pp_resource_; } in pp_resource()
241 PP_Resource pp_resource_;
/external/chromium_org/ppapi/host/
Dresource_host.cc20 pp_resource_(resource) { in ResourceHost()
41 DCHECK(!pp_resource_); in SetPPResourceForPendingHost()
42 pp_resource_ = pp_resource; in SetPPResourceForPendingHost()
Dresource_host.h38 PP_Resource pp_resource() const { return pp_resource_; } in pp_resource()
84 PP_Resource pp_resource_; variable
/external/chromium_org/ppapi/proxy/
Dresource_message_params.cc28 : pp_resource_(0), in ResourceMessageParams()
35 : pp_resource_(resource), in ResourceMessageParams()
54 IPC::ParamTraits<PP_Resource>::Write(msg, pp_resource_); in WriteHeader()
67 return IPC::ParamTraits<PP_Resource>::Read(msg, iter, &pp_resource_) && in ReadHeader()
Draw_var_data.cc669 : pp_resource_(0), in ResourceRawVarData()
685 pp_resource_ = resource_var->GetPPResource(); in Init()
699 if (pp_resource_ || !creation_message_) { in CreatePPVar()
701 pp_resource_); in CreatePPVar()
718 m->WriteInt(static_cast<int>(pp_resource_)); in Write()
732 pp_resource_ = static_cast<PP_Resource>(value); in Read()
Dresource_message_params.h24 PP_Resource pp_resource() const { return pp_resource_; } in pp_resource()
111 PP_Resource pp_resource_; variable
Draw_var_data.h284 PP_Resource pp_resource_;