Searched refs:PyGC_Head (Results 1 – 8 of 8) sorted by relevance
25 #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 …]
2790 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
259 } PyGC_Head; typedef261 extern PyGC_Head *_PyGC_generation0;263 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1)272 PyGC_Head *g = _Py_AS_GC(o); \287 PyGC_Head *g = _Py_AS_GC(o); \
13 } PyGC_Head; typedef16 PyGC_Head head;
29 # object is allocated at. The argument must be a PyGC_Head*
2444 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *)_PyTrash_delete_later; in _PyTrash_deposit_object()2456 _Py_AS_GC(op)->gc.gc_prev = (PyGC_Head *) tstate->trash_delete_later; in _PyTrash_thread_deposit_object()
732 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()