Home
last modified time | relevance | path

Searched refs:contextBase (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/
H A Dnapi_async_work.cpp93 stat = napi_create_promise(contextBase->env, &contextBase->deferred, &promise); in Enqueue()
111 if (contextBase && contextBase->execute && contextBase->status == napi_ok) { in Enqueue()
119 if ((status != napi_ok) && contextBase && (contextBase->status == napi_ok)) { in Enqueue()
122 …if (contextBase && (contextBase->complete) && (status == napi_ok) && (contextBase->status == napi_… in Enqueue()
123 contextBase->complete(contextBase->output); in Enqueue()
127 reinterpret_cast<void*>(contextBase.GetRefPtr()), &contextBase->work); in Enqueue()
146 stat = napi_get_undefined(contextBase->env, &contextBase->output); in GenerateOutput()
157 stat = napi_create_int32(contextBase->env, contextBase->errCode, &code); in GenerateOutput()
176 stat = napi_get_reference_value(contextBase->env, contextBase->callbackRef, &callback); in GenerateOutput()
183 contextBase->execute = nullptr; in GenerateOutput()
[all …]
H A Dnapi_async_work.h92 static napi_value Enqueue(napi_env env, sptr<ContextBase> contextBase, const std::string& name,
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/
H A Dnapi_queue.cpp68 napi_value NapiQueue::AsyncWork(napi_env env, std::shared_ptr<ContextBase> contextBase, const std::… in AsyncWork() argument
76 aCtx->ctxt = std::move(contextBase); in AsyncWork()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/common/
H A Dnapi_queue.cpp66 napi_value NapiQueue::AsyncWork(napi_env env, std::shared_ptr<ContextBase> contextBase, const std::… in AsyncWork() argument
71 aCtx->ctxt = std::move(contextBase); in AsyncWork()
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/include/common/
H A Dnapi_queue.h89 …static napi_value AsyncWork(napi_env env, std::shared_ptr<ContextBase> contextBase, const std::str…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.cpp477 auto contextBase = container->GetPipelineContext(); in GetSheetContext() local
478 CHECK_NULL_RETURN(contextBase, nullptr); in GetSheetContext()
479 context = AceType::DynamicCast<PipelineContext>(contextBase); in GetSheetContext()