Home
last modified time | relevance | path

Searched refs:PyMem_GetAllocator (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Include/
Dpymem.h197 PyAPI_FUNC(void) PyMem_GetAllocator(PyMemAllocatorDomain domain,
/external/python/cpython3/Modules/
D_tracemalloc.c968 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_init()
1104 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &allocators.raw); in tracemalloc_start()
1114 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &allocators.mem); in tracemalloc_start()
1118 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &allocators.obj); in tracemalloc_start()
D_testcapimodule.c3436 PyMem_GetAllocator(domain, &hook.alloc); in test_setallocators()
3644 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &FmHook.raw); in fm_setup_hooks()
3645 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &FmHook.mem); in fm_setup_hooks()
3646 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &FmHook.obj); in fm_setup_hooks()
Dmain.c2950 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &default_alloc); in pymain_cmdline()
2972 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &cur_alloc); in pymain_cmdline()
/external/python/cpython3/Objects/
Dobmalloc.c222 PyMem_GetAllocator(domain, old_alloc); in pymem_set_default_allocator()
422 PyMem_GetAllocator(PYMEM_DOMAIN_RAW, &_PyMem_Debug.raw.alloc); in _PyMem_SetupDebugHooksDomain()
435 PyMem_GetAllocator(PYMEM_DOMAIN_MEM, &_PyMem_Debug.mem.alloc); in _PyMem_SetupDebugHooksDomain()
448 PyMem_GetAllocator(PYMEM_DOMAIN_OBJ, &_PyMem_Debug.obj.alloc); in _PyMem_SetupDebugHooksDomain()
468 PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator) in PyMem_GetAllocator() function
/external/python/cpython3/Doc/c-api/
Dmemory.rst418 .. c:function:: void PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
Dinit.rst40 * :c:func:`PyMem_GetAllocator`