Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dcellobject.c10 PyCellObject *op; in PyCell_New()
12 op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type); in PyCell_New()
29 Py_XINCREF(((PyCellObject*)op)->ob_ref); in PyCell_Get()
49 cell_dealloc(PyCellObject *op) in cell_dealloc()
68 a = ((PyCellObject *)a)->ob_ref; in cell_richcompare()
69 b = ((PyCellObject *)b)->ob_ref; in cell_richcompare()
77 cell_repr(PyCellObject *op) in cell_repr()
88 cell_traverse(PyCellObject *op, visitproc visit, void *arg) in cell_traverse()
95 cell_clear(PyCellObject *op) in cell_clear()
102 cell_get_contents(PyCellObject *op, void *closure) in cell_get_contents()
[all …]
/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/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/cpython2/Doc/c-api/
Dcell.rst18 .. c:type:: PyCellObject
/external/python/cpython3/Doc/c-api/
Dcell.rst18 .. c:type:: PyCellObject