21 class CLASS_DECL_ACME memory :
27 friend class ::c::malloc;
43 virtual void initialize_memory(::heap::heap * pheap);
46 virtual void start_memory();
51 virtual void * aligned_allocate(memsize size, memsize * psizeAllocated, memsize align = 0, const_char_pointer pszAnnotation =
nullptr);
52 virtual void * aligned_allocate_debug(memsize nSize, memsize * psizeAllocated, ::i32 nBlockUse, const_char_pointer szFileName, ::i32 nLine, memsize align = 0, const_char_pointer pszAnnotation =
nullptr);
57 virtual void * unaligned_allocate(memsize size, memsize * psizeAllocated, const_char_pointer pszAnnotation =
nullptr);
58 virtual void * unaligned_allocate_debug(memsize nSize, memsize * psizeAllocated, ::i32 nBlockUse, const_char_pointer szFileName, ::i32 nLine, const_char_pointer pszAnnotation =
nullptr);
60 virtual void * count_allocate(::collection::count count, memsize size, const_char_pointer pszAnnotation =
nullptr);
65#if !defined(MCHECK) && !defined(__VLD) && !defined(__MCRTDBG)
68 void * allocate(memsize size, memsize * psizeActuallyAllocated, const_char_pointer pszAnnotation =
nullptr)
override;
69 void * reallocate(
void * p, memsize nSize, const_char_pointer pszAnnotation =
nullptr)
override;
70 void free(
void * p)
override;
71 bool has_size()
const override;
72 memsize size(
void * p)
override;
78 virtual void * allocate_debug(memsize nSize, ::i32 nBlockUse, const_char_pointer szFileName, ::i32 nLine, const_char_pointer pszAnnotation =
nullptr);
79 virtual void * reallocate_debug(
void * p, memsize nSize, ::i32 nBlockUse, const_char_pointer szFileName, ::i32 nLine, const_char_pointer pszAnnotation =
nullptr);
80 virtual void free_debug(
void * p, ::i32 iBlockType);
81 virtual memsize size_debug(
void * p, ::i32 iBlockType);