Home
last modified time | relevance | path

Searched refs:PyCellObject (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Objects/
Dcellobject.c8 PyCellObject *op; in PyCell_New()
10 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
27 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
47 cell_dealloc(PyCellObject *op) in cell_dealloc()
55 cell_compare(PyCellObject *a, PyCellObject *b) in cell_compare()
73 cell_repr(PyCellObject *op) in cell_repr()
84 cell_traverse(PyCellObject *op, visitproc visit, void *arg) in cell_traverse()
91 cell_clear(PyCellObject *op) in cell_clear()
98 cell_get_contents(PyCellObject *op, void *closure) in cell_get_contents()
117 sizeof(PyCellObject),
/external/python/cpython3/Objects/
Dcellobject.c9 PyCellObject *op; in PyCell_New()
11 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
59 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
79 cell_dealloc(PyCellObject *op) in cell_dealloc()
98 a = ((PyCellObject *)a)->ob_ref; in cell_richcompare()
99 b = ((PyCellObject *)b)->ob_ref; in cell_richcompare()
107 cell_repr(PyCellObject *op) in cell_repr()
118 cell_traverse(PyCellObject *op, visitproc visit, void *arg) in cell_traverse()
125 cell_clear(PyCellObject *op) in cell_clear()
132 cell_get_contents(PyCellObject *op, void *closure) in cell_get_contents()
[all …]
/external/python/cpython2/Include/
Dcellobject.h12 } PyCellObject; typedef
22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
23 #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
/external/python/cpython3/Include/
Dcellobject.h12 } PyCellObject; typedef
22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
23 #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
/external/python/cpython3/Doc/c-api/
Dcell.rst18 .. c:type:: PyCellObject
/external/python/cpython2/Doc/c-api/
Dcell.rst18 .. c:type:: PyCellObject