Lines Matching refs:index
92 void validate(int index);
111 static void setUse(int index);
112 static void resetUse(int index);
113 static bool isUsed(int index);
114 static bool isNotUsed(int index);
117 static void setAllocation(int index);
118 static void resetAllocation(int index);
119 static bool isAllocated(int index);
120 static bool isNotAllocated(int index);
153 inline void Overlay::validate(int index) { in validate() argument
154 OVASSERT(index >=0 && index < PipeBook::NUM_PIPES, \ in validate()
155 "%s, Index out of bounds: %d", __FUNCTION__, index); in validate()
156 OVASSERT(mPipeBook[index].valid(), "Pipe does not exist %s", in validate()
157 PipeBook::getDestStr((utils::eDest)index)); in validate()
187 inline void Overlay::PipeBook::setUse(int index) { in setUse() argument
188 sPipeUsageBitmap |= (1 << index); in setUse()
191 inline void Overlay::PipeBook::resetUse(int index) { in resetUse() argument
192 sPipeUsageBitmap &= ~(1 << index); in resetUse()
195 inline bool Overlay::PipeBook::isUsed(int index) { in isUsed() argument
196 return sPipeUsageBitmap & (1 << index); in isUsed()
199 inline bool Overlay::PipeBook::isNotUsed(int index) { in isNotUsed() argument
200 return !isUsed(index); in isNotUsed()
207 inline void Overlay::PipeBook::setAllocation(int index) { in setAllocation() argument
208 sAllocatedBitmap |= (1 << index); in setAllocation()
211 inline void Overlay::PipeBook::resetAllocation(int index) { in resetAllocation() argument
212 sAllocatedBitmap &= ~(1 << index); in resetAllocation()
215 inline bool Overlay::PipeBook::isAllocated(int index) { in isAllocated() argument
216 return sAllocatedBitmap & (1 << index); in isAllocated()
219 inline bool Overlay::PipeBook::isNotAllocated(int index) { in isNotAllocated() argument
220 return !isAllocated(index); in isNotAllocated()