Lines Matching refs:index

160     void validate(int index);
201 static void setUse(int index);
202 static void resetUse(int index);
203 static bool isUsed(int index);
204 static bool isNotUsed(int index);
207 static void setAllocation(int index);
208 static void resetAllocation(int index);
209 static bool isAllocated(int index);
210 static bool isNotAllocated(int index);
255 inline void Overlay::validate(int index) { in validate() argument
256 OVASSERT(index >=0 && index < PipeBook::NUM_PIPES, \ in validate()
257 "%s, Index out of bounds: %d", __FUNCTION__, index); in validate()
258 OVASSERT(mPipeBook[index].valid(), "Pipe does not exist %s", in validate()
259 PipeBook::getDestStr((utils::eDest)index)); in validate()
352 inline void Overlay::PipeBook::setUse(int index) { in setUse() argument
353 sPipeUsageBitmap |= (1 << index); in setUse()
356 inline void Overlay::PipeBook::resetUse(int index) { in resetUse() argument
357 sPipeUsageBitmap &= ~(1 << index); in resetUse()
360 inline bool Overlay::PipeBook::isUsed(int index) { in isUsed() argument
361 return sPipeUsageBitmap & (1 << index); in isUsed()
364 inline bool Overlay::PipeBook::isNotUsed(int index) { in isNotUsed() argument
365 return !isUsed(index); in isNotUsed()
372 inline void Overlay::PipeBook::setAllocation(int index) { in setAllocation() argument
373 sAllocatedBitmap |= (1 << index); in setAllocation()
376 inline void Overlay::PipeBook::resetAllocation(int index) { in resetAllocation() argument
377 sAllocatedBitmap &= ~(1 << index); in resetAllocation()
380 inline bool Overlay::PipeBook::isAllocated(int index) { in isAllocated() argument
381 return sAllocatedBitmap & (1 << index); in isAllocated()
384 inline bool Overlay::PipeBook::isNotAllocated(int index) { in isNotAllocated() argument
385 return !isAllocated(index); in isNotAllocated()