Home
last modified time | relevance | path

Searched refs:_PyMem_SetDefaultAllocator (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Python/
Dpathconfig.c23 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Clear()
61 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Init()
141 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPath()
174 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPythonHome()
195 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetProgramName()
216 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_SetProgramFullPath()
Dpystate.c68 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
81 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
108 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyInterpreterState_Enable()
943 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyGILState_Reinit()
Dpylifecycle.c184 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
849 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
865 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
1981 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in init_sys_streams()
Dimport.c295 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
2321 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
Dsysmodule.c1671 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
1715 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
/external/python/cpython3/Include/
Dpymem.h237 PyAPI_FUNC(int) _PyMem_SetDefaultAllocator(
/external/python/cpython3/Objects/
Dobmalloc.c251 _PyMem_SetDefaultAllocator(PyMemAllocatorDomain domain, in _PyMem_SetDefaultAllocator() function
273 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, NULL); in _PyMem_SetupAllocators()
274 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_MEM, NULL); in _PyMem_SetupAllocators()
275 (void)_PyMem_SetDefaultAllocator(PYMEM_DOMAIN_OBJ, NULL); in _PyMem_SetupAllocators()
/external/python/cpython3/Modules/
Dmain.c574 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_cmdline()
614 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_config()
655 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_free_raw()
2947 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_cmdline()