Lines Matching refs:_PyMem_Debug
202 } _PyMem_Debug = {
209 {&_PyMem_Debug.raw, _PyMem_DebugRawMalloc, _PyMem_DebugRawCalloc, _PyMem_DebugRawRealloc, _PyMem_DebugRawFree}
211 {&_PyMem_Debug.mem, _PyMem_DebugMalloc, _PyMem_DebugCalloc, _PyMem_DebugRealloc, _PyMem_DebugFree}
213 {&_PyMem_Debug.obj, _PyMem_DebugMalloc, _PyMem_DebugCalloc, _PyMem_DebugRealloc, _PyMem_DebugFree}
407 if (pymemallocator_eq(&_PyMem_Debug.raw.alloc, &malloc_alloc) &&
408 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &malloc_alloc) &&
409 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &malloc_alloc))
414 if (pymemallocator_eq(&_PyMem_Debug.raw.alloc, &malloc_alloc) &&
415 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &pymalloc) &&
416 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &pymalloc))
457 return (_PyMem_Debug.obj.alloc.malloc == _PyObject_Malloc);
476 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &_PyMem_Debug.raw.alloc);
477 alloc.ctx = &_PyMem_Debug.raw;
489 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &_PyMem_Debug.mem.alloc);
490 alloc.ctx = &_PyMem_Debug.mem;
502 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &_PyMem_Debug.obj.alloc);
503 alloc.ctx = &_PyMem_Debug.obj;