Home
last modified time | relevance | path

Searched refs:old_alloc (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Python/
Dpathconfig.c22 PyMemAllocatorEx old_alloc; in _PyPathConfig_Clear() local
23 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Clear()
43 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Clear()
60 PyMemAllocatorEx old_alloc; in _PyPathConfig_Init() local
61 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Init()
95 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_Init()
140 PyMemAllocatorEx old_alloc; in Py_SetPath() local
141 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPath()
162 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetPath()
173 PyMemAllocatorEx old_alloc; in Py_SetPythonHome() local
[all …]
Dpystate.c67 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init() local
68 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
72 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
80 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini() local
81 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
88 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
107 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable() local
108 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyInterpreterState_Enable()
112 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyInterpreterState_Enable()
942 PyMemAllocatorEx old_alloc; in _PyGILState_Reinit() local
[all …]
Dpylifecycle.c183 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding() local
184 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
218 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
836 PyMemAllocatorEx old_alloc; in _Py_InitializeCore() local
849 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
856 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
865 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
867 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_InitializeCore()
1979 PyMemAllocatorEx old_alloc; in init_sys_streams() local
1981 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in init_sys_streams()
[all …]
Dimport.c294 PyMemAllocatorEx old_alloc; in _PyImport_Fini2() local
295 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
300 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
2320 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab() local
2321 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
2343 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
Dsysmodule.c1670 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry() local
1671 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
1682 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
1714 PyMemAllocatorEx old_alloc; in _clear_preinit_entries() local
1715 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
1722 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
/external/openssh/
Dssh-agent.c972 u_int i, old_alloc, new_alloc; in new_socket() local
991 old_alloc = sockets_alloc; in new_socket()
994 for (i = old_alloc; i < new_alloc; i++) in new_socket()
997 sockets[old_alloc].fd = fd; in new_socket()
998 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()
1000 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()
1002 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
1004 sockets[old_alloc].type = type; in new_socket()
/external/python/cpython3/Modules/
Dmain.c573 PyMemAllocatorEx old_alloc; in pymain_clear_cmdline() local
574 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_cmdline()
589 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_cmdline()
613 PyMemAllocatorEx old_alloc; in pymain_clear_config() local
614 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_config()
618 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_clear_config()
654 PyMemAllocatorEx old_alloc; in pymain_free_raw() local
655 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_free_raw()
663 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pymain_free_raw()
2946 PyMemAllocatorEx old_alloc; in pymain_cmdline() local
[all …]
/external/python/cpython3/Include/
Dpymem.h239 PyMemAllocatorEx *old_alloc);
/external/python/cpython3/Objects/
Dobmalloc.c219 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator() argument
221 if (old_alloc != NULL) { in pymem_set_default_allocator()
222 PyMem_GetAllocator(domain, old_alloc); in pymem_set_default_allocator()
252 PyMemAllocatorEx *old_alloc) in _PyMem_SetDefaultAllocator() argument
259 return pymem_set_default_allocator(domain, debug, old_alloc); in _PyMem_SetDefaultAllocator()