Home
last modified time | relevance | path

Searched refs:complete_ (Results 1 – 5 of 5) sorted by relevance

/foundation/ace/napi/native_engine/
Dnative_async_work.cpp37 : work_({ 0 }), engine_(engine), execute_(execute), complete_(complete), data_(data) in NativeAsyncWork()
97 if (that->complete_ != nullptr) { in AsyncWorkRecvCallback()
98 that->complete_(that->engine_, -1, res.data_); in AsyncWorkRecvCallback()
198 that->complete_(that->engine_, nstatus, that->data_); in AsyncAfterWorkCallback()
204 that->complete_(that->engine_, nstatus, that->data_); in AsyncAfterWorkCallback()
Dnative_async_work.h81 NativeAsyncCompleteCallback complete_; variable
/foundation/aafwk/standard/frameworks/kits/runtime/native/
Djs_runtime_utils.cpp132 : deferred_(deferred), execute_(std::move(execute)), complete_(std::move(complete)) in AsyncTask()
137 : callbackRef_(callbackRef), execute_(std::move(execute)), complete_(std::move(complete)) in AsyncTask()
200 if (me->complete_ && *(me->complete_)) { in Complete()
202 (*me->complete_)(*engine, *me, status); in Complete()
/foundation/aafwk/standard/interfaces/innerkits/runtime/include/
Djs_runtime_utils.h171 std::unique_ptr<CompleteCallback> complete_; variable
/foundation/ace/napi/native_engine/impl/v8/
Dv8_native_engine.cpp385 NativeAsyncCompleteCallback complete_ = nullptr; member
401 wrapData->complete_(engine, status, wrapData->data_); in CompleteWrap()
414 wrapData->complete_ = complete; in CreateAsyncWork()