Lines Matching refs:_PyMem_Debug
200 } _PyMem_Debug = { variable
207 …{&_PyMem_Debug.raw, _PyMem_DebugRawMalloc, _PyMem_DebugRawCalloc, _PyMem_DebugRawRealloc, _PyMem_D…
209 … {&_PyMem_Debug.mem, _PyMem_DebugMalloc, _PyMem_DebugCalloc, _PyMem_DebugRealloc, _PyMem_DebugFree}
211 … {&_PyMem_Debug.obj, _PyMem_DebugMalloc, _PyMem_DebugCalloc, _PyMem_DebugRealloc, _PyMem_DebugFree}
405 if (pymemallocator_eq(&_PyMem_Debug.raw.alloc, &malloc_alloc) && in _PyMem_GetCurrentAllocatorName()
406 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &malloc_alloc) && in _PyMem_GetCurrentAllocatorName()
407 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &malloc_alloc)) in _PyMem_GetCurrentAllocatorName()
412 if (pymemallocator_eq(&_PyMem_Debug.raw.alloc, &malloc_alloc) && in _PyMem_GetCurrentAllocatorName()
413 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &pymalloc) && in _PyMem_GetCurrentAllocatorName()
414 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &pymalloc)) in _PyMem_GetCurrentAllocatorName()
455 return (_PyMem_Debug.obj.alloc.malloc == _PyObject_Malloc); in _PyMem_PymallocEnabled()
474 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &_PyMem_Debug.raw.alloc); in _PyMem_SetupDebugHooksDomain()
475 alloc.ctx = &_PyMem_Debug.raw; in _PyMem_SetupDebugHooksDomain()
487 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &_PyMem_Debug.mem.alloc); in _PyMem_SetupDebugHooksDomain()
488 alloc.ctx = &_PyMem_Debug.mem; in _PyMem_SetupDebugHooksDomain()
500 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &_PyMem_Debug.obj.alloc); in _PyMem_SetupDebugHooksDomain()
501 alloc.ctx = &_PyMem_Debug.obj; in _PyMem_SetupDebugHooksDomain()