Lines Matching refs:PYMEM_DOMAIN_OBJ
242 case PYMEM_DOMAIN_OBJ: in pymem_set_default_allocator()
317 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_OBJ, NULL); in _PyMem_SetupAllocators()
323 (void)pymem_set_default_allocator(PYMEM_DOMAIN_OBJ, 1, NULL); in _PyMem_SetupAllocators()
335 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &pymalloc); in _PyMem_SetupAllocators()
350 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &malloc_alloc); in _PyMem_SetupAllocators()
495 else if (domain == PYMEM_DOMAIN_OBJ) { in _PyMem_SetupDebugHooksDomain()
500 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &_PyMem_Debug.obj.alloc); in _PyMem_SetupDebugHooksDomain()
506 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &alloc); in _PyMem_SetupDebugHooksDomain()
516 _PyMem_SetupDebugHooksDomain(PYMEM_DOMAIN_OBJ); in PyMem_SetupDebugHooks()
526 case PYMEM_DOMAIN_OBJ: *allocator = _PyObject; break; in PyMem_GetAllocator()
544 case PYMEM_DOMAIN_OBJ: _PyObject = *allocator; break; in PyMem_SetAllocator()