Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/
DFramebufferAttachment.cpp52 mResource(nullptr), in FramebufferAttachment()
65 : mResource(nullptr) in FramebufferAttachment()
81 std::swap(mResource, other.mResource); in operator =()
97 if (mResource != nullptr) in detach()
99 mResource->onDetach(context, framebufferSerial); in detach()
100 mResource = nullptr; in detach()
135 if (mResource != nullptr) in attach()
137 mResource->onDetach(context, framebufferSerial); in attach()
140 mResource = resource; in attach()
185 return mResource->getId(); in id()
[all …]
DFramebufferAttachment.h201 FramebufferAttachmentObject *mResource; variable
266 ASSERT(mResource); in getSize()
267 return mResource->getAttachmentSize(mTarget.textureIndex()); in getSize()
272 ASSERT(mResource); in getFormat()
273 return mResource->getAttachmentFormat(mTarget.binding(), mTarget.textureIndex()); in getFormat()
283 ASSERT(mResource); in getResourceSamples()
284 return mResource->getAttachmentSamples(mTarget.textureIndex()); in getResourceSamples()
292 ASSERT(mResource); in getRenderTargetImpl()
293 return mResource->getAttachmentRenderTarget(context, mTarget.binding(), mTarget.textureIndex(), in getRenderTargetImpl()
299 ASSERT(mResource); in isRenderable()
[all …]
/external/openthread/src/cli/
Dcli_coap_secure.cpp61 memset(&mResource, 0, sizeof(mResource)); in CoapSecure()
115 mResource.mUriPath = mUriPath; in ProcessResource()
116 mResource.mContext = this; in ProcessResource()
117 mResource.mHandler = &CoapSecure::HandleRequest; in ProcessResource()
120 mResource.mReceiveHook = &CoapSecure::BlockwiseReceiveHook; in ProcessResource()
121 mResource.mTransmitHook = &CoapSecure::BlockwiseTransmitHook; in ProcessResource()
131 otCoapSecureAddBlockWiseResource(GetInstancePtr(), &mResource); in ProcessResource()
133 otCoapSecureAddResource(GetInstancePtr(), &mResource); in ProcessResource()
138 OutputLine("%s", mResource.mUriPath != nullptr ? mResource.mUriPath : ""); in ProcessResource()
199 otCoapRemoveBlockWiseResource(GetInstancePtr(), &mResource); in ProcessStop()
[all …]
Dcli_coap.cpp61 memset(&mResource, 0, sizeof(mResource)); in Coap()
161 mResource.mUriPath = mUriPath; in Process()
162 mResource.mContext = this; in Process()
163 mResource.mHandler = &Coap::HandleRequest; in Process()
166 mResource.mReceiveHook = &Coap::BlockwiseReceiveHook; in Process()
167 mResource.mTransmitHook = &Coap::BlockwiseTransmitHook; in Process()
178 otCoapAddBlockWiseResource(GetInstancePtr(), &mResource); in Process()
180 otCoapAddResource(GetInstancePtr(), &mResource); in Process()
185 OutputLine("%s", mResource.mUriPath != nullptr ? mResource.mUriPath : ""); in Process()
265 otCoapRemoveBlockWiseResource(GetInstancePtr(), &mResource); in Process()
[all …]
Dcli_coap.hpp156 otCoapBlockwiseResource mResource; member in ot::Cli::Coap
158 otCoapResource mResource; member in ot::Cli::Coap
Dcli_coap_secure.hpp175 otCoapBlockwiseResource mResource; member in ot::Cli::CoapSecure
177 otCoapResource mResource; member in ot::Cli::CoapSecure
/external/ot-br-posix/src/rest/
Dconnection.cpp63 , mResource(aResource) in Connection()
224 mResource->ErrorHandler(mResponse, HttpStatusCode::kStatusInternalServerError); in ProcessWaitRead()
229 mResource->ErrorHandler(mResponse, HttpStatusCode::kStatusRequestTimeout); in ProcessWaitRead()
243 mResource->Handle(mRequest, mResponse); in Handle()
260 mResource->ErrorHandler(mResponse, HttpStatusCode::kStatusInternalServerError); in Handle()
269 mResource->HandleCallback(mRequest, mResponse); in ProcessWaitCallback()
279 mResource->ErrorHandler(mResponse, HttpStatusCode::kStatusInternalServerError); in ProcessWaitCallback()
Drest_web_server.cpp52 : mResource(Resource(&aNcp)) in RestWebServer()
67 mResource.Init(); in Init()
185 …et.emplace(aFd, std::unique_ptr<Connection>(new Connection(steady_clock::now(), &mResource, aFd))); in CreateNewConnection()
Drest_web_server.hpp88 Resource mResource; member in otbr::rest::RestWebServer
Dconnection.hpp124 Resource *mResource; member in otbr::rest::Connection
/external/angle/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.h212 constexpr LazyResource() : mResource() {} in LazyResource()
216 void reset() { mResource.reset(); } in reset()
219 ASSERT(mResource.valid()); in get()
220 return mResource.get(); in get()
223 const Resource11<GetD3D11Type<ResourceT>> &getObj() const { return mResource; } in getObj()
226 LazyResource(LazyResource &&other) : mResource(std::move(other.mResource)) {} in LazyResource()
235 Resource11<GetD3D11Type<ResourceT>> mResource; variable
Drenderer11_utils.cpp2424 if (!mResource.valid()) in resolveImpl()
2426 ANGLE_TRY(renderer->allocateResource(context, desc, initData, &mResource)); in resolveImpl()
2427 mResource.setInternalName(name); in resolveImpl()