Lines Matching refs:my_pool
48 void recycle() { rml::pool_reset(my_pool); } in recycle()
51 void *malloc(size_t size) { return rml::pool_malloc(my_pool, size); } in malloc()
54 void free(void* ptr) { rml::pool_free(my_pool, ptr); } in free()
59 return rml::pool_realloc(my_pool, ptr, size); in realloc()
64 void destroy() { rml::pool_destroy(my_pool); } in destroy()
66 rml::MemoryPool *my_pool; variable
81 pool_type *my_pool; variable
100 explicit memory_pool_allocator(pool_type &pool) throw() : my_pool(&pool) {} in memory_pool_allocator()
101 memory_pool_allocator(const memory_pool_allocator& src) throw() : my_pool(src.my_pool) {} in throw()
103 memory_pool_allocator(const memory_pool_allocator<U,P>& src) throw() : my_pool(src.my_pool) {} in memory_pool_allocator()
110 pointer p = static_cast<pointer>( my_pool->malloc( n*sizeof(value_type) ) );
117 my_pool->free(p); in deallocate()
152 explicit memory_pool_allocator( pool_type &pool) throw() : my_pool(&pool) {} in memory_pool_allocator()
153 memory_pool_allocator( const memory_pool_allocator& src) throw() : my_pool(src.my_pool) {} in throw()
155 memory_pool_allocator(const memory_pool_allocator<U,P>& src) throw() : my_pool(src.my_pool) {} in memory_pool_allocator()
158 pool_type *my_pool;
168 … memory_pool_allocator<T,P>& a, const memory_pool_allocator<U,P>& b) {return a.my_pool==b.my_pool;}
171 … memory_pool_allocator<T,P>& a, const memory_pool_allocator<U,P>& b) {return a.my_pool!=b.my_pool;}
206 rml::MemPoolError res = rml::pool_create_v1(intptr_t(this), &args, &my_pool); in memory_pool()
249 rml::MemPoolError res = rml::pool_create_v1(intptr_t(this), &args, &my_pool); in fixed_pool()