/external/python/cpython3/Modules/ |
D | gcmodule.c | 67 #define AS_GC(o) ((PyGC_Head *)(o)-1) 70 #define FROM_GC(g) ((PyObject *)(((PyGC_Head *)g)+1)) 73 gc_is_collecting(PyGC_Head *g) in gc_is_collecting() 79 gc_clear_collecting(PyGC_Head *g) in gc_clear_collecting() 85 gc_get_refs(PyGC_Head *g) in gc_get_refs() 91 gc_set_refs(PyGC_Head *g, Py_ssize_t refs) in gc_set_refs() 98 gc_reset_refs(PyGC_Head *g, Py_ssize_t refs) in gc_reset_refs() 106 gc_decref(PyGC_Head *g) in gc_decref() 205 gc_list_init(PyGC_Head *list) in gc_list_init() 214 gc_list_is_empty(PyGC_Head *list) in gc_list_is_empty() [all …]
|
D | _tracemalloc.c | 1441 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _tracemalloc__get_object_traceback() 1724 ptr = (uintptr_t)((char *)op - sizeof(PyGC_Head)); in _PyTraceMalloc_NewReference()
|
D | _testcapimodule.c | 6280 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyLong_FromSsize_t(sizeof(PyGC_Head))); in PyInit__testcapi()
|
/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 | 34 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_TRACK_impl() 40 PyGC_Head *last = (PyGC_Head*)(_PyRuntime.gc.generation0->_gc_prev); in _PyObject_GC_TRACK_impl() 66 PyGC_Head *gc = _Py_AS_GC(op); in _PyObject_GC_UNTRACK_impl() 67 PyGC_Head *prev = _PyGCHead_PREV(gc); in _PyObject_GC_UNTRACK_impl() 68 PyGC_Head *next = _PyGCHead_NEXT(gc); in _PyObject_GC_UNTRACK_impl()
|
D | pycore_pymem.h | 98 PyGC_Head head; 125 PyGC_Head *generation0;
|
/external/python/cpython3/Include/cpython/ |
D | objimpl.h | 54 } PyGC_Head; typedef 56 #define _Py_AS_GC(o) ((PyGC_Head *)(o)-1) 79 #define _PyGCHead_NEXT(g) ((PyGC_Head*)(g)->_gc_next) 83 #define _PyGCHead_PREV(g) ((PyGC_Head*)((g)->_gc_prev & _PyGC_PREV_MASK))
|
/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/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/cpython3/Misc/ |
D | gdbinit | 35 object is allocated at. The argument must be a PyGC_Head*
|
/external/python/cpython2/Misc/ |
D | gdbinit | 29 # 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.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 | 2182 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _PyObject_AssertFailed()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1600 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.8.rst | 1484 * Removed one ``Py_ssize_t`` member from ``PyGC_Head``. All GC tracked 1916 * The ``PyGC_Head`` struct has changed completely. All code that touched the
|