Searched refs:ob_ref (Results 1 – 4 of 4) sorted by relevance
13 op->ob_ref = obj; in PyCell_New()27 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()50 Py_XDECREF(op->ob_ref); in cell_dealloc()63 if (a->ob_ref == NULL) { in cell_compare()64 if (b->ob_ref == NULL) in cell_compare()67 } else if (b->ob_ref == NULL) in cell_compare()69 return PyObject_Compare(a->ob_ref, b->ob_ref); in cell_compare()75 if (op->ob_ref == NULL) in cell_repr()79 op, op->ob_ref->ob_type->tp_name, in cell_repr()80 op->ob_ref); in cell_repr()[all …]
15 op->ob_ref = obj; in PyCell_New()29 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()52 Py_XDECREF(op->ob_ref); in cell_dealloc()68 a = ((PyCellObject *)a)->ob_ref; in cell_richcompare()69 b = ((PyCellObject *)b)->ob_ref; in cell_richcompare()79 if (op->ob_ref == NULL) in cell_repr()83 op, op->ob_ref->ob_type->tp_name, in cell_repr()84 op->ob_ref); in cell_repr()90 Py_VISIT(op->ob_ref); in cell_traverse()97 Py_CLEAR(op->ob_ref); in cell_clear()[all …]
11 PyObject *ob_ref; /* Content of the cell or NULL when empty */ member22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)23 #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)