Home | History | Annotate | Download | only in Support

Lines Matching refs:CurArray

25   free(CurArray);
33 CurArray = (const void**)malloc(sizeof(void*) * CurArraySize);
34 assert(CurArray && "Failed to allocate memory?");
35 memset(CurArray, -1, CurArraySize*sizeof(void*));
66 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E;
92 const void *const *Array = CurArray;
118 const void **OldBuckets = CurArray;
123 CurArray = (const void**)malloc(sizeof(void*) * NewSize);
124 assert(CurArray && "Failed to allocate memory?");
126 memset(CurArray, -1, NewSize*sizeof(void*));
148 CurArray = SmallArray;
151 CurArray = (const void**)malloc(sizeof(void*) * that.CurArraySize);
152 assert(CurArray && "Failed to allocate memory?");
176 free(CurArray);
177 CurArray = SmallArray;
181 CurArray = (const void**)malloc(sizeof(void*) * RHS.CurArraySize);
183 const void **T = (const void**)realloc(CurArray,
186 free(CurArray);
187 CurArray = T;
189 assert(CurArray && "Failed to allocate memory?");
200 std::copy(RHS.CurArray, RHS.EndPointer(), CurArray);
209 free(CurArray);
219 CurArray = SmallArray;
220 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, CurArray);
222 CurArray = RHS.CurArray;
223 RHS.CurArray = RHS.SmallArray;
233 assert(RHS.CurArray == RHS.SmallArray);
243 std::swap(this->CurArray, RHS.CurArray);
255 assert(RHS.CurArray == RHS.SmallArray);
256 std::copy(RHS.CurArray, RHS.CurArray + RHS.NumNonEmpty, this->SmallArray);
260 RHS.CurArray = this->CurArray;
261 this->CurArray = this->SmallArray;
268 assert(this->CurArray == this->SmallArray);
269 std::copy(this->CurArray, this->CurArray + this->NumNonEmpty,
274 this->CurArray = RHS.CurArray;
275 RHS.CurArray = RHS.SmallArray;