Lines Matching refs:AllocatorDispatch
36 using allocator::AllocatorDispatch;
38 void* HookAlloc(const AllocatorDispatch* self, size_t size, void* context) { in HookAlloc()
39 const AllocatorDispatch* const next = self->next; in HookAlloc()
46 void* HookZeroInitAlloc(const AllocatorDispatch* self, in HookZeroInitAlloc()
50 const AllocatorDispatch* const next = self->next; in HookZeroInitAlloc()
57 void* HookAllocAligned(const AllocatorDispatch* self, in HookAllocAligned()
61 const AllocatorDispatch* const next = self->next; in HookAllocAligned()
68 void* HookRealloc(const AllocatorDispatch* self, in HookRealloc()
72 const AllocatorDispatch* const next = self->next; in HookRealloc()
80 void HookFree(const AllocatorDispatch* self, void* address, void* context) { in HookFree()
83 const AllocatorDispatch* const next = self->next; in HookFree()
87 size_t HookGetSizeEstimate(const AllocatorDispatch* self, in HookGetSizeEstimate()
90 const AllocatorDispatch* const next = self->next; in HookGetSizeEstimate()
94 unsigned HookBatchMalloc(const AllocatorDispatch* self, in HookBatchMalloc()
99 const AllocatorDispatch* const next = self->next; in HookBatchMalloc()
108 void HookBatchFree(const AllocatorDispatch* self, in HookBatchFree()
112 const AllocatorDispatch* const next = self->next; in HookBatchFree()
119 void HookFreeDefiniteSize(const AllocatorDispatch* self, in HookFreeDefiniteSize()
125 const AllocatorDispatch* const next = self->next; in HookFreeDefiniteSize()
129 AllocatorDispatch g_allocator_hooks = {