Lines Matching defs:upstream
152 void unsynchronized_pool_resource::__adhoc_pool::__release_ptr(memory_resource* upstream) {
155 upstream->deallocate(__first_->__start_, __first_->__allocation_size(), __first_->__align_);
160 void* unsynchronized_pool_resource::__adhoc_pool::__do_allocate(memory_resource* upstream, size_t bytes, size_t align) {
169 void* result = upstream->allocate(aligned_capacity, align);
180 memory_resource* upstream, void* p, size_t bytes, size_t align) {
184 upstream->deallocate(p, __first_->__allocation_size(), __first_->__align_);
190 upstream->deallocate(p, h->__next_->__allocation_size(), h->__next_->__align_);
218 void __release_ptr(memory_resource* upstream) {
222 upstream->deallocate(__first_chunk_->__start_, __first_chunk_->__allocation_size(), __first_chunk_->__align_);
236 void* __allocate_in_new_chunk(memory_resource* upstream, size_t block_size, size_t chunk_size) {
247 void* result = upstream->allocate(aligned_capacity, __default_alignment);
298 unsynchronized_pool_resource::unsynchronized_pool_resource(const pool_options& opts, memory_resource* upstream)
299 : __res_(upstream), __fixed_pools_(nullptr) {