Lines Matching refs:indx
34 #define I2U(indx) (p->Indx2Units[indx]) argument
152 static void InsertNode(CPpmd7 *p, void *node, unsigned indx) in InsertNode() argument
154 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode()
155 p->FreeList[indx] = REF(node); in InsertNode()
158 static void *RemoveNode(CPpmd7 *p, unsigned indx) in RemoveNode() argument
160 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode()
161 p->FreeList[indx] = *node; in RemoveNode()
249 static void *AllocUnitsRare(CPpmd7 *p, unsigned indx) in AllocUnitsRare() argument
256 if (p->FreeList[indx] != 0) in AllocUnitsRare()
257 return RemoveNode(p, indx); in AllocUnitsRare()
259 i = indx; in AllocUnitsRare()
264 UInt32 numBytes = U2B(I2U(indx)); in AllocUnitsRare()
271 SplitBlock(p, retVal, i, indx); in AllocUnitsRare()
275 static void *AllocUnits(CPpmd7 *p, unsigned indx) in AllocUnits() argument
278 if (p->FreeList[indx] != 0) in AllocUnits()
279 return RemoveNode(p, indx); in AllocUnits()
280 numBytes = U2B(I2U(indx)); in AllocUnits()
287 return AllocUnitsRare(p, indx); in AllocUnits()