Searched refs:_PyMem (Results 1 – 1 of 1) sorted by relevance
208 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC; variable212 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC; variable330 pymemallocator_eq(&_PyMem, &malloc_alloc) && in _PyMem_GetAllocatorsName()337 pymemallocator_eq(&_PyMem, &pymalloc) && in _PyMem_GetAllocatorsName()349 pymemallocator_eq(&_PyMem, &dbg_mem) && in _PyMem_GetAllocatorsName()431 if (_PyMem.malloc == _PyMem_DebugMalloc) { in _PyMem_SetupDebugHooksDomain()473 case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break; in PyMem_GetAllocator()491 case PYMEM_DOMAIN_MEM: _PyMem = *allocator; break; in PyMem_SetAllocator()553 return _PyMem.malloc(_PyMem.ctx, size); in PyMem_Malloc()562 return _PyMem.calloc(_PyMem.ctx, nelem, elsize); in PyMem_Calloc()[all …]