Searched refs:destroyTimerContext (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 | 321 DestroyTimerContext *destroyTimerContext = new DestroyTimerContext(); in DestroyTimer() local 322 auto inputParser = [env, destroyTimerContext](size_t argc, napi_value *argv) { in DestroyTimer() 323 CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, destroyTimerContext, argc == ARGC_ONE, in DestroyTimer() 326 destroyTimerContext->status = napi_get_value_int64(env, argv[ARGV_FIRST], &timerId); in DestroyTimer() 327 destroyTimerContext->timerId = static_cast<uint64_t>(timerId); in DestroyTimer() 328 …CHECK_ARGS_RETURN_VOID(TIME_MODULE_JS_NAPI, destroyTimerContext, destroyTimerContext->status == na… in DestroyTimer() 330 destroyTimerContext->status = napi_ok; in DestroyTimer() 332 destroyTimerContext->GetCbInfo(env, info, inputParser); in DestroyTimer() 333 auto executor = [destroyTimerContext]() { in DestroyTimer() 336 destroyTimerContext->errCode = innerCode; in DestroyTimer() [all …]
|