Searched refs:CurArray (Results 1 – 8 of 8) sorted by relevance
/external/llvm/lib/Support/ |
D | SmallPtrSet.cpp | 25 free(CurArray); in shrink_and_clear() 33 CurArray = (const void**)malloc(sizeof(void*) * CurArraySize); in shrink_and_clear() 34 assert(CurArray && "Failed to allocate memory?"); in shrink_and_clear() 35 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear() 66 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp() 92 const void *const *Array = CurArray; in FindBucketFor() 118 const void **OldBuckets = CurArray; in Grow() 123 CurArray = (const void**)malloc(sizeof(void*) * NewSize); in Grow() 124 assert(CurArray && "Failed to allocate memory?"); in Grow() 126 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | SmallPtrSet.cpp | 26 free(CurArray); in shrink_and_clear() 34 CurArray = (const void**)malloc(sizeof(void*) * CurArraySize); in shrink_and_clear() 35 assert(CurArray && "Failed to allocate memory?"); in shrink_and_clear() 36 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear() 67 for (const void **APtr = CurArray, **E = CurArray + NumNonEmpty; APtr != E; in erase_imp() 93 const void *const *Array = CurArray; in FindBucketFor() 119 const void **OldBuckets = CurArray; in Grow() 124 CurArray = (const void**)malloc(sizeof(void*) * NewSize); in Grow() 125 assert(CurArray && "Failed to allocate memory?"); in Grow() 127 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | SmallPtrSet.cpp | 27 free(CurArray); in shrink_and_clear() 35 CurArray = (const void**)safe_malloc(sizeof(void*) * CurArraySize); in shrink_and_clear() 37 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear() 70 const void *const *Array = CurArray; in FindBucketFor() 96 const void **OldBuckets = CurArray; in Grow() 104 CurArray = NewBuckets; in Grow() 106 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow() 128 CurArray = SmallArray; in SmallPtrSetImplBase() 131 CurArray = (const void**)safe_malloc(sizeof(void*) * that.CurArraySize); in SmallPtrSetImplBase() 155 free(CurArray); in CopyFrom() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | SmallPtrSet.cpp | 23 free(CurArray); in shrink_and_clear() 30 CurArray = (const void**)malloc(sizeof(void*) * (CurArraySize+1)); in shrink_and_clear() 31 assert(CurArray && "Failed to allocate memory?"); in shrink_and_clear() 32 memset(CurArray, -1, CurArraySize*sizeof(void*)); in shrink_and_clear() 36 CurArray[CurArraySize] = 0; in shrink_and_clear() 107 const void *const *Array = CurArray; in FindBucketFor() 136 const void **OldBuckets = CurArray; in Grow() 140 CurArray = (const void**)malloc(sizeof(void*) * (NewSize+1)); in Grow() 141 assert(CurArray && "Failed to allocate memory?"); in Grow() 143 memset(CurArray, -1, NewSize*sizeof(void*)); in Grow() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | SmallPtrSet.h | 54 const void **CurArray; variable 67 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() 276 return iterator(CurArray); 279 return iterator(CurArray+CurArraySize);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | SmallPtrSet.h | 64 const void **CurArray; variable 82 : SmallArray(SmallStorage), CurArray(SmallStorage), in SmallPtrSetImplBase() 90 free(CurArray); in ~SmallPtrSetImplBase() 108 memset(CurArray, -1, CurArraySize * sizeof(void *)); in clear() 125 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer() 182 bool isSmall() const { return CurArray == SmallArray; } in isSmall() 389 return iterator(CurArray, EndPointer()); 394 return iterator(CurArray, CurArray);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | SmallPtrSet.h | 58 const void **CurArray; variable 76 : SmallArray(SmallStorage), CurArray(SmallStorage), in SmallPtrSetImplBase() 84 free(CurArray); in ~SmallPtrSetImplBase() 103 memset(CurArray, -1, CurArraySize * sizeof(void *)); in clear() 120 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer() 195 bool isSmall() const { return CurArray == SmallArray; } in isSmall() 400 return makeIterator(CurArray); 408 return iterator(P == EndPointer() ? CurArray : P + 1, CurArray, *this);
|
/external/llvm/include/llvm/ADT/ |
D | SmallPtrSet.h | 58 const void **CurArray; variable 75 : SmallArray(SmallStorage), CurArray(SmallStorage), in SmallPtrSetImplBase() 82 free(CurArray); in ~SmallPtrSetImplBase() 97 memset(CurArray, -1, CurArraySize * sizeof(void *)); in clear() 113 return isSmall() ? CurArray + NumNonEmpty : CurArray + CurArraySize; in EndPointer() 170 bool isSmall() const { return CurArray == SmallArray; } in isSmall() 340 return iterator(CurArray, EndPointer());
|