Home
last modified time | relevance | path

Searched refs:old_alloc (Results 1 - 7 of 7) sorted by relevance

/third_party/python/Python/
H A Dpathconfig.c59 PyMemAllocatorEx old_alloc; in _PyPathConfig_ClearGlobal() local
60 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_ClearGlobal()
80 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_ClearGlobal()
131 PyMemAllocatorEx old_alloc; in _PyPathConfig_UpdateGlobal() local
132 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_UpdateGlobal()
199 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_UpdateGlobal()
203 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_UpdateGlobal()
222 PyMemAllocatorEx old_alloc; in Py_SetPath() local
223 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPath()
243 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPath()
260 PyMemAllocatorEx old_alloc; Py_SetPythonHome() local
283 PyMemAllocatorEx old_alloc; Py_SetProgramName() local
305 PyMemAllocatorEx old_alloc; _Py_SetProgramFullPath() local
[all...]
H A Dinitconfig.c521 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding() local
522 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
557 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
567 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding() local
568 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
580 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
593 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv() local
594 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
598 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
608 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv() local
[all...]
H A Dpystate.c64 PyMemAllocatorEx old_alloc; in alloc_for_runtime() local
65 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in alloc_for_runtime()
85 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in alloc_for_runtime()
164 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini() local
165 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
177 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
191 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads() local
192 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
198 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
236 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable() local
[all...]
H A Dsysmodule.c2133 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry() local
2134 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2145 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2177 PyMemAllocatorEx old_alloc; in _clear_preinit_entries() local
2178 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
2185 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
H A Dimport.c248 PyMemAllocatorEx old_alloc; in _PyImport_Fini2() local
249 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
258 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
2594 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab() local
2595 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
2617 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
/third_party/python/Include/internal/
H A Dpycore_pymem.h15 Save the old allocator into *old_alloc if it's non-NULL.
19 PyMemAllocatorEx *old_alloc);
/third_party/python/Objects/
H A Dobmalloc.c228 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator()
230 if (old_alloc != NULL) { in pymem_set_default_allocator()
231 PyMem_GetAllocator(domain, old_alloc); in pymem_set_default_allocator()
261 PyMemAllocatorEx *old_alloc) in _PyMem_SetDefaultAllocator()
268 return pymem_set_default_allocator(domain, debug, old_alloc); in _PyMem_SetDefaultAllocator()
227 pymem_set_default_allocator(PyMemAllocatorDomain domain, int debug, PyMemAllocatorEx *old_alloc) pymem_set_default_allocator() argument
260 _PyMem_SetDefaultAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *old_alloc) _PyMem_SetDefaultAllocator() argument

Completed in 30 milliseconds