Searched refs:PYMEM_DOMAIN_OBJ (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
D | pymem.h | 31 PYMEM_DOMAIN_OBJ enumerator
|
/third_party/python/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 …]
|
/third_party/python/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 | 4034 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Malloc(size); break; in test_setallocators() 4060 case PYMEM_DOMAIN_OBJ: ptr2 = PyObject_Realloc(ptr, size2); break; in test_setallocators() 4079 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr2); break; in test_setallocators() 4095 case PYMEM_DOMAIN_OBJ: ptr = PyObject_Calloc(nelem, elsize); break; in test_setallocators() 4114 case PYMEM_DOMAIN_OBJ: PyObject_Free(ptr); break; in test_setallocators() 4152 return test_setallocators(PYMEM_DOMAIN_OBJ); in test_pyobject_setallocators() 4234 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &FmHook.obj); in fm_setup_hooks() 4243 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &alloc); in fm_setup_hooks() 4253 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &FmHook.obj); in fm_remove_hooks()
|
/third_party/python/Doc/c-api/ |
D | memory.rst | 450 .. c:macro:: PYMEM_DOMAIN_OBJ 516 allocator functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: 539 * ``'o'`` for :c:data:`PYMEM_DOMAIN_OBJ`. 581 :c:data:`PYMEM_DOMAIN_OBJ` and :c:data:`PYMEM_DOMAIN_MEM` domains are 603 :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains.
|
/third_party/python/Doc/using/ |
D | cmdline.rst | 797 :c:data:`PYMEM_DOMAIN_OBJ`). 799 :c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use
|
/third_party/python/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
|