Home
last modified time | relevance | path

Searched refs:PyGC_Head (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Modules/
Dgcmodule.c25 #define AS_GC(o) ((PyGC_Head *)(o)-1)
28 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1))
33 PyGC_Head head;
50 PyGC_Head *_PyGC_generation0 = GEN_HEAD(0);
221 gc_list_init(PyGC_Head *list) in gc_list_init()
228 gc_list_is_empty(PyGC_Head *list) in gc_list_is_empty()
237 gc_list_append(PyGC_Head *node, PyGC_Head *list)
248 gc_list_remove(PyGC_Head *node) in gc_list_remove()
260 gc_list_move(PyGC_Head *node, PyGC_Head *list) in gc_list_move()
262 PyGC_Head *new_prev; in gc_list_move()
[all …]
D_testcapimodule.c2985 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
/external/python/cpython3/Modules/
Dgcmodule.c40 #define AS_GC(o) ((PyGC_Head *)(o)-1)
43 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1))
132 gc_list_init(PyGC_Head *list) in gc_list_init()
139 gc_list_is_empty(PyGC_Head *list) in gc_list_is_empty()
148 gc_list_append(PyGC_Head *node, PyGC_Head *list)
159 gc_list_remove(PyGC_Head *node) in gc_list_remove()
171 gc_list_move(PyGC_Head *node, PyGC_Head *list) in gc_list_move()
173 PyGC_Head *new_prev; in gc_list_move()
174 PyGC_Head *current_prev = node->gc.gc_prev; in gc_list_move()
175 PyGC_Head *current_next = node->gc.gc_next; in gc_list_move()
[all …]
D_tracemalloc.c1461 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _tracemalloc__get_object_traceback()
D_testcapimodule.c5358 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyLong_FromSsize_t(sizeof(PyGC_Head))); in PyInit__testcapi()
/external/python/cpython3/Include/
Dobjimpl.h259 } PyGC_Head; typedef
261 extern PyGC_Head *_PyGC_generation0;
263 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1)
296 PyGC_Head *g = _Py_AS_GC(o); \
311 PyGC_Head *g = _Py_AS_GC(o); \
/external/python/cpython2/Include/
Dobjimpl.h274 } PyGC_Head; typedef
276 extern PyGC_Head *_PyGC_generation0;
278 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1)
287 PyGC_Head *g = _Py_AS_GC(o); \
302 PyGC_Head *g = _Py_AS_GC(o); \
/external/clang/test/CodeGen/
D2008-08-07-AlignPadding1.c13 } PyGC_Head; typedef
16 PyGC_Head head;
Dunion-init.c13 } PyGC_Head; typedef
16 PyGC_Head head;
/external/python/cpython3/Include/internal/
Dmem.h94 PyGC_Head head;
121 PyGC_Head *generation0;
/external/python/cpython2/Misc/NEWS.d/
D2.7.15.rst7 Tweak the definition of PyGC_Head, so compilers do not believe it is always
/external/python/cpython3/Misc/
Dgdbinit29 # object is allocated at. The argument must be a PyGC_Head*
/external/python/cpython2/Misc/
Dgdbinit29 # object is allocated at. The argument must be a PyGC_Head*
/external/python/cpython3/Objects/
Dobject.c2138 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *)_PyRuntime.gc.trash_delete_later; in _PyTrash_deposit_object()
2150 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *) tstate->trash_delete_later; in _PyTrash_thread_deposit_object()
/external/python/cpython2/Objects/
Dobject.c2449 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *)_PyTrash_delete_later; in _PyTrash_deposit_object()
2461 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *) tstate->trash_delete_later; in _PyTrash_thread_deposit_object()
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a2.rst10 those objects from having their PyGC_Head mutated. In effect, this enables
/external/python/cpython2/Python/
Dsysmodule.c732 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
/external/python/cpython3/Python/
Dsysmodule.c1257 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()