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()
311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add()
315 LocTimerDelegate* mTimer; in add()
316 inline MsgTimerPush(LocTimerContainer& container, LocTimerDelegate& timer) : in add()
319 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in add()
329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove()
332 LocTimerDelegate* mTimer; in remove()
333 inline MsgTimerRemove(LocTimerContainer& container, LocTimerDelegate& timer) : in remove()
336 LocTimerDelegate* priorTop = mTimerContainer->getSoonestTimer(); in remove()
365 LocTimerDelegate timerOfNow(now); in expire()
368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire()
385 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks()
386 LocTimerDelegate* poppedNode = NULL; in popIfOutRanks()
388 poppedNode = (LocTimerDelegate*)(pop()); in popIfOutRanks()
477 LocTimerDelegate::LocTimerDelegate(LocTimer& client, in LocTimerDelegate() function in LocTimerDelegate
489 void LocTimerDelegate::destroyLocked() { in destroyLocked()
507 int LocTimerDelegate::ranks(LocRankable& rankable) { in ranks()
509 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks()
524 void LocTimerDelegate::expire() { in expire()
567 mTimer = new LocTimerDelegate(*this, futureTime, container); in start()
580 LocTimerDelegate* timer = mTimer; in stop()