Lines Matching defs:__ptr
82 void deallocate_bytes(void* __ptr, size_t __nbytes, size_t __alignment = alignof(max_align_t)) {
83 __res_->deallocate(__ptr, __nbytes, __alignment);
94 void deallocate_object(_Type* __ptr, size_t __n = 1) {
95 deallocate_bytes(__ptr, __n * sizeof(_Type), alignof(_Type));
100 _Type* __ptr = allocate_object<_Type>();
101 auto __guard = std::__make_exception_guard([&] { deallocate_object(__ptr); });
102 construct(__ptr, std::forward<_CtorArgs>(__ctor_args)...);
104 return __ptr;
108 void delete_object(_Type* __ptr) {
109 destroy(__ptr);
110 deallocate_object(__ptr);