Lines Matching refs:CurArray
23 free(CurArray);
30 CurArray = (const void**)malloc(sizeof(void*) * (CurArraySize+1));
31 assert(CurArray && "Failed to allocate memory?");
32 memset(CurArray, -1, CurArraySize*sizeof(void*));
36 CurArray[CurArraySize] = 0;
107 const void *const *Array = CurArray;
136 const void **OldBuckets = CurArray;
140 CurArray = (const void**)malloc(sizeof(void*) * (NewSize+1));
141 assert(CurArray && "Failed to allocate memory?");
143 memset(CurArray, -1, NewSize*sizeof(void*));
147 CurArray[NewSize] = 0;
178 CurArray = SmallArray;
181 CurArray = (const void**)malloc(sizeof(void*) * (that.CurArraySize+1));
182 assert(CurArray && "Failed to allocate memory?");
189 memcpy(CurArray, that.CurArray, sizeof(void*)*(CurArraySize+1));
205 free(CurArray);
206 CurArray = SmallArray;
210 CurArray = (const void**)malloc(sizeof(void*) * (RHS.CurArraySize+1));
212 CurArray = (const void**)realloc(CurArray, sizeof(void*)*(RHS.CurArraySize+1));
213 assert(CurArray && "Failed to allocate memory?");
220 memcpy(CurArray, RHS.CurArray, sizeof(void*)*(CurArraySize+1));
228 free(CurArray);