Searched refs:PyGC_Head (Results 1 – 18 of 18) sorted by relevance
/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/Modules/ |
D | gcmodule.c | 40 #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.c | 1461 ptr = (void *)((char *)obj - sizeof(PyGC_Head)); in _tracemalloc__get_object_traceback()
|
D | _testcapimodule.c | 5358 PyModule_AddObject(m, "SIZEOF_PYGC_HEAD", PyLong_FromSsize_t(sizeof(PyGC_Head))); in PyInit__testcapi()
|
/external/python/cpython3/Include/ |
D | objimpl.h | 259 } 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/ |
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/cpython3/Include/internal/ |
D | mem.h | 94 PyGC_Head head; 121 PyGC_Head *generation0;
|
/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 | 29 # 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/cpython3/Objects/ |
D | object.c | 2138 _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/ |
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
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 732 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 1257 return ((size_t)size) + sizeof(PyGC_Head); in _PySys_GetSizeOf()
|