Home
last modified time | relevance | path

Searched refs:memory_allocator_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_histogram_allocator.cc261 : memory_allocator_(std::move(memory)), in PersistentHistogramAllocator()
262 sparse_histogram_data_manager_(memory_allocator_.get()) {} in PersistentHistogramAllocator()
274 memory_allocator_->GetAsObject<PersistentHistogramData>( in GetHistogram()
276 size_t length = memory_allocator_->GetAllocSize(ref); in GetHistogram()
298 if (memory_allocator_->IsCorrupt()) { in AllocateHistogram()
307 memory_allocator_->Allocate( in AllocateHistogram()
311 memory_allocator_->GetAsObject<PersistentHistogramData>(histogram_ref, in AllocateHistogram()
331 memory_allocator_->Allocate(counts_bytes, kTypeIdCountsArray); in AllocateHistogram()
333 memory_allocator_->Allocate(ranges_bytes, kTypeIdRangesArray); in AllocateHistogram()
335 memory_allocator_->GetAsObject<HistogramBase::Sample>( in AllocateHistogram()
[all …]
Dpersistent_histogram_allocator.h217 return memory_allocator_.get(); in memory_allocator()
222 uint64_t Id() const { return memory_allocator_->Id(); } in Id()
223 const char* Name() const { return memory_allocator_->Name(); } in Name()
224 const void* data() const { return memory_allocator_->data(); } in data()
225 size_t length() const { return memory_allocator_->length(); } in length()
226 size_t size() const { return memory_allocator_->size(); } in size()
227 size_t used() const { return memory_allocator_->used(); } in used()
359 std::unique_ptr<PersistentMemoryAllocator> memory_allocator_; variable
/external/v8/src/heap/
Dheap.h1039 MemoryAllocator* memory_allocator() { return memory_allocator_; } in memory_allocator()
2288 MemoryAllocator* memory_allocator_; variable
Dheap.cc135 memory_allocator_(nullptr), in Heap()
5502 memory_allocator_ = new MemoryAllocator(isolate_); in SetUp()
5503 if (!memory_allocator_->SetUp(MaxReserved(), MaxExecutableSize(), in SetUp()
5768 delete memory_allocator_; in TearDown()
5769 memory_allocator_ = nullptr; in TearDown()