Lines Matching refs:_PyMem_Raw
214 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC; variable
218 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC; variable
381 if (pymemallocator_eq(&_PyMem_Raw, &malloc_alloc) && in _PyMem_GetCurrentAllocatorName()
388 if (pymemallocator_eq(&_PyMem_Raw, &malloc_alloc) && in _PyMem_GetCurrentAllocatorName()
400 if (pymemallocator_eq(&_PyMem_Raw, &dbg_raw) && in _PyMem_GetCurrentAllocatorName()
470 if (_PyMem_Raw.malloc == _PyMem_DebugRawMalloc) { in _PyMem_SetupDebugHooksDomain()
524 case PYMEM_DOMAIN_RAW: *allocator = _PyMem_Raw; break; in PyMem_GetAllocator()
542 case PYMEM_DOMAIN_RAW: _PyMem_Raw = *allocator; break; in PyMem_SetAllocator()
572 return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size); in PyMem_RawMalloc()
581 return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize); in PyMem_RawCalloc()
590 return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size); in PyMem_RawRealloc()
595 _PyMem_Raw.free(_PyMem_Raw.ctx, ptr); in PyMem_RawFree()