Lines Matching refs:allocator
82 // memory allocator. The "id" must be unique across all maps held by an
83 // allocator or they will get attached to the wrong sample map.
90 // The type-id used to identify sample records inside an allocator.
97 PersistentHistogramAllocator* allocator,
99 : HistogramSamples(id, meta), allocator_(allocator) {}
158 PersistentMemoryAllocator* allocator,
162 allocator->Allocate(sizeof(SampleRecord), kTypeIdSampleRecord);
164 allocator->GetAsObject<SampleRecord>(ref, kTypeIdSampleRecord);
167 NOTREACHED() << "full=" << allocator->IsFull()
168 << ", corrupt=" << allocator->IsCorrupt();
175 allocator->MakeIterable(ref);
216 // If a new record could not be created then the underlying allocator is
227 // above records to be created. The allocator, however, forces a strict