Lines Matching defs:timer
50 static MainThreadSharedTimer* timer = new MainThreadSharedTimer;
51 return timer;
93 // No need to restart the timer if both the pending fire time and the new fire time are in the past.
124 TimerBase& timer = *m_timerHeap.first();
125 timer.m_nextFireTime = 0;
126 timer.m_unalignedNextFireTime = 0;
127 timer.heapDeleteMin();
129 double interval = timer.repeatInterval();
130 timer.setNextFireTime(interval ? fireTime + interval : 0);
133 "src_file", timer.location().fileName(),
134 "src_func", timer.location().functionName());
136 // Once the timer has been fired, it may be deleted, so do nothing else with it after this point.
137 timer.fired();
139 // Catch the case where the timer asked timers to fire in a nested event loop, or we are over time limit.