Home
last modified time | relevance | path

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

/commonlibrary/ets_utils/js_sys_module/timer/
Dtimer.cpp96 TimerCallbackInfo* callbackInfo = iter->second; in ClearTimer() local
98 Helper::CloseHelp::DeletePointer(callbackInfo, false); in ClearTimer()
105 TimerCallbackInfo* callbackInfo = static_cast<TimerCallbackInfo*>(handle->data); in TimerCallback() local
106 if (callbackInfo == nullptr) { in TimerCallback()
110 bool repeat = callbackInfo->repeat_; in TimerCallback()
111 uint32_t tId = callbackInfo->tId_; in TimerCallback()
112 napi_env env = callbackInfo->env_; in TimerCallback()
119 napi_value callback = Helper::NapiHelper::GetReferenceValue(env, callbackInfo->callback_); in TimerCallback()
122 napi_value* callbackArgv = new napi_value[callbackInfo->argc_]; in TimerCallback()
123 for (size_t idx = 0; idx < callbackInfo->argc_; idx++) { in TimerCallback()
[all …]