Home | History | Annotate | Download | only in base

Lines Matching refs:kind

12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30 // Not tracking allocations, ignore the supplied kind and arbitrarily provide kArenaAllocSTL.
31 explicit ArenaBitVectorAllocatorKindImpl(ArenaAllocKind kind ATTRIBUTE_UNUSED) {}
34 ArenaAllocKind Kind() { return kArenaAllocGrowableBitMap; }
40 explicit ArenaBitVectorAllocatorKindImpl(ArenaAllocKind kind) : kind_(kind) { }
43 ArenaAllocKind Kind() { return kind_; }
55 static ArenaBitVectorAllocator* Create(ArenaAlloc* arena, ArenaAllocKind kind) {
56 void* storage = arena->template Alloc<ArenaBitVectorAllocator>(kind);
57 return new (storage) ArenaBitVectorAllocator(arena, kind);
66 return arena_->Alloc(size, this->Kind());
72 ArenaBitVectorAllocator(ArenaAlloc* arena, ArenaAllocKind kind)
73 : ArenaBitVectorAllocatorKind(kind), arena_(arena) { }
83 ArenaAllocKind kind)
86 ArenaBitVectorAllocator<ArenaAllocator>::Create(arena, kind)) {
92 ArenaAllocKind kind)
95 ArenaBitVectorAllocator<ScopedArenaAllocator>::Create(arena, kind)) {