Lines Matching defs:that
188 auto that = reinterpret_cast<NativeAsyncWork*>(req->data);
192 StartTrace(HITRACE_TAG_ACE, "Napi execute, " + that->GetTraceDescription());
193 if (that->taskTraceId_.IsValid()) {
194 HiTraceId currentId = HiTraceChain::SaveAndSet(that->taskTraceId_);
195 HiTraceChain::Tracepoint(HITRACE_TP_SR, that->taskTraceId_, "%s", TRACE_POINT_ASYNCWORKCALLBACK.c_str());
196 that->execute_(that->engine_, that->data_);
198 HiTraceChain::Tracepoint(HITRACE_TP_SS, that->taskTraceId_, "%s", TRACE_POINT_ASYNCWORKCALLBACK.c_str());
203 that->execute_(that->engine_, that->data_);
216 auto that = reinterpret_cast<NativeAsyncWork*>(req->data);
217 auto engine = that->engine_;
236 ContainerScope containerScope(that->containerScopeId_);
242 StartTrace(HITRACE_TAG_ACE, "Napi complete, " + that->GetTraceDescription());
243 bool isValidTraceId = that->taskTraceId_.IsValid();
245 OHOS::HiviewDFX::HiTraceChain::SaveAndSet(that->taskTraceId_);
249 // Don't use that after complete
250 that->complete_(engine, nstatus, that->data_);