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()
130 uint32_t tId; in ClearTimer() local
131 napi_status status = napi_get_value_uint32(env, argv[0], &tId); in ClearTimer()
139 auto iter = timerTable.find(tId); in ClearTimer()
146 … HILOG_ERROR("Timer is deleting by another thread, please check js code. TimerID:%{public}u", tId); in ClearTimer()
148 timerTable.erase(tId); in ClearTimer()
150 HILOG_INFO("DeleteTimer ID: %{public}u, count: %{public}u", tId, ++deleteTimerCount); in ClearTimer()
152 HITRACE_HELPER_METER_NAME("DeleteTimer ID: " + std::to_string(tId) + ", count: " in ClearTimer()
168 uint32_t tId = callbackInfo->tId_; in TimerCallback() local
175 …std::to_string(reinterpret_cast<std::uintptr_t>(callbackInfo)) + ", tId = " + std::to_string(tId)); in TimerCallback()
197 DeleteTimer(tId, callbackInfo); in TimerCallback()
203 if (timerTable.find(tId) == timerTable.end()) { in TimerCallback()
208 timerTable.erase(tId); in TimerCallback()
243 uint32_t tId = 0; in SetTimeoutInnerCore() local
247 tId = timeCallbackId++; in SetTimeoutInnerCore()
249 …callbackInfo = new TimerCallbackInfo(env, tId, timeout, callbackRef, repeat, callbackArgc, callbac… in SetTimeoutInnerCore()
253 if (timerTable.find(tId) != timerTable.end()) { in SetTimeoutInnerCore()
256 timerTable[tId] = callbackInfo; in SetTimeoutInnerCore()
260 …DEBUG("SetTimeoutInnerCore function call before libuv! tId = %{public}u,timeout = %{public}u", tId… in SetTimeoutInnerCore()
262 …CE_HELPER_METER_NAME("SetTimeoutInnerCore function call before libuv! tId = " + std::to_string(tId) in SetTimeoutInnerCore()
273 return Helper::NapiHelper::CreateUint32(env, tId); in SetTimeoutInnerCore()
319 void Timer::DeleteTimer(uint32_t tId, TimerCallbackInfo* callbackInfo) in DeleteTimer() argument
323 if (timerTable.find(tId) != timerTable.end()) { in DeleteTimer()
324 timerTable.erase(tId); in DeleteTimer()