Home
last modified time | relevance | path

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

/external/python/cpython3/Include/cpython/
Dpymem.h68 } PyMemAllocatorEx; typedef
72 PyMemAllocatorEx *allocator);
86 PyMemAllocatorEx *allocator);
/external/python/cpython3/Modules/
D_tracemalloc.c31 PyMemAllocatorEx mem;
32 PyMemAllocatorEx raw;
33 PyMemAllocatorEx obj;
583 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_alloc()
610 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_realloc()
661 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_free()
683 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_alloc_gil()
726 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_realloc_gil()
757 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_raw_alloc()
800 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_raw_realloc()
[all …]
D_testcapimodule.c3795 PyMemAllocatorEx alloc;
3846 PyMemAllocatorEx alloc; in test_setallocators()
3992 PyMemAllocatorEx raw;
3993 PyMemAllocatorEx mem;
3994 PyMemAllocatorEx obj;
4017 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fmalloc()
4027 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fcalloc()
4037 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_frealloc()
4047 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_ffree()
4054 PyMemAllocatorEx alloc; in fm_setup_hooks()
/external/python/cpython3/Objects/
Dobmalloc.c194 PyMemAllocatorEx alloc;
214 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC;
215 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC;
216 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC;
218 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC;
219 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC;
220 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC;
226 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator()
233 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator()
237 new_alloc = (PyMemAllocatorEx)PYRAW_ALLOC; in pymem_set_default_allocator()
[all …]
/external/python/cpython3/Python/
Dpathconfig.c45 PyMemAllocatorEx old_alloc; in pathconfig_clear()
103 PyMemAllocatorEx old_alloc; in _PyPathConfig_ClearGlobal()
147 PyMemAllocatorEx old_alloc; in pathconfig_set_from_config()
265 PyMemAllocatorEx old_alloc; in pathconfig_calculate()
457 PyMemAllocatorEx old_alloc; in Py_SetPath()
492 PyMemAllocatorEx old_alloc; in Py_SetPythonHome()
513 PyMemAllocatorEx old_alloc; in Py_SetProgramName()
533 PyMemAllocatorEx old_alloc; in _Py_SetProgramFullPath()
Dpystate.c96 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init()
109 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini()
138 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads()
181 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable()
Dinitconfig.c455 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding()
501 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding()
527 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv()
542 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv()
Dimport.c296 PyMemAllocatorEx old_alloc; in _PyImport_Fini2()
2461 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab()
Dsysmodule.c2049 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry()
2093 PyMemAllocatorEx old_alloc; in _clear_preinit_entries()
/external/python/cpython3/Include/internal/
Dpycore_pymem.h19 PyMemAllocatorEx *old_alloc);
/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/Tools/c-analyzer/
DTODO3 Objects/obmalloc.c:_PyMem static PyMemAllocatorEx _PyMem
5 Objects/obmalloc.c:_PyMem_Raw static PyMemAllocatorEx _PyMem_Raw
6 Objects/obmalloc.c:_PyObject static PyMemAllocatorEx _PyObject
41 … static struct { PyMemAllocatorEx mem; PyMemAllocatorEx raw; PyMemAll…
Dknown.tsv16 …alloc.c - allocators variable static struct { PyMemAllocatorEx mem; PyMemAllocatorEx raw; PyMemAll…
1487 Objects/obmalloc.c - _PyMem variable static PyMemAllocatorEx _PyMem
1491 Objects/obmalloc.c - _PyMem_Raw variable static PyMemAllocatorEx _PyMem_Raw
1505 Objects/obmalloc.c - _PyObject variable static PyMemAllocatorEx _PyObject
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2521 :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.