Lines Matching refs:LocTimerDelegate
112 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
114 void updateSoonestTime(LocTimerDelegate* priorTop);
120 LocTimerDelegate* getSoonestTimer();
123 void add(LocTimerDelegate& timer);
125 void remove(LocTimerDelegate& timer);
174 class LocTimerDelegate : public LocRankable { class
182 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate() function in LocTimerDelegate
184 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
272 LocTimerDelegate* LocTimerContainer::getSoonestTimer() { in getSoonestTimer()
273 return (LocTimerDelegate*)(peek()); in getSoonestTimer()
281 void LocTimerContainer::updateSoonestTime(LocTimerDelegate* priorTop) { in updateSoonestTime()
282 LocTimerDelegate* curTop = getSoonestTimer(); in updateSoonestTime()
310 void LocTimerContainer::add(LocTimerDelegate& timer) { in add()
314 LocTimerDelegate* mTimer; in add()
315 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) : in add()
318 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in add()
328 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove()
331 LocTimerDelegate* mTimer; in remove()
332 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) : in remove()
335 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in remove()
364 LocTimerDelegate timerOfNow(now); in expire()
367 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire()
383 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
384 LocTimerDelegate* poppedNode = NULL; in popIfOutRanks()
386 poppedNode = (LocTimerDelegate*)(pop()); in popIfOutRanks()
475 LocTimerDelegate::LocTimerDelegate(LocTimer& client, in LocTimerDelegate() function in LocTimerDelegate
487 void LocTimerDelegate::destroyLocked() { in destroyLocked()
505 int LocTimerDelegate::ranks(LocRankable& rankable) { in ranks()
507 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks()
517 void LocTimerDelegate::expire() { in expire()
560 mTimer = new LocTimerDelegate(*this, futureTime, container); in start()
573 LocTimerDelegate* timer = mTimer; in stop()