Searched refs:PYMEM_DOMAIN_MEM (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Include/cpython/ |
D | pymem.h | 28 PYMEM_DOMAIN_MEM, enumerator
|
/third_party/python/Objects/ |
D | obmalloc.c | 239 case PYMEM_DOMAIN_MEM: in pymem_set_default_allocator() 316 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_MEM, NULL); in _PyMem_SetupAllocators() 322 (void)pymem_set_default_allocator(PYMEM_DOMAIN_MEM, 1, NULL); in _PyMem_SetupAllocators() 334 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &pymalloc); in _PyMem_SetupAllocators() 349 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &malloc_alloc); in _PyMem_SetupAllocators() 482 else if (domain == PYMEM_DOMAIN_MEM) { in _PyMem_SetupDebugHooksDomain() 487 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &_PyMem_Debug.mem.alloc); in _PyMem_SetupDebugHooksDomain() 493 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in _PyMem_SetupDebugHooksDomain() 515 _PyMem_SetupDebugHooksDomain(PYMEM_DOMAIN_MEM); in PyMem_SetupDebugHooks() 525 case PYMEM_DOMAIN_MEM: *allocator = _PyMem; break; in PyMem_GetAllocator() [all …]
|
/third_party/python/Modules/ |
D | _tracemalloc.c | 1004 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_start() 1005 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in tracemalloc_start() 1031 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_stop()
|
D | _testcapimodule.c | 4033 case PYMEM_DOMAIN_MEM: ptr = PyMem_Malloc(size); break; in test_setallocators() 4059 case PYMEM_DOMAIN_MEM: ptr2 = PyMem_Realloc(ptr, size2); break; in test_setallocators() 4078 case PYMEM_DOMAIN_MEM: PyMem_Free(ptr2); break; in test_setallocators() 4094 case PYMEM_DOMAIN_MEM: ptr = PyMem_Calloc(nelem, elsize); break; in test_setallocators() 4113 case PYMEM_DOMAIN_MEM: PyMem_Free(ptr); break; in test_setallocators() 4146 return test_setallocators(PYMEM_DOMAIN_MEM); in test_pymem_setallocators() 4233 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &FmHook.mem); in fm_setup_hooks() 4240 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &alloc); in fm_setup_hooks() 4252 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &FmHook.mem); in fm_remove_hooks()
|
/third_party/python/Doc/c-api/ |
D | memory.rst | 441 .. c:macro:: PYMEM_DOMAIN_MEM 517 :c:func:`PyObject_Malloc`) and :c:data:`PYMEM_DOMAIN_MEM` (ex: 538 * ``'m'`` for :c:data:`PYMEM_DOMAIN_MEM`. 581 :c:data:`PYMEM_DOMAIN_OBJ` and :c:data:`PYMEM_DOMAIN_MEM` domains are 602 :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and
|
/third_party/python/Doc/using/ |
D | cmdline.rst | 796 for all domains (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, 799 :c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use
|
/third_party/python/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.
|
/third_party/python/Misc/NEWS.d/ |
D | 3.6.0a1.rst | 95 (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
|