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 …]
14 op->ob_ref = obj; in PyCell_New()59 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()82 Py_XDECREF(op->ob_ref); in cell_dealloc()98 a = ((PyCellObject *)a)->ob_ref; in cell_richcompare()99 b = ((PyCellObject *)b)->ob_ref; in cell_richcompare()109 if (op->ob_ref == NULL) in cell_repr()113 op, Py_TYPE(op->ob_ref)->tp_name, in cell_repr()114 op->ob_ref); in cell_repr()120 Py_VISIT(op->ob_ref); in cell_traverse()127 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)