Lines Matching refs:indx
19 #define I2U(indx) (p->Indx2Units[indx]) argument
122 static void InsertNode(CPpmd7 *p, void *node, unsigned indx) in InsertNode() argument
124 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode()
125 p->FreeList[indx] = REF(node); in InsertNode()
128 static void *RemoveNode(CPpmd7 *p, unsigned indx) in RemoveNode() argument
130 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode()
131 p->FreeList[indx] = *node; in RemoveNode()
219 static void *AllocUnitsRare(CPpmd7 *p, unsigned indx) in AllocUnitsRare() argument
226 if (p->FreeList[indx] != 0) in AllocUnitsRare()
227 return RemoveNode(p, indx); in AllocUnitsRare()
229 i = indx; in AllocUnitsRare()
234 UInt32 numBytes = U2B(I2U(indx)); in AllocUnitsRare()
241 SplitBlock(p, retVal, i, indx); in AllocUnitsRare()
245 static void *AllocUnits(CPpmd7 *p, unsigned indx) in AllocUnits() argument
248 if (p->FreeList[indx] != 0) in AllocUnits()
249 return RemoveNode(p, indx); in AllocUnits()
250 numBytes = U2B(I2U(indx)); in AllocUnits()
257 return AllocUnitsRare(p, indx); in AllocUnits()