Searched refs:PYMEM_DOMAIN_OBJ (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Objects/ |
D | obmalloc.c | 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() [all …]
|
/external/python/cpython3/Include/cpython/ |
D | pymem.h | 37 PYMEM_DOMAIN_OBJ enumerator
|
/external/python/cpython3/Modules/ |
D | _tracemalloc.c | 1008 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_start() 1009 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &alloc); in tracemalloc_start() 1032 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_stop()
|
D | _testcapimodule.c | 3867 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Malloc(size); break; in test_setallocators() 3893 case PYMEM_DOMAIN_OBJ: ptr2 = PyObject_Realloc(ptr, size2); break; in test_setallocators() 3912 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr2); break; in test_setallocators() 3928 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Calloc(nelem, elsize); break; in test_setallocators() 3947 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr); break; in test_setallocators() 3985 return test_setallocators(PYMEM_DOMAIN_OBJ); in test_pyobject_setallocators() 4067 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &FmHook.obj); in fm_setup_hooks() 4076 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &alloc); in fm_setup_hooks() 4086 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &FmHook.obj); in fm_remove_hooks()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 409 .. c:macro:: PYMEM_DOMAIN_OBJ 454 allocator functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: 472 if the GIL is held when functions of :c:data:`PYMEM_DOMAIN_OBJ` and 494 :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains.
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 780 :c:data:`PYMEM_DOMAIN_OBJ`). 782 :c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 653 functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and 1877 functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and
|