Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dpymem.h62 } PyMemAllocatorEx; typedef
66 PyMemAllocatorEx *allocator);
80 PyMemAllocatorEx *allocator);
/third_party/python/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.c3962 PyMemAllocatorEx alloc;
4013 PyMemAllocatorEx alloc; in test_setallocators()
4159 PyMemAllocatorEx raw;
4160 PyMemAllocatorEx mem;
4161 PyMemAllocatorEx obj;
4184 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fmalloc()
4194 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fcalloc()
4204 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_frealloc()
4214 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_ffree()
4221 PyMemAllocatorEx alloc; in fm_setup_hooks()
/third_party/python/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 …]
/third_party/python/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()
340 PyMemAllocatorEx old_alloc; in pathconfig_init()
484 PyMemAllocatorEx old_alloc; in Py_SetPath()
513 PyMemAllocatorEx old_alloc; in Py_SetPythonHome()
534 PyMemAllocatorEx old_alloc; in Py_SetProgramName()
554 PyMemAllocatorEx old_alloc; in _Py_SetProgramFullPath()
Dpystate.c106 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Init()
119 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini()
146 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads()
191 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable()
Dinitconfig.c470 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding()
516 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding()
542 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv()
557 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv()
Dimport.c255 PyMemAllocatorEx old_alloc; in _PyImport_Fini2()
2255 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab()
Dsysmodule.c2124 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry()
2168 PyMemAllocatorEx old_alloc; in _clear_preinit_entries()
/third_party/python/Include/internal/
Dpycore_pymem.h19 PyMemAllocatorEx *old_alloc);
/third_party/python/Doc/c-api/
Dmemory.rst403 .. c:type:: PyMemAllocatorEx
425 :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.
459 .. c:function:: void PyMem_GetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
464 .. c:function:: void PyMem_SetAllocator(PyMemAllocatorDomain domain, PyMemAllocatorEx *allocator)
/third_party/python/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…
/third_party/python/Doc/whatsnew/
D3.5.rst2521 :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.