Home
last modified time | relevance | path

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

/third_party/python/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()
/third_party/gettext/gettext-runtime/intl/
Dwindows-rwlock.c65 unsigned int old_alloc = wq->alloc; in glwthread_waitqueue_add() local
68 if (old_offset + old_count > old_alloc) in glwthread_waitqueue_add()
70 unsigned int limit = old_offset + old_count - old_alloc; in glwthread_waitqueue_add()
72 new_array[old_alloc + i] = new_array[i]; in glwthread_waitqueue_add()
/third_party/python/Include/internal/
Dpycore_pymem.h19 PyMemAllocatorEx *old_alloc);
/third_party/glib/glib/
Dgarray.c1501 guint old_alloc = array->alloc; in g_ptr_array_maybe_expand() local
1506 for ( ; old_alloc < array->alloc; old_alloc++) in g_ptr_array_maybe_expand()
1507 array->pdata [old_alloc] = NULL; in g_ptr_array_maybe_expand()
/third_party/python/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()
/third_party/alsa-lib/src/
Dconf.c5368 size_t old_alloc = alloc; in parse_string() local
5370 if (old_alloc == bufsize) { in parse_string()
5374 memcpy(buf, _buf, old_alloc); in parse_string()