Lines Matching refs:PyMemAllocatorEx
194 PyMemAllocatorEx alloc;
214 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC;
215 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC;
216 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC;
218 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC;
219 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC;
220 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC;
226 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator()
233 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator()
237 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC; in pymem_set_default_allocator()
240 new_alloc = (PyMemAllocatorEx)PYMEM_ALLOC; in pymem_set_default_allocator()
243 new_alloc = (PyMemAllocatorEx)PYOBJ_ALLOC; in pymem_set_default_allocator()
259 PyMemAllocatorEx *old_alloc) in _PyMem_SetDefaultAllocator()
330 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC; in _PyMem_SetupAllocators()
333 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_SetupAllocators()
347 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC; in _PyMem_SetupAllocators()
367 pymemallocator_eq(PyMemAllocatorEx *a, PyMemAllocatorEx *b) in pymemallocator_eq()
369 return (memcmp(a, b, sizeof(PyMemAllocatorEx)) == 0); in pymemallocator_eq()
376 PyMemAllocatorEx malloc_alloc = MALLOC_ALLOC; in _PyMem_GetCurrentAllocatorName()
378 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_GetCurrentAllocatorName()
396 PyMemAllocatorEx dbg_raw = PYDBGRAW_ALLOC; in _PyMem_GetCurrentAllocatorName()
397 PyMemAllocatorEx dbg_mem = PYDBGMEM_ALLOC; in _PyMem_GetCurrentAllocatorName()
398 PyMemAllocatorEx dbg_obj = PYDBGOBJ_ALLOC; in _PyMem_GetCurrentAllocatorName()
467 PyMemAllocatorEx alloc; in _PyMem_SetupDebugHooksDomain()
520 PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator) in PyMem_GetAllocator()
538 PyMem_SetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator) in PyMem_SetAllocator()