• Home
  • Raw
  • Download

Lines Matching refs:PyGC_Head

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()
263 PyGC_Head *current_prev = node->gc.gc_prev; in gc_list_move()
264 PyGC_Head *current_next = node->gc.gc_next; in gc_list_move()
276 gc_list_merge(PyGC_Head *from, PyGC_Head *to) in gc_list_merge()
278 PyGC_Head *tail; in gc_list_merge()
291 gc_list_size(PyGC_Head *list) in gc_list_size()
293 PyGC_Head *gc; in gc_list_size()
305 append_objects(PyObject *py_list, PyGC_Head *gc_list) in append_objects()
307 PyGC_Head *gc; in append_objects()
327 update_refs(PyGC_Head *containers) in update_refs()
329 PyGC_Head *gc = containers->gc.gc_next; in update_refs()
361 PyGC_Head *gc = AS_GC(op); in visit_decref()
379 subtract_refs(PyGC_Head *containers) in subtract_refs()
382 PyGC_Head *gc = containers->gc.gc_next; in subtract_refs()
393 visit_reachable(PyObject *op, PyGC_Head *reachable) in visit_reachable()
396 PyGC_Head *gc = AS_GC(op); in visit_reachable()
443 move_unreachable(PyGC_Head *young, PyGC_Head *unreachable) in move_unreachable()
445 PyGC_Head *gc = young->gc.gc_next; in move_unreachable()
457 PyGC_Head *next; in move_unreachable()
520 untrack_dicts(PyGC_Head *head) in untrack_dicts()
522 PyGC_Head *next, *gc = head->gc.gc_next; in untrack_dicts()
537 move_finalizers(PyGC_Head *unreachable, PyGC_Head *finalizers) in move_finalizers()
539 PyGC_Head *gc; in move_finalizers()
540 PyGC_Head *next; in move_finalizers()
560 visit_move(PyObject *op, PyGC_Head *tolist) in visit_move()
564 PyGC_Head *gc = AS_GC(op); in visit_move()
576 move_finalizer_reachable(PyGC_Head *finalizers) in move_finalizer_reachable()
579 PyGC_Head *gc = finalizers->gc.gc_next; in move_finalizer_reachable()
601 handle_weakrefs(PyGC_Head *unreachable, PyGC_Head *old) in handle_weakrefs()
603 PyGC_Head *gc; in handle_weakrefs()
606 PyGC_Head wrcb_to_call; /* weakrefs with callbacks to call */ in handle_weakrefs()
607 PyGC_Head *next; in handle_weakrefs()
639 PyGC_Head *wrasgc; /* AS_GC(wr) */ in handle_weakrefs()
778 handle_finalizers(PyGC_Head *finalizers, PyGC_Head *old) in handle_finalizers()
780 PyGC_Head *gc = finalizers->gc.gc_next; in handle_finalizers()
805 delete_garbage(PyGC_Head *collectable, PyGC_Head *old) in delete_garbage()
810 PyGC_Head *gc = collectable->gc.gc_next; in delete_garbage()
877 PyGC_Head *young; /* the generation we are examining */ in collect()
878 PyGC_Head *old; /* next older generation */ in collect()
879 PyGC_Head unreachable; /* non-problematic unreachable trash */ in collect()
880 PyGC_Head finalizers; /* objects with, & reachable from, __del__ */ in collect()
881 PyGC_Head *gc; in collect()
1228 gc_referrers_for(PyObject *objs, PyGC_Head *list, PyObject *resultlist) in gc_referrers_for()
1230 PyGC_Head *gc; in gc_referrers_for()
1449 _PyGC_Dump(PyGC_Head *g) in _PyGC_Dump()
1496 PyGC_Head *g; in _PyObject_GC_Malloc()
1497 if (basicsize > PY_SSIZE_T_MAX - sizeof(PyGC_Head)) in _PyObject_GC_Malloc()
1499 g = (PyGC_Head *)PyObject_MALLOC( in _PyObject_GC_Malloc()
1500 sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Malloc()
1541 PyGC_Head *g = AS_GC(op); in _PyObject_GC_Resize()
1542 if (basicsize > PY_SSIZE_T_MAX - sizeof(PyGC_Head)) in _PyObject_GC_Resize()
1544 g = (PyGC_Head *)PyObject_REALLOC(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
1555 PyGC_Head *g = AS_GC(op); in PyObject_GC_Del()