Home
last modified time | relevance | path

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

/ohos5.0/base/request/request/frameworks/js/napi/src/
H A Drequest_event.cpp297 napi_value RequestEvent::Exec(napi_env env, napi_callback_info info, const std::string &execType) in Exec() argument
300 REQUEST_HILOGI("Begin task %{public}s seq %{public}d", execType.c_str(), seq); in Exec()
305 auto output = [context, execType, seq](napi_value *result) -> napi_status { in Exec()
308 execType.c_str(), seq, context->innerCode_); in Exec()
312 napi_status status = GetResult(context->env_, context, execType, *result); in Exec()
315 execType.c_str(), seq, status); in Exec()
317 REQUEST_HILOGI("End task %{public}s ok seq %{public}d", execType.c_str(), seq); in Exec()
321 auto exec = [context, execType]() { in Exec()
322 auto handle = requestEvent_.find(execType); in Exec()
330 return asyncCall.Call(context, execType); in Exec()
[all …]
/ohos5.0/base/request/request/frameworks/cj/ffi/src/
H A Dcj_request_event.cpp68 ExceptionErrorCode CJRequestEvent::Exec(std::string execType, const CJTask *task) in Exec() argument
70 auto handle = requestEvent_.find(execType); in Exec()
H A Dcj_request_impl.cpp217 RetError CJRequestImpl::TaskExec(std::string execType, std::string taskId) in TaskExec() argument
227 ExceptionErrorCode code = CJRequestEvent::Exec(execType, task); in TaskExec()
/ohos5.0/base/request/request/frameworks/js/napi/include/
H A Drequest_event.h73 static napi_value Exec(napi_env env, napi_callback_info info, const std::string &execType);
88 …napi_env env, const std::shared_ptr<ExecContext> &context, const std::string &execType, napi_value…
/ohos5.0/base/request/request/frameworks/cj/ffi/include/
H A Dcj_request_event.h35 static ExceptionErrorCode Exec(std::string execType, const CJTask *task);
H A Dcj_request_impl.h52 static RetError TaskExec(std::string execType, std::string taskId);