Lines Matching refs:m_index
62 : m_index(i)
63 , m_timer(timerHeap()[m_index])
75 ASSERT(m_index >= 0);
76 ASSERT(m_index < static_cast<int>(timerHeap().size()));
82 int m_index;
87 : m_index(-1), m_timer(o.timer())
95 if (m_index != -1) {
97 timerHeap()[m_index] = t;
98 t->m_heapIndex = m_index;
124 TimerHeapIterator() : m_index(-1) { }
125 TimerHeapIterator(int i) : m_index(i) { checkConsistency(); }
127 TimerHeapIterator& operator++() { checkConsistency(); ++m_index; checkConsistency(); return *this; }
128 TimerHeapIterator operator++(int) { checkConsistency(); checkConsistency(1); return m_index++; }
130 TimerHeapIterator& operator--() { checkConsistency(); --m_index; checkConsistency(); return *this; }
131 TimerHeapIterator operator--(int) { checkConsistency(); checkConsistency(-1); return m_index--; }
133 TimerHeapIterator& operator+=(int i) { checkConsistency(); m_index += i; checkConsistency(); return *this; }
134 TimerHeapIterator& operator-=(int i) { checkConsistency(); m_index -= i; checkConsistency(); return *this; }
136 TimerHeapElement operator*() const { return TimerHeapElement(m_index); }
137 TimerHeapElement operator[](int i) const { return TimerHeapElement(m_index + i); }
139 int index() const { return m_index; }
143 ASSERT_UNUSED(offset, m_index + offset >= 0);
144 ASSERT_UNUSED(offset, m_index + offset <= static_cast<int>(timerHeap().size()));
148 int m_index;