/external/python/cpython3/Modules/ |
D | gcmodule.c | 73 #define AS_GC(o) ((PyGC_Head *)(o)-1) 76 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) 79 gc_is_collecting(PyGC_Head *g) in gc_is_collecting() 85 gc_clear_collecting(PyGC_Head *g) in gc_clear_collecting() 91 gc_get_refs(PyGC_Head *g) in gc_get_refs() 97 gc_set_refs(PyGC_Head *g, Py_ssize_t refs) in gc_set_refs() 104 gc_reset_refs(PyGC_Head *g, Py_ssize_t refs) in gc_reset_refs() 112 gc_decref(PyGC_Head *g) in gc_decref() 223 gc_list_init(PyGC_Head *list) in gc_list_init() 232 gc_list_is_empty(PyGC_Head *list) in gc_list_is_empty() [all …]
|
D | _testinternalcapi.c | 230 PyLong_FromSsize_t(sizeof(PyGC_Head))) < 0) { in PyInit__testinternalcapi()
|
D | _tracemalloc.c | 1465 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _tracemalloc__get_object_traceback() 1786 ptr = (uintptr_t)((char *)op - sizeof(PyGC_Head)); in _PyTraceMalloc_NewReference()
|
/external/python/cpython2/Modules/ |
D | gcmodule.c | 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 …]
|
D | _testcapimodule.c | 2985 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyInt_FromSsize_t(sizeof(PyGC_Head))); in init_testcapi()
|
/external/python/cpython3/Include/internal/ |
D | pycore_object.h | 36 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_TRACK_impl() 43 PyGC_Head *generation0 = tstate->interp->gc.generation0; in _PyObject_GC_TRACK_impl() 44 PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev); in _PyObject_GC_TRACK_impl() 70 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_UNTRACK_impl() 71 PyGC_Head *prev = _PyGCHead_PREV(gc); in _PyObject_GC_UNTRACK_impl() 72 PyGC_Head *next = _PyGCHead_NEXT(gc); in _PyObject_GC_UNTRACK_impl()
|
D | pycore_gc.h | 20 } 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;
|
/external/python/cpython2/Include/ |
D | objimpl.h | 274 } 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/ |
D | 2008-08-07-AlignPadding1.c | 13 } PyGC_Head; typedef 16 PyGC_Head head;
|
D | union-init.c | 13 } PyGC_Head; typedef 16 PyGC_Head head;
|
/external/llvm-project/clang/test/CodeGen/ |
D | 2008-08-07-AlignPadding1.c | 13 } PyGC_Head; typedef 16 PyGC_Head head;
|
D | union-init.c | 13 } PyGC_Head; typedef 16 PyGC_Head head;
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.15.rst | 7 Tweak the definition of PyGC_Head, so compilers do not believe it is always
|
/external/python/cpython2/Misc/ |
D | gdbinit | 29 # object is allocated at. The argument must be a PyGC_Head*
|
/external/python/cpython3/Misc/ |
D | gdbinit | 35 object is allocated at. The argument must be a PyGC_Head*
|
/external/python/cpython2/Objects/ |
D | object.c | 2449 _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/ |
D | 3.7.0a2.rst | 10 those objects from having their PyGC_Head mutated. In effect, this enables
|
D | 3.9.0a6.rst | 1121 Move the :c:type:`PyGC_Head` structure to the internal C API.
|
D | 3.8.0a1.rst | 1173 Reduce ``PyGC_Head`` size from 3 words to 2 words.
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 732 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
|
/external/python/cpython3/Objects/ |
D | object.c | 2183 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _PyObject_AssertFailed()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1683 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1492 * Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked 1924 * The ``PyGC_Head`` struct has changed completely. All code that touched the
|
D | 3.9.rst | 1330 * The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the
|