Lines Matching refs:ob_refcnt
59 total -= o->ob_refcnt; in _Py_GetRefTotal()
322 if (self->ob_refcnt != 0) { in PyObject_CallFinalizerFromDealloc()
326 self->ob_refcnt = 1; in PyObject_CallFinalizerFromDealloc()
334 self->ob_refcnt > 0, in PyObject_CallFinalizerFromDealloc()
336 if (--self->ob_refcnt == 0) in PyObject_CallFinalizerFromDealloc()
342 refcnt = self->ob_refcnt; in PyObject_CallFinalizerFromDealloc()
344 self->ob_refcnt = refcnt; in PyObject_CallFinalizerFromDealloc()
384 if (op->ob_refcnt <= 0) { in PyObject_Print()
389 (long)op->ob_refcnt, (void *)op); in PyObject_Print()
481 fprintf(stderr, "object refcount : %ld\n", (long)op->ob_refcnt); in _PyObject_Dump()
1057 _PyObject_ASSERT(name, name->ob_refcnt >= 1); in PyObject_SetAttr()
1860 op->ob_refcnt = 1; in _Py_NewReference()
1871 if (op->ob_refcnt < 0) in _Py_ForgetReference()
1906 fprintf(fp, "%p [%" PY_FORMAT_SIZE_T "d] ", (void *)op, op->ob_refcnt); in _Py_PrintReferences()
1923 op->ob_refcnt, Py_TYPE(op)->tp_name); in _Py_PrintReferenceAddresses()
2063 _PyObject_ASSERT(op, op->ob_refcnt == 0); in _PyTrash_deposit_object()
2075 _PyObject_ASSERT(op, op->ob_refcnt == 0); in _PyTrash_thread_deposit_object()
2099 _PyObject_ASSERT(op, op->ob_refcnt == 0); in _PyTrash_destroy_chain()
2137 _PyObject_ASSERT(op, op->ob_refcnt == 0); in _PyTrash_thread_destroy_chain()