Lines Matching refs:_PyObject
216 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC; variable
220 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC; variable
383 pymemallocator_eq(&_PyObject, &malloc_alloc)) in _PyMem_GetCurrentAllocatorName()
390 pymemallocator_eq(&_PyObject, &pymalloc)) in _PyMem_GetCurrentAllocatorName()
402 pymemallocator_eq(&_PyObject, &dbg_obj)) in _PyMem_GetCurrentAllocatorName()
448 return (_PyObject.malloc == _PyMem_DebugMalloc); in _PyMem_DebugEnabled()
458 return (_PyObject.malloc == _PyObject_Malloc); in _PyMem_PymallocEnabled()
496 if (_PyObject.malloc == _PyMem_DebugMalloc) { in _PyMem_SetupDebugHooksDomain()
526 case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break; in PyMem_GetAllocator()
544 case PYMEM_DOMAIN_OBJ: _PyObject = *allocator; break; in PyMem_SetAllocator()
685 return _PyObject.malloc(_PyObject.ctx, size); in PyObject_Malloc()
694 return _PyObject.calloc(_PyObject.ctx, nelem, elsize); in PyObject_Calloc()
703 return _PyObject.realloc(_PyObject.ctx, ptr, new_size); in PyObject_Realloc()
709 _PyObject.free(_PyObject.ctx, ptr); in PyObject_Free()