Lines Matching refs:ptr
73 pointer allocate(size_type n, [[maybe_unused]] const void *ptr = nullptr)
109 void *ptr = malloc(size);
110 if (ptr == nullptr) {
114 return ptr;
126 void Finalize(S *ptr)
128 ASSERT(ptr != nullptr);
131 ptr->~S();
133 Free(ptr);
141 void Delete(T *ptr)
143 if (ptr == nullptr) {
148 ptr->~T();
150 Free(ptr);