Lines Matching refs:LocTimerDelegate
114 LocTimerDelegate* popIfOutRanks(LocTimerDelegate& timer);
116 void updateSoonestTime(LocTimerDelegate* priorTop);
122 LocTimerDelegate* getSoonestTimer();
125 void add(LocTimerDelegate& timer);
127 void remove(LocTimerDelegate& timer);
176 class LocTimerDelegate : public LocRankable { class
184 inline LocTimerDelegate(struct timespec& delay) in LocTimerDelegate() function in LocTimerDelegate
186 inline ~LocTimerDelegate() { if (mLock) { mLock->drop(); mLock = NULL; } } in ~LocTimerDelegate()
188 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, LocTimerContainer* container);
274 LocTimerDelegate* LocTimerContainer::getSoonestTimer() { in getSoonestTimer()
275 return (LocTimerDelegate*)(peek()); in getSoonestTimer()
283 void LocTimerContainer::updateSoonestTime(LocTimerDelegate* priorTop) { in updateSoonestTime()
284 LocTimerDelegate* curTop = getSoonestTimer(); in updateSoonestTime()
313 void LocTimerContainer::add(LocTimerDelegate& timer) { in add()
317 LocTimerDelegate* mTimer; in add()
318 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) : in add()
321 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in add()
331 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove()
334 LocTimerDelegate* mTimer; in remove()
335 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) : in remove()
338 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in remove()
367 LocTimerDelegate timerOfNow(now); in expire()
370 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire()
387 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
388 LocTimerDelegate* poppedNode = NULL; in popIfOutRanks()
390 poppedNode = (LocTimerDelegate*)(pop()); in popIfOutRanks()
479 LocTimerDelegate::LocTimerDelegate(LocTimer& client, in LocTimerDelegate() function in LocTimerDelegate
491 void LocTimerDelegate::destroyLocked() { in destroyLocked()
509 int LocTimerDelegate::ranks(LocRankable& rankable) { in ranks()
511 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks()
526 void LocTimerDelegate::expire() { in expire()
569 mTimer = new LocTimerDelegate(*this, futureTime, container); in start()
582 LocTimerDelegate* timer = mTimer; in stop()