Searched refs:PYMEM_DOMAIN_MEM (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Objects/ |
D | obmalloc.c | 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() [all …]
|
/external/python/cpython3/Include/ |
D | pymem.h | 173 PYMEM_DOMAIN_MEM, enumerator
|
/external/python/cpython3/Modules/ |
D | _tracemalloc.c | 1114 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_start() 1115 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in tracemalloc_start() 1141 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_stop()
|
D | _testcapimodule.c | 3445 case PYMEM_DOMAIN_MEM: ptr = PyMem_Malloc(size); break; in test_setallocators() 3471 case PYMEM_DOMAIN_MEM: ptr2 = PyMem_Realloc(ptr, size2); break; in test_setallocators() 3490 case PYMEM_DOMAIN_MEM: PyMem_Free(ptr2); break; in test_setallocators() 3506 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; in test_setallocators() 3525 case PYMEM_DOMAIN_MEM: PyMem_Free(ptr); break; in test_setallocators() 3558 return test_setallocators(PYMEM_DOMAIN_MEM); in test_pymem_setallocators() 3645 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &FmHook.mem); in fm_setup_hooks() 3652 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in fm_setup_hooks() 3664 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &FmHook.mem); in fm_remove_hooks()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 400 .. c:var:: PYMEM_DOMAIN_MEM 454 :c:func:`PyObject_Malloc`) and :c:data:`PYMEM_DOMAIN_MEM` (ex: 472 :c:data:`PYMEM_DOMAIN_MEM` domains are called. 486 :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 725 for all domains (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, 728 :c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 654 :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called. 1825 (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc memory allocator 1878 :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a1.rst | 95 (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
|