Searched refs:stopTimerContext (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/base/time/time_service/framework/js/napi/system_timer/src/ |
H A D | napi_system_timer.cpp | 293 StopTimerContext *stopTimerContext = new StopTimerContext(); in StopTimer() local 294 auto inputParser = [env, stopTimerContext](size_t argc, napi_value *argv) { in StopTimer() 295 CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, stopTimerContext, argc >= ARGC_ONE, in StopTimer() 298 stopTimerContext->status = napi_get_value_int64(env, argv[ARGV_FIRST], &timerId); in StopTimer() 299 stopTimerContext->timerId = static_cast<uint64_t>(timerId); in StopTimer() 300 … CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, stopTimerContext, stopTimerContext->status == napi_ok, in StopTimer() 302 stopTimerContext->status = napi_ok; in StopTimer() 304 stopTimerContext->GetCbInfo(env, info, inputParser); in StopTimer() 305 auto executor = [stopTimerContext]() { in StopTimer() 308 stopTimerContext->errCode = innerCode; in StopTimer() [all …]
|