Home
last modified time | relevance | path

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

/third_party/python/Modules/
Dgcmodule.c72 #define AS_GC(o) ((PyGC_Head *)(o)-1)
75 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1))
78 gc_is_collecting(PyGC_Head *g) in gc_is_collecting()
84 gc_clear_collecting(PyGC_Head *g) in gc_clear_collecting()
90 gc_get_refs(PyGC_Head *g) in gc_get_refs()
96 gc_set_refs(PyGC_Head *g, Py_ssize_t refs) in gc_set_refs()
103 gc_reset_refs(PyGC_Head *g, Py_ssize_t refs) in gc_reset_refs()
111 gc_decref(PyGC_Head *g) in gc_decref()
236 gc_list_init(PyGC_Head *list) in gc_list_init()
245 gc_list_is_empty(PyGC_Head *list) in gc_list_is_empty()
[all …]
D_testinternalcapi.c405 PyLong_FromSsize_t(sizeof(PyGC_Head))) < 0) { in PyInit__testinternalcapi()
D_tracemalloc.c1465 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _tracemalloc__get_object_traceback()
1786 ptr = (uintptr_t)((char *)op - sizeof(PyGC_Head)); in _PyTraceMalloc_NewReference()
/third_party/python/Include/internal/
Dpycore_object.h84 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_TRACK()
91 PyGC_Head *generation0 = interp->gc.generation0; in _PyObject_GC_TRACK()
92 PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev); in _PyObject_GC_TRACK()
120 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_UNTRACK()
121 PyGC_Head *prev = _PyGCHead_PREV(gc); in _PyObject_GC_UNTRACK()
122 PyGC_Head *next = _PyGCHead_NEXT(gc); in _PyObject_GC_UNTRACK()
Dpycore_gc.h20 } PyGC_Head; typedef
22 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1)
45 #define _PyGCHead_NEXT(g) ((PyGC_Head*)(g)->_gc_next)
49 #define _PyGCHead_PREV(g) ((PyGC_Head*)((g)->_gc_prev & _PyGC_PREV_MASK))
114 PyGC_Head head;
141 PyGC_Head *generation0;
/third_party/python/Misc/
Dgdbinit35 object is allocated at. The argument must be a PyGC_Head*
/third_party/python/Misc/NEWS.d/
D3.7.0a2.rst10 those objects from having their PyGC_Head mutated. In effect, this enables
D3.9.0a6.rst1121 Move the :c:type:`PyGC_Head` structure to the internal C API.
D3.8.0a1.rst1173 Reduce ``PyGC_Head`` size from 3 words to 2 words.
/third_party/python/Objects/
Dobject.c2262 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _PyObject_AssertFailed()
/third_party/python/Python/
Dsysmodule.c1737 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
/third_party/python/Doc/whatsnew/
D3.8.rst1493 * Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked
1925 * The ``PyGC_Head`` struct has changed completely. All code that touched the
D3.9.rst1353 * The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the