Home
last modified time | relevance | path

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

/external/v8/src/zone/
Dzone-allocator.h92 : ZoneAllocator(nullptr, nullptr), free_list_(nullptr) { in RecyclingZoneAllocator()
97 : ZoneAllocator<T>(zone), free_list_(nullptr) {} in RecyclingZoneAllocator()
99 : ZoneAllocator<T>(other), free_list_(nullptr) {} in RecyclingZoneAllocator()
102 : ZoneAllocator<T>(other), free_list_(nullptr) {} in RecyclingZoneAllocator()
109 if (free_list_ && free_list_->size >= n) {
110 T* return_val = reinterpret_cast<T*>(free_list_);
111 free_list_ = free_list_->next;
123 if (!free_list_ || free_list_->size <= n) { in deallocate()
129 new_free_block->next = free_list_; in deallocate()
130 free_list_ = new_free_block; in deallocate()
[all …]
/external/webrtc/webrtc/base/
Dbufferqueue.cc25 for (Buffer* buffer : free_list_) { in ~BufferQueue()
50 free_list_.push_back(packet); in ReadFront()
66 if (!free_list_.empty()) { in WriteBack()
67 packet = free_list_.back(); in WriteBack()
68 free_list_.pop_back(); in WriteBack()
Dbufferqueue.h50 std::vector<Buffer*> free_list_ GUARDED_BY(crit_);
/external/v8/src/heap/
Dspaces.cc105 free_list_(0), in CodeRange()
193 free_list_.insert(free_list_.end(), allocation_list_.begin(), in GetNextAllocationBlock()
196 std::sort(free_list_.begin(), free_list_.end(), &CompareFreeBlockAddress); in GetNextAllocationBlock()
197 for (size_t i = 0; i < free_list_.size();) { in GetNextAllocationBlock()
198 FreeBlock merged = free_list_[i]; in GetNextAllocationBlock()
201 while (i < free_list_.size() && in GetNextAllocationBlock()
202 free_list_[i].start == merged.start + merged.size) { in GetNextAllocationBlock()
203 merged.size += free_list_[i].size; in GetNextAllocationBlock()
210 free_list_.clear(); in GetNextAllocationBlock()
251 free_list_.emplace_back(address, length); in FreeRawMemory()
[all …]
Dspaces.h161 : free_list_(free_list), in FreeListCategory()
204 void set_free_list(FreeList* free_list) { free_list_ = free_list; } in set_free_list()
224 FreeList* free_list_; variable
1154 std::vector<FreeBlock> free_list_; variable
2144 free_list_.ResetStats(); in NON_EXPORTED_BASE()
2152 size_t Available() override { return free_list_.Available(); } in NON_EXPORTED_BASE()
2166 virtual size_t Waste() { return free_list_.wasted_bytes(); } in NON_EXPORTED_BASE()
2202 size_t wasted = free_list_.Free(start, size_in_bytes, kLinkCategory); in NON_EXPORTED_BASE()
2210 size_t wasted = free_list_.Free(start, size_in_bytes, kDoNotLinkCategory); in NON_EXPORTED_BASE()
2295 FreeList* free_list() { return &free_list_; } in NON_EXPORTED_BASE()
[all …]
Dspaces-inl.h164 category->set_free_list(&free_list_); in RelinkFreeListCategories()
260 FreeList* FreeListCategory::owner() { return free_list_; } in owner()