Home
last modified time | relevance | path

Searched refs:PyMemAllocatorEx (Results 1 - 11 of 11) sorted by relevance

/third_party/python/Include/cpython/
H A Dpymem.h62 } PyMemAllocatorEx; typedef
66 PyMemAllocatorEx *allocator);
80 PyMemAllocatorEx *allocator);
/third_party/python/Modules/
H A D_tracemalloc.c38 PyMemAllocatorEx mem;
39 PyMemAllocatorEx raw;
40 PyMemAllocatorEx obj;
591 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_alloc()
618 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_realloc()
669 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in tracemalloc_free()
691 PyMemAllocatorEx *allo in tracemalloc_alloc_gil()
[all...]
H A D_testcapimodule.c4137 PyMemAllocatorEx alloc;
4188 PyMemAllocatorEx alloc; in test_setallocators()
4334 PyMemAllocatorEx raw;
4335 PyMemAllocatorEx mem;
4336 PyMemAllocatorEx obj;
4359 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fmalloc()
4369 PyMemAllocatorEx *alloc = (PyMemAllocatorEx *)ctx; in hook_fcalloc()
4379 PyMemAllocatorEx *allo in hook_frealloc()
[all...]
/third_party/python/Objects/
H A Dobmalloc.c196 PyMemAllocatorEx alloc;
216 static PyMemAllocatorEx _PyMem_Raw = PYDBGRAW_ALLOC;
217 static PyMemAllocatorEx _PyMem = PYDBGMEM_ALLOC;
218 static PyMemAllocatorEx _PyObject = PYDBGOBJ_ALLOC;
220 static PyMemAllocatorEx _PyMem_Raw = PYRAW_ALLOC;
221 static PyMemAllocatorEx _PyMem = PYMEM_ALLOC;
222 static PyMemAllocatorEx _PyObject = PYOBJ_ALLOC;
228 PyMemAllocatorEx *old_alloc) in pymem_set_default_allocator()
235 PyMemAllocatorEx new_alloc; in pymem_set_default_allocator()
239 new_alloc = (PyMemAllocatorEx)PYRAW_ALLO in pymem_set_default_allocator()
[all...]
/third_party/python/Programs/
H A D_testembed.c1976 static void wrap_allocator(PyMemAllocatorEx *allocator);
1977 static void unwrap_allocator(PyMemAllocatorEx *allocator);
1982 PyMemAllocatorEx *allocator = (PyMemAllocatorEx *)ctx; in malloc_wrapper()
1992 PyMemAllocatorEx *allocator = (PyMemAllocatorEx *)ctx; in calloc_wrapper()
1999 PyMemAllocatorEx *allocator = (PyMemAllocatorEx *)ctx; in realloc_wrapper()
2006 PyMemAllocatorEx *allocator = (PyMemAllocatorEx *)ct in free_wrapper()
[all...]
/third_party/python/Python/
H A Dpathconfig.c59 PyMemAllocatorEx old_alloc; in _PyPathConfig_ClearGlobal()
131 PyMemAllocatorEx old_alloc; in _PyPathConfig_UpdateGlobal()
222 PyMemAllocatorEx old_alloc; in Py_SetPath()
260 PyMemAllocatorEx old_alloc; in Py_SetPythonHome()
283 PyMemAllocatorEx old_alloc; in Py_SetProgramName()
305 PyMemAllocatorEx old_alloc; in _Py_SetProgramFullPath()
H A Dinitconfig.c521 PyMemAllocatorEx old_alloc; in Py_SetStandardStreamEncoding()
567 PyMemAllocatorEx old_alloc; in _Py_ClearStandardStreamEncoding()
593 PyMemAllocatorEx old_alloc; in _Py_ClearArgcArgv()
608 PyMemAllocatorEx old_alloc; in _Py_SetArgcArgv()
H A Dpystate.c64 PyMemAllocatorEx old_alloc; in alloc_for_runtime()
164 PyMemAllocatorEx old_alloc; in _PyRuntimeState_Fini()
191 PyMemAllocatorEx old_alloc; in _PyRuntimeState_ReInitThreads()
236 PyMemAllocatorEx old_alloc; in _PyInterpreterState_Enable()
H A Dsysmodule.c2133 PyMemAllocatorEx old_alloc; in _alloc_preinit_entry()
2177 PyMemAllocatorEx old_alloc; in _clear_preinit_entries()
H A Dimport.c248 PyMemAllocatorEx old_alloc; in _PyImport_Fini2()
2594 PyMemAllocatorEx old_alloc; in PyImport_ExtendInittab()
/third_party/python/Include/internal/
H A Dpycore_pymem.h19 PyMemAllocatorEx *old_alloc);

Completed in 27 milliseconds