Lines Matching defs:timer
41 GRAPHIC_LOGE("Timer set period failed, timer should be created first.");
60 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(lpArg);
61 if (timer != nullptr) {
62 (void)timer->Callback();
68 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(lpParam);
70 liDueTime.QuadPart = -(timer->GetPeriod() * HUNDRED_NS_PER_MS);
72 LONG period = (timer->IsPeriodic() ? timer->GetPeriod() : 0);
73 if (!SetWaitableTimer(timer->GetNativeTimer(), &liDueTime, period, TimerCallback, timer, FALSE)) {
107 GRAPHIC_LOGE("Timer start failed, timer should be created first.");
128 GRAPHIC_LOGE("Timer stop failed, timer should be created first.");
140 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(args);
141 if (timer != nullptr) {
142 timer->Callback();
176 GRAPHIC_LOGE("Timer start failed, timer should be created first.");
203 GraphicTimer* timer = reinterpret_cast<GraphicTimer*>(v.sival_ptr);
204 if (timer != nullptr) {
205 timer->Callback();
242 GRAPHIC_LOGE("Timer start failed, timer should be created first.");