Home
last modified time | relevance | path

Searched refs:PyMemAllocatorEx (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Objects/
Dobmalloc.c187 PyMemAllocatorEx alloc;
207 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC;
208 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC;
209 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC;
211 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC;
212 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC;
213 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC;
219 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator()
226 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator()
230 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC; in pymem_set_default_allocator()
[all …]
/external/python/cpython3/Modules/
D_tracemalloc.c27 PyMemAllocatorEx mem;
28 PyMemAllocatorEx raw;
29 PyMemAllocatorEx obj;
667 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_alloc()
694 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_realloc()
745 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_free()
767 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_alloc_gil()
810 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_realloc_gil()
841 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_raw_alloc()
884 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_raw_realloc()
[all …]
D_testcapimodule.c3374 PyMemAllocatorEx alloc;
3425 PyMemAllocatorEx alloc; in test_setallocators()
3571 PyMemAllocatorEx raw;
3572 PyMemAllocatorEx mem;
3573 PyMemAllocatorEx obj;
3596 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fmalloc()
3606 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fcalloc()
3616 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_frealloc()
3626 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_ffree()
3633 PyMemAllocatorEx alloc; in fm_setup_hooks()
Dmain.c573 PyMemAllocatorEx old_alloc; in pymain_clear_cmdline()
613 PyMemAllocatorEx old_alloc; in pymain_clear_config()
654 PyMemAllocatorEx old_alloc; in pymain_free_raw()
2946 PyMemAllocatorEx old_alloc; in pymain_cmdline()
2949 PyMemAllocatorEx default_alloc; in pymain_cmdline()
2971 PyMemAllocatorEx cur_alloc; in pymain_cmdline()
/external/python/cpython3/Include/
Dpymem.h194 } PyMemAllocatorEx; typedef
198 PyMemAllocatorEx *allocator);
212 PyMemAllocatorEx *allocator);
239 PyMemAllocatorEx *old_alloc);
/external/python/cpython3/Python/
Dpathconfig.c22 PyMemAllocatorEx old_alloc; in _PyPathConfig_Clear()
60 PyMemAllocatorEx old_alloc; in _PyPathConfig_Init()
140 PyMemAllocatorEx old_alloc; in Py_SetPath()
173 PyMemAllocatorEx old_alloc; in Py_SetPythonHome()
194 PyMemAllocatorEx old_alloc; in Py_SetProgramName()
215 PyMemAllocatorEx old_alloc; in _Py_SetProgramFullPath()
Dpystate.c67 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init()
80 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini()
107 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable()
942 PyMemAllocatorEx old_alloc; in _PyGILState_Reinit()
Dpylifecycle.c183 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding()
836 PyMemAllocatorEx old_alloc; in _Py_InitializeCore()
1979 PyMemAllocatorEx old_alloc; in init_sys_streams()
Dimport.c294 PyMemAllocatorEx old_alloc; in _PyImport_Fini2()
2320 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab()
Dsysmodule.c1670 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry()
1714 PyMemAllocatorEx old_alloc; in _clear_preinit_entries()
/external/python/cpython3/Doc/c-api/
Dmemory.rst362 .. c:type:: PyMemAllocatorEx
384 :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.
418 .. c:function:: void PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
423 .. c:function:: void PyMem_SetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2521 :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.