Home
last modified time | relevance | path

Searched refs:FreeList (Results 1 – 6 of 6) sorted by relevance

/external/llvm/include/llvm/Support/
DRecycler.h68 iplist<RecyclerStruct> FreeList;
75 assert(FreeList.empty() && "Non-empty recycler deleted!");
83 while (!FreeList.empty()) {
84 T *t = reinterpret_cast<T *>(FreeList.remove(FreeList.begin()));
95 return !FreeList.empty() ?
96 reinterpret_cast<SubClass *>(FreeList.remove(FreeList.begin())) :
107 FreeList.push_front(reinterpret_cast<RecyclerStruct *>(Element));
111 PrintRecyclerStats(Size, Align, FreeList.size());
/external/llvm/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp77 FreeRangeHeader *FreeBlock(FreeRangeHeader *FreeList);
82 FreeRangeHeader *TrimAllocationToSize(FreeRangeHeader *FreeList,
112 void AddToFreeList(FreeRangeHeader *FreeList) { in AddToFreeList()
113 Next = FreeList; in AddToFreeList()
114 Prev = FreeList->Prev; in AddToFreeList()
147 FreeRangeHeader *MemoryRangeHeader::FreeBlock(FreeRangeHeader *FreeList) { in FreeBlock() argument
152 FreeRangeHeader *FreeListToReturn = FreeList; in FreeBlock()
159 if (&FollowingFreeBlock == FreeList) { in FreeBlock()
160 FreeList = FollowingFreeBlock.Next; in FreeBlock()
162 assert(&FollowingFreeBlock != FreeList && "No tombstone block?"); in FreeBlock()
[all …]
/external/clang/include/clang/Basic/
DPartialDiagnostic.h80 Storage *FreeList[NumCached]; variable
92 Storage *Result = FreeList[--NumFreeListEntries]; in Allocate()
102 FreeList[NumFreeListEntries++] = S; in Deallocate()
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.cpp2233 typedef TCMalloc_ThreadCache_FreeList FreeList; typedef in WTF::TCMalloc_ThreadCache
2243 FreeList list_[kNumClasses]; // Array indexed by size-class
2891 FreeList* list = &list_[cl]; in Allocate()
2903 FreeList* list = &list_[cl]; in Deallocate()
2924 FreeList* src = &list_[cl]; in ReleaseToCentralCache()
2953 FreeList* list = &list_[cl]; in Scavenge()
/external/clang/lib/Basic/
DDiagnostic.cpp749 FreeList[I] = Cached + I; in StorageAllocator()
/external/valgrind/tsan/
Dthread_sanitizer.cc417 class FreeList { class
419 FreeList(int obj_size, int chunk_size) in FreeList() function in FreeList
483 free_lists_ = new FreeList *[n]; in StackTraceFreeList()
486 free_lists_[i] = new FreeList((i+2) * sizeof(uintptr_t), 1024); in StackTraceFreeList()
491 FreeList **free_lists_; // Array of G_flags->num_callers lists.
1393 free_lists_ = new FreeList *[kNumberOfFreeLists+1]; in InitClassMembers()
1396 free_lists_[i] = new FreeList(MemoryRequiredForOneVts(i), in InitClassMembers()
1435 static FreeList **free_lists_; // Array of kNumberOfFreeLists elements.
1440 FreeList **VTS::free_lists_;
3163 free_list_ = new FreeList(sizeof(CacheLine), 1024); in InitClassMembers()
[all …]