Lines Matching refs:index
155 void validate(int index);
193 static void setUse(int index);
194 static void resetUse(int index);
195 static bool isUsed(int index);
196 static bool isNotUsed(int index);
199 static void setAllocation(int index);
200 static void resetAllocation(int index);
201 static bool isAllocated(int index);
202 static bool isNotAllocated(int index);
247 inline void Overlay::validate(int index) { in validate() argument
248 OVASSERT(index >=0 && index < PipeBook::NUM_PIPES, \ in validate()
249 "%s, Index out of bounds: %d", __FUNCTION__, index); in validate()
250 OVASSERT(mPipeBook[index].valid(), "Pipe does not exist %s", in validate()
251 PipeBook::getDestStr((utils::eDest)index)); in validate()
331 inline void Overlay::PipeBook::setUse(int index) { in setUse() argument
332 sPipeUsageBitmap |= (1 << index); in setUse()
335 inline void Overlay::PipeBook::resetUse(int index) { in resetUse() argument
336 sPipeUsageBitmap &= ~(1 << index); in resetUse()
339 inline bool Overlay::PipeBook::isUsed(int index) { in isUsed() argument
340 return sPipeUsageBitmap & (1 << index); in isUsed()
343 inline bool Overlay::PipeBook::isNotUsed(int index) { in isNotUsed() argument
344 return !isUsed(index); in isNotUsed()
351 inline void Overlay::PipeBook::setAllocation(int index) { in setAllocation() argument
352 sAllocatedBitmap |= (1 << index); in setAllocation()
355 inline void Overlay::PipeBook::resetAllocation(int index) { in resetAllocation() argument
356 sAllocatedBitmap &= ~(1 << index); in resetAllocation()
359 inline bool Overlay::PipeBook::isAllocated(int index) { in isAllocated() argument
360 return sAllocatedBitmap & (1 << index); in isAllocated()
363 inline bool Overlay::PipeBook::isNotAllocated(int index) { in isNotAllocated() argument
364 return !isAllocated(index); in isNotAllocated()