Home
last modified time | relevance | path

Searched refs:ob_ref (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dcellobject.c13 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 …]
/external/python/cpython2/Include/
Dcellobject.h11 PyObject *ob_ref; /* Content of the cell or NULL when empty */ member
22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
23 #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)