Lines Matching refs:PYMEM_DOMAIN_MEM
232 case PYMEM_DOMAIN_MEM: in pymem_set_default_allocator()
274 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_MEM, NULL); in _PyMem_SetupAllocators()
279 (void)pymem_set_default_allocator(PYMEM_DOMAIN_MEM, 1, NULL); in _PyMem_SetupAllocators()
288 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &pymalloc); in _PyMem_SetupAllocators()
299 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &malloc_alloc); in _PyMem_SetupAllocators()
430 else if (domain == PYMEM_DOMAIN_MEM) { in _PyMem_SetupDebugHooksDomain()
435 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &_PyMem_Debug.mem.alloc); in _PyMem_SetupDebugHooksDomain()
441 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in _PyMem_SetupDebugHooksDomain()
463 _PyMem_SetupDebugHooksDomain(PYMEM_DOMAIN_MEM); in PyMem_SetupDebugHooks()
473 case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break; in PyMem_GetAllocator()
491 case PYMEM_DOMAIN_MEM: _PyMem = *allocator; break; in PyMem_SetAllocator()