Lines Matching full:tid
66 uint32_t tId = timeCallbackId++; in SetTimeOutFaker() local
67 HILOG_WARN("Timer is deactivated on current JS Thread, timer id = %{public}" PRIu32, tId); in SetTimeOutFaker()
68 return Helper::NapiHelper::CreateUint32(env, tId); in SetTimeOutFaker()
137 uint32_t tId; in ClearTimer() local
138 napi_status status = napi_get_value_uint32(env, argv[0], &tId); in ClearTimer()
146 auto iter = timerTable.find(tId); in ClearTimer()
154 " TimerID:%{public}u", tId); in ClearTimer()
156 timerTable.erase(tId); in ClearTimer()
158 HILOG_INFO("ID: %{public}u, cnt: %{public}u", tId, ++deleteTimerCount); in ClearTimer()
160 HITRACE_HELPER_METER_NAME("DeleteTimer ID: " + std::to_string(tId) + ", count: " in ClearTimer()
176 uint32_t tId = callbackInfo->tId_; in TimerCallback() local
183 …std::to_string(reinterpret_cast<std::uintptr_t>(callbackInfo)) + ", tId = " + std::to_string(tId)); in TimerCallback()
205 DeleteTimer(tId, callbackInfo); in TimerCallback()
211 if (timerTable.find(tId) == timerTable.end()) { in TimerCallback()
216 timerTable.erase(tId); in TimerCallback()
251 uint32_t tId = 0; in SetTimeoutInnerCore() local
255 tId = timeCallbackId++; in SetTimeoutInnerCore()
257 …callbackInfo = new TimerCallbackInfo(env, tId, timeout, callbackRef, repeat, callbackArgc, callbac… in SetTimeoutInnerCore()
261 if (timerTable.find(tId) != timerTable.end()) { in SetTimeoutInnerCore()
264 timerTable[tId] = callbackInfo; in SetTimeoutInnerCore()
268 …DEBUG("SetTimeoutInnerCore function call before libuv! tId = %{public}u,timeout = %{public}u", tId… in SetTimeoutInnerCore()
270 …CE_HELPER_METER_NAME("SetTimeoutInnerCore function call before libuv! tId = " + std::to_string(tId) in SetTimeoutInnerCore()
281 return Helper::NapiHelper::CreateUint32(env, tId); in SetTimeoutInnerCore()
327 void Timer::DeleteTimer(uint32_t tId, TimerCallbackInfo* callbackInfo) in DeleteTimer() argument
331 if (timerTable.find(tId) != timerTable.end()) { in DeleteTimer()
332 timerTable.erase(tId); in DeleteTimer()