Lines Matching refs:mem
45 typedef void (*CleanupFunc)(void *mem, void *data);
144 void *mem;
147 mem = Core::malloc(size);
149 mem = Core::malloc_atomic(size);
153 mem = Core::malloc_uncollectable(size);
155 mem = Core::malloc_atomic_uncollectable(size);
158 if (!mem) {
162 Core::register_finalizer_ignore_self(mem, cleanup, data, NULL, NULL);
164 return mem;
195 inline void operator delete(void *mem, Inkscape::GC::Delete) {
196 Inkscape::GC::Core::free(mem);
199 inline void operator delete[](void *mem, Inkscape::GC::Delete) {
200 operator delete(mem, Inkscape::GC::GC);