Lines Matching refs:PyMemAllocatorEx
196 PyMemAllocatorEx alloc;
216 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC;
217 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC;
218 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC;
220 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC;
221 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC;
222 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC;
228 PyMemAllocatorEx *old_alloc)
235 PyMemAllocatorEx new_alloc;
239 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC;
242 new_alloc = (PyMemAllocatorEx)PYMEM_ALLOC;
245 new_alloc = (PyMemAllocatorEx)PYOBJ_ALLOC;
261 PyMemAllocatorEx *old_alloc)
332 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC;
335 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC;
349 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC;
369 pymemallocator_eq(PyMemAllocatorEx *a, PyMemAllocatorEx *b)
371 return (memcmp(a, b, sizeof(PyMemAllocatorEx)) == 0);
378 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC;
380 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC;
398 PyMemAllocatorEx dbg_raw = PYDBGRAW_ALLOC;
399 PyMemAllocatorEx dbg_mem = PYDBGMEM_ALLOC;
400 PyMemAllocatorEx dbg_obj = PYDBGOBJ_ALLOC;
469 PyMemAllocatorEx alloc;
522 PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
540 PyMem_SetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)