Lines Matching refs:index
166 void validate(int index);
215 static void setUse(int index);
216 static void resetUse(int index);
217 static bool isUsed(int index);
218 static bool isNotUsed(int index);
221 static void setAllocation(int index);
222 static void resetAllocation(int index);
223 static bool isAllocated(int index);
224 static bool isNotAllocated(int index);
274 inline void Overlay::validate(int index) { in validate() argument
275 OVASSERT(index >=0 && index < PipeBook::NUM_PIPES, \ in validate()
276 "%s, Index out of bounds: %d", __FUNCTION__, index); in validate()
277 OVASSERT(mPipeBook[index].valid(), "Pipe does not exist %s", in validate()
278 PipeBook::getDestStr((utils::eDest)index)); in validate()
384 inline void Overlay::PipeBook::setUse(int index) { in setUse() argument
385 sPipeUsageBitmap |= (1 << index); in setUse()
388 inline void Overlay::PipeBook::resetUse(int index) { in resetUse() argument
389 sPipeUsageBitmap &= ~(1 << index); in resetUse()
392 inline bool Overlay::PipeBook::isUsed(int index) { in isUsed() argument
393 return sPipeUsageBitmap & (1 << index); in isUsed()
396 inline bool Overlay::PipeBook::isNotUsed(int index) { in isNotUsed() argument
397 return !isUsed(index); in isNotUsed()
404 inline void Overlay::PipeBook::setAllocation(int index) { in setAllocation() argument
405 sAllocatedBitmap |= (1 << index); in setAllocation()
408 inline void Overlay::PipeBook::resetAllocation(int index) { in resetAllocation() argument
409 sAllocatedBitmap &= ~(1 << index); in resetAllocation()
412 inline bool Overlay::PipeBook::isAllocated(int index) { in isAllocated() argument
413 return sAllocatedBitmap & (1 << index); in isAllocated()
416 inline bool Overlay::PipeBook::isNotAllocated(int index) { in isNotAllocated() argument
417 return !isAllocated(index); in isNotAllocated()