Home
last modified time | relevance | path

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

/external/python/cpython3/Python/
Dpathconfig.c45 PyMemAllocatorEx old_alloc; in pathconfig_clear() local
46 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pathconfig_clear()
66 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pathconfig_clear()
103 PyMemAllocatorEx old_alloc; in _PyPathConfig_ClearGlobal() local
104 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_ClearGlobal()
108 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyPathConfig_ClearGlobal()
147 PyMemAllocatorEx old_alloc; in pathconfig_set_from_config() local
148 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pathconfig_set_from_config()
185 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in pathconfig_set_from_config()
265 PyMemAllocatorEx old_alloc; in pathconfig_calculate() local
[all …]
Dpystate.c96 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init() local
97 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
101 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
109 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini() local
110 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
122 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
138 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads() local
139 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
145 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
181 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable() local
[all …]
Dinitconfig.c455 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding() local
456 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
491 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
501 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding() local
502 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
514 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
527 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv() local
528 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
532 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
542 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv() local
[all …]
Dimport.c296 PyMemAllocatorEx old_alloc; in _PyImport_Fini2() local
297 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
303 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
2461 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab() local
2462 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
2484 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
Dsysmodule.c2049 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry() local
2050 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2061 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2093 PyMemAllocatorEx old_alloc; in _clear_preinit_entries() local
2094 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
2101 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
/external/openssh/
Dssh-agent.c875 u_int i, old_alloc, new_alloc; in new_socket() local
894 old_alloc = sockets_alloc; in new_socket()
897 for (i = old_alloc; i < new_alloc; i++) in new_socket()
900 sockets[old_alloc].fd = fd; in new_socket()
901 if ((sockets[old_alloc].input = sshbuf_new()) == NULL) in new_socket()
903 if ((sockets[old_alloc].output = sshbuf_new()) == NULL) in new_socket()
905 if ((sockets[old_alloc].request = sshbuf_new()) == NULL) in new_socket()
907 sockets[old_alloc].type = type; in new_socket()
/external/python/cpython3/Include/internal/
Dpycore_pymem.h19 PyMemAllocatorEx *old_alloc);
/external/python/cpython3/Objects/
Dobmalloc.c226 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator() argument
228 if (old_alloc != NULL) { in pymem_set_default_allocator()
229 PyMem_GetAllocator(domain, old_alloc); in pymem_set_default_allocator()
259 PyMemAllocatorEx *old_alloc) in _PyMem_SetDefaultAllocator() argument
266 return pymem_set_default_allocator(domain, debug, old_alloc); in _PyMem_SetDefaultAllocator()