Searched refs:CurArray (Results 1 - 2 of 2) sorted by relevance

/external/llvm/lib/Support/
H A DSmallPtrSet.cpp25 free(CurArray);
32 CurArray = (const void**)malloc(sizeof(void*) * (CurArraySize+1));
33 assert(CurArray && "Failed to allocate memory?");
34 memset(CurArray, -1, CurArraySize*sizeof(void*));
38 CurArray[CurArraySize] = 0;
109 const void *const *Array = CurArray;
138 const void **OldBuckets = CurArray;
142 CurArray = (const void**)malloc(sizeof(void*) * (NewSize+1));
143 assert(CurArray && "Failed to allocate memory?");
145 memset(CurArray,
[all...]
/external/llvm/include/llvm/ADT/
H A DSmallPtrSet.h52 /// CurArray - This is the current set of buckets. If equal to SmallArray,
54 const void **CurArray; member in class:llvm::SmallPtrSetImpl
55 /// CurArraySize - The allocated size of CurArray, always a power of two.
56 /// Note that CurArray points to an array that has CurArraySize+1 elements in
67 SmallArray(SmallStorage), CurArray(SmallStorage), CurArraySize(SmallSize) {
72 CurArray[SmallSize] = 0;
88 memset(CurArray, -1, CurArraySize*sizeof(void*));
127 bool isSmall() const { return CurArray == SmallArray; }
277 return iterator(CurArray);
280 return iterator(CurArray
[all...]

Completed in 63 milliseconds