Home
last modified time | relevance | path

Searched refs:Slab (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/common/
DSlabAllocator.cpp33 SlabAllocatorImpl::Slab::Slab(char allocation[], IndexLinkNode* head) in Slab() function in SlabAllocatorImpl::Slab
37 SlabAllocatorImpl::Slab::Slab(Slab&& rhs) = default;
39 SlabAllocatorImpl::SentinelSlab::SentinelSlab() : Slab(nullptr, nullptr) { in SentinelSlab()
45 Slab* slab = this->next; in ~SentinelSlab()
47 Slab* next = slab->next; in ~SentinelSlab()
63 : mAllocationAlignment(std::max(static_cast<uint32_t>(alignof(Slab)), objectAlignment)), in SlabAllocatorImpl()
64 mSlabBlocksOffset(Align(sizeof(Slab), objectAlignment)), in SlabAllocatorImpl()
107 bool SlabAllocatorImpl::IsNodeInSlab(Slab* slab, IndexLinkNode* node) const { in IsNodeInSlab()
114 void SlabAllocatorImpl::PushFront(Slab* slab, IndexLinkNode* node) const { in PushFront()
130 SlabAllocatorImpl::IndexLinkNode* SlabAllocatorImpl::PopFront(Slab* slab) const { in PopFront()
[all …]
DSlabAllocator.h75 struct Slab : PlacementAllocated { struct
80 Slab(char allocation[], IndexLinkNode* head);
81 Slab(Slab&& rhs);
87 Slab* prev; argument
88 Slab* next; argument
114 bool IsNodeInSlab(Slab* slab, IndexLinkNode* node) const;
118 void PushFront(Slab* slab, IndexLinkNode* node) const;
119 IndexLinkNode* PopFront(Slab* slab) const;
149 struct SentinelSlab : Slab {
155 void Prepend(Slab* slab);
/third_party/gn/src/gn/
Dstring_atom.cc133 slabs_.push_back(new Slab()); in find()
161 class Slab { class in __anond912aadb0111::StringAtomSet
177 std::vector<Slab*> slabs_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp53 sys::MemoryBlock Slab(SlabStart, SlabSize); in allocate() local
54 if (auto EC = sys::Memory::releaseMappedMemory(Slab)) in allocate()
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md1450 * core: add reusable Slab allocator (Ben Noordhuis)