Home
last modified time | relevance | path

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

/external/v8/src/heap/cppgc/
Dfree-list.h17 class V8_EXPORT_PRIVATE FreeList {
24 FreeList();
26 FreeList(const FreeList&) = delete;
27 FreeList& operator=(const FreeList&) = delete;
29 FreeList(FreeList&& freelist) V8_NOEXCEPT;
30 FreeList& operator=(FreeList&& freelist) V8_NOEXCEPT;
39 void Append(FreeList&&);
Dfree-list.cc25 class FreeList::Entry : public HeapObjectHeader {
47 FreeList::FreeList() { Clear(); } in FreeList() function in cppgc::internal::FreeList
49 FreeList::FreeList(FreeList&& other) V8_NOEXCEPT in FreeList() function in cppgc::internal::FreeList
56 FreeList& FreeList::operator=(FreeList&& other) V8_NOEXCEPT { in operator =()
63 void FreeList::Add(FreeList::Block block) { in Add()
91 void FreeList::Append(FreeList&& other) { in Append()
119 FreeList::Block FreeList::Allocate(size_t allocation_size) { in Allocate()
151 void FreeList::Clear() { in Clear()
157 size_t FreeList::Size() const { in Size()
168 bool FreeList::IsEmpty() const { in IsEmpty()
[all …]
Dheap-space.h106 FreeList& free_list() { return free_list_; } in free_list()
107 const FreeList& free_list() const { return free_list_; } in free_list()
111 FreeList free_list_;
Dsweeper.cc103 FreeList cached_free_list;
104 std::vector<FreeList::Block> unfinalized_free_list;
290 FreeList& space_freelist = in FinalizePage()
Dobject-allocator.cc160 const FreeList::Block entry = space->free_list().Allocate(size); in AllocateFromFreeList()
/external/llvm/include/llvm/Support/
DRecycler.h42 FreeNode *FreeList = nullptr; variable
45 auto *Val = FreeList; in pop_val()
46 FreeList = FreeList->Next; in pop_val()
51 N->Next = FreeList; in push()
52 FreeList = N; in push()
60 assert(!FreeList && "Non-empty recycler deleted!"); in ~Recycler()
68 while (FreeList) { in clear()
79 void clear(BumpPtrAllocator &) { FreeList = nullptr; } in clear()
87 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate()
107 for (auto *I = FreeList; I; I = I->Next) in PrintStats()
DArrayRecycler.h33 struct FreeList { struct
34 FreeList *Next; argument
37 static_assert(Align >= AlignOf<FreeList>::Alignment, "Object underaligned");
38 static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small");
41 SmallVector<FreeList*, 8> Bucket;
48 FreeList *Entry = Bucket[Idx]; in pop()
58 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DRecycler.h41 FreeNode *FreeList = nullptr; variable
44 auto *Val = FreeList; in pop_val()
46 FreeList = FreeList->Next; in pop_val()
52 N->Next = FreeList; in push()
53 FreeList = N; in push()
62 assert(!FreeList && "Non-empty recycler deleted!"); in ~Recycler()
70 while (FreeList) { in clear()
81 void clear(BumpPtrAllocator &) { FreeList = nullptr; } in clear()
89 return FreeList ? reinterpret_cast<SubClass *>(pop_val()) in Allocate()
109 for (auto *I = FreeList; I; I = I->Next) in PrintStats()
DArrayRecycler.h32 struct FreeList { struct
33 FreeList *Next; argument
36 static_assert(Align >= alignof(FreeList), "Object underaligned");
37 static_assert(sizeof(T) >= sizeof(FreeList), "Objects are too small");
40 SmallVector<FreeList*, 8> Bucket;
47 FreeList *Entry = Bucket[Idx]; in pop()
59 FreeList *Entry = reinterpret_cast<FreeList*>(Ptr); in push()
/external/v8/src/heap/
Dfree-list.cc20 void FreeListCategory::Reset(FreeList* owner) { in Reset()
75 FreeList* owner) { in Free()
103 void FreeListCategory::Relink(FreeList* owner) { in Relink()
111 FreeList* FreeList::CreateFreeList() { return new FreeListManyCachedOrigin(); } in CreateFreeList()
113 FreeSpace FreeList::TryFindNodeIn(FreeListCategoryType type, in TryFindNodeIn()
128 FreeSpace FreeList::SearchForNodeInList(FreeListCategoryType type, in SearchForNodeInList()
148 size_t FreeList::Free(Address start, size_t size_in_bytes, FreeMode mode) { in Free()
245 bool was_added = FreeList::AddCategory(category); in AddCategory()
260 FreeList::RemoveCategory(category); in RemoveCategory()
423 void FreeList::Reset() { in Reset()
[all …]
Dfree-list.h25 class FreeList; variable
53 void Reset(FreeList* owner);
59 void Relink(FreeList* owner);
62 FreeList* owner);
73 inline bool is_linked(FreeList* owner) const;
109 friend class FreeList; variable
122 class FreeList {
125 V8_EXPORT_PRIVATE static FreeList* CreateFreeList();
127 virtual ~FreeList() = default;
206 FreeListCategoryIterator(FreeList* free_list, FreeListCategoryType type) in FreeListCategoryIterator()
[all …]
Dfree-list-inl.h14 bool FreeListCategory::is_linked(FreeList* owner) const { in is_linked()
23 Page* FreeList::GetPageForCategoryType(FreeListCategoryType type) { in GetPageForCategoryType()
Dspaces.h36 class FreeList; variable
114 Space(Heap* heap, AllocationSpace id, FreeList* free_list) in Space()
116 free_list_(std::unique_ptr<FreeList>(free_list)) { in Space()
179 FreeList* free_list() { return free_list_.get(); } in free_list()
196 std::unique_ptr<FreeList> free_list_;
483 SpaceWithLinearArea(Heap* heap, AllocationSpace id, FreeList* free_list) in SpaceWithLinearArea()
Dpaged-spaces.h75 FreeList* free_list, in NON_EXPORTED_BASE()
418 : PagedSpace(heap, id, executable, FreeList::CreateFreeList(), in LocalSpace()
486 FreeList::CreateFreeList()) {} in OldSpace()
508 : PagedSpace(heap, CODE_SPACE, EXECUTABLE, FreeList::CreateFreeList()) {} in CodeSpace()
519 FreeList::CreateFreeList()) {} in MapSpace()
Dpaged-spaces.cc83 Executability executable, FreeList* free_list, in PagedSpace()
/external/scudo/standalone/tests/
Drelease_test.cpp177 scudo::SinglyLinkedList<Batch> FreeList; in testReleaseFreeMemoryToOS() local
178 FreeList.clear(); in testReleaseFreeMemoryToOS()
184 FreeList.push_back(CurrentBatch); in testReleaseFreeMemoryToOS()
194 releaseFreeMemoryToOS(FreeList, 0, MaxBlocks * BlockSize, 1U, BlockSize, in testReleaseFreeMemoryToOS()
255 while (!FreeList.empty()) { in testReleaseFreeMemoryToOS()
256 CurrentBatch = FreeList.front(); in testReleaseFreeMemoryToOS()
257 FreeList.pop_front(); in testReleaseFreeMemoryToOS()
/external/scudo/standalone/
Dprimary64.h112 TransferBatch *B = Region->FreeList.front(); in popBatch()
114 Region->FreeList.pop_front(); in popBatch()
129 Region->FreeList.push_front(B); in pushBatch()
239 SinglyLinkedList<TransferBatch> FreeList; in ALIGNED() local
276 Region->FreeList.push_back(B); in populateBatches()
356 if (!Region->FreeList.empty()) { in populateFreeList()
357 Region->FreeList.push_back(B); in populateFreeList()
358 B = Region->FreeList.front(); in populateFreeList()
359 Region->FreeList.pop_front(); in populateFreeList()
430 releaseFreeMemoryToOS(Region->FreeList, Region->RegionBeg,
Dprimary32.h110 TransferBatch *B = Sci->FreeList.front(); in popBatch()
112 Sci->FreeList.pop_front(); in popBatch()
128 Sci->FreeList.push_front(B); in pushBatch()
233 SinglyLinkedList<TransferBatch> FreeList; in ALIGNED() local
309 Sci->FreeList.push_back(B); in populateBatches()
384 if (!Sci->FreeList.empty()) { in populateFreeList()
385 Sci->FreeList.push_back(B); in populateFreeList()
386 B = Sci->FreeList.front(); in populateFreeList()
387 Sci->FreeList.pop_front(); in populateFreeList()
484 releaseFreeMemoryToOS(Sci->FreeList, Base, RegionSize, NumberOfRegions,
Drelease.h185 releaseFreeMemoryToOS(const IntrusiveList<TransferBatchT> &FreeList, uptr Base, in releaseFreeMemoryToOS() argument
237 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
256 for (const auto &It : FreeList) { in releaseFreeMemoryToOS()
/external/lzma/C/
DPpmd7.c124 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode()
125 p->FreeList[indx] = REF(node); in InsertNode()
130 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode()
131 p->FreeList[indx] = *node; in RemoveNode()
165 CPpmd7_Node_Ref next = (CPpmd7_Node_Ref)p->FreeList[i]; in GlueFreeBlocks()
166 p->FreeList[i] = 0; in GlueFreeBlocks()
226 if (p->FreeList[indx] != 0) in AllocUnitsRare()
239 while (p->FreeList[i] == 0); in AllocUnitsRare()
248 if (p->FreeList[indx] != 0) in AllocUnits()
270 if (p->FreeList[i1] != 0) in ShrinkUnits()
[all …]
DPpmd7.h56 CPpmd_Void_Ref FreeList[PPMD_NUM_INDEXES]; member
/external/clang/include/clang/Basic/
DPartialDiagnostic.h81 Storage *FreeList[NumCached]; variable
93 Storage *Result = FreeList[--NumFreeListEntries]; in Allocate()
103 FreeList[NumFreeListEntries++] = S; in Deallocate()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dpr15031.ll269 …Recycler<llvm::MachineOperand, 8>::FreeList" = type { %"struct.llvm::ArrayRecycler<llvm::MachineOp…
/external/llvm/test/CodeGen/PowerPC/
Dpr15031.ll269 …Recycler<llvm::MachineOperand, 8>::FreeList" = type { %"struct.llvm::ArrayRecycler<llvm::MachineOp…
/external/clang/lib/Basic/
DDiagnostic.cpp1004 FreeList[I] = Cached + I; in StorageAllocator()