Home
last modified time | relevance | path

Searched refs:alloc_ (Results 1 – 3 of 3) sorted by relevance

/external/fmtlib/test/
Dmock-allocator.h46 Allocator *alloc_;
51 explicit AllocatorRef(Allocator *alloc = 0) : alloc_(alloc) {} in alloc_() function
53 AllocatorRef(const AllocatorRef &other) : alloc_(other.alloc_) {} in AllocatorRef()
56 alloc_ = other.alloc_;
63 alloc_ = other.alloc_; in move()
64 other.alloc_ = 0; in move()
79 Allocator *get() const { return alloc_; } in get()
82 return alloc_->allocate(n, h); in allocate()
84 void deallocate(value_type *p, std::size_t n) { alloc_->deallocate(p, n); } in deallocate()
/external/protobuf/src/google/protobuf/
Dmap.h719 alloc_(alloc) { in InnerMap()
959 alloc_.construct(&node->kv, kv); in insert()
979 KeyAllocator(alloc_).construct(&node->kv.key(), k); in insert()
1218 typename Allocator::template rebind<Tree>::other tree_allocator(alloc_); in TreeConvert()
1225 Tree(KeyCompare(), KeyPtrAllocator(alloc_))); in TreeConvert()
1289 return alloc_type(alloc_).allocate(n); in Alloc()
1296 alloc_type(alloc_).deallocate(t, n); in Dealloc()
1300 alloc_.destroy(&node->kv); in DestroyNode()
1305 typename Allocator::template rebind<Tree>::other tree_allocator(alloc_); in DestroyTree()
1344 Allocator alloc_; variable
/external/bison/
Dmaint.mk540 _xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup)