Home
last modified time | relevance | path

Searched refs:old_alloc (Results 1 – 9 of 9) 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()
340 PyMemAllocatorEx old_alloc; in pathconfig_init() local
[all …]
Dpystate.c106 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init() local
107 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
111 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Init()
119 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini() local
120 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
132 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_Fini()
146 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads() local
147 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
153 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyRuntimeState_ReInitThreads()
191 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable() local
[all …]
Dinitconfig.c470 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding() local
471 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
506 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in Py_SetStandardStreamEncoding()
516 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding() local
517 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
529 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearStandardStreamEncoding()
542 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv() local
543 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
547 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _Py_ClearArgcArgv()
557 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv() local
[all …]
Dimport.c255 PyMemAllocatorEx old_alloc; in _PyImport_Fini2() local
256 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
265 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _PyImport_Fini2()
2255 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab() local
2256 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
2278 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in PyImport_ExtendInittab()
Dsysmodule.c2124 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry() local
2125 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2136 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _alloc_preinit_entry()
2168 PyMemAllocatorEx old_alloc; in _clear_preinit_entries() local
2169 _PyMem_SetDefaultAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
2176 PyMem_SetAllocator(PYMEM_DOMAIN_RAW, &old_alloc); in _clear_preinit_entries()
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
Dlibcxx.control_block_layout.pass.cpp79 char const* old_alloc = reinterpret_cast<char const*>(old.get_alloc()); in test() local
81 std::ptrdiff_t old_offset = old_alloc - reinterpret_cast<char const*>(&old); in test()
/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()
/external/python/cpython3/Doc/data/
Dpython3.10.abi10289 …<parameter type-id='type-id-499' name='old_alloc' filepath='Objects/obmalloc.c' line='259' column=…