Searched refs:CurArray (Results 1 – 2 of 2) sorted by relevance
25 free(CurArray); in shrink_and_clear()32 CurArray = (const void**)malloc(sizeof(void*) * (CurArraySize+1)); in shrink_and_clear()33 assert(CurArray && "Failed to allocate memory?"); in shrink_and_clear()34 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear()38 CurArray[CurArraySize] = 0; in shrink_and_clear()109 const void *const *Array = CurArray; in FindBucketFor()138 const void **OldBuckets = CurArray; in Grow()142 CurArray = (const void**)malloc(sizeof(void*) * (NewSize+1)); in Grow()143 assert(CurArray && "Failed to allocate memory?"); in Grow()145 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow()[all …]
54 const void **CurArray; variable67 SmallArray(SmallStorage), CurArray(SmallStorage), CurArraySize(SmallSize) { in SmallPtrSetImpl()72 CurArray[SmallSize] = 0; in SmallPtrSetImpl()88 memset(CurArray, -1, CurArraySize*sizeof(void*)); in clear()127 bool isSmall() const { return CurArray == SmallArray; } in isSmall()277 return iterator(CurArray);280 return iterator(CurArray+CurArraySize);