• Home
  • Raw
  • Download

Lines Matching refs:NEXT_MASK_UNREACHABLE

69 #define NEXT_MASK_UNREACHABLE  (1)  macro
380 assert((head->_gc_next & NEXT_MASK_UNREACHABLE) == 0); in validate_list()
389 next_value = NEXT_MASK_UNREACHABLE; in validate_list()
393 next_value = NEXT_MASK_UNREACHABLE; in validate_list()
402 PyGC_Head *truenext = (PyGC_Head *)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE); in validate_list()
406 assert((gc->_gc_next & NEXT_MASK_UNREACHABLE) == next_value); in validate_list()
510 if (gc->_gc_next & NEXT_MASK_UNREACHABLE) { in visit_reachable()
520 PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE); in visit_reachable()
522 prev->_gc_next & NEXT_MASK_UNREACHABLE); in visit_reachable()
524 next->_gc_next & NEXT_MASK_UNREACHABLE); in visit_reachable()
622 last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc); in move_unreachable()
624 gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable); in move_unreachable()
632 unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE; in move_unreachable()
680 assert((unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0); in move_legacy_finalizers()
688 _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE); in move_legacy_finalizers()
689 gc->_gc_next &= ~NEXT_MASK_UNREACHABLE; in move_legacy_finalizers()
703 assert(((uintptr_t)unreachable & NEXT_MASK_UNREACHABLE) == 0); in clear_unreachable_mask()
706 assert((unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0); in clear_unreachable_mask()
708 _PyObject_ASSERT((PyObject*)FROM_GC(gc), gc->_gc_next & NEXT_MASK_UNREACHABLE); in clear_unreachable_mask()
709 gc->_gc_next &= ~NEXT_MASK_UNREACHABLE; in clear_unreachable_mask()