Home
last modified time | relevance | path

Searched refs:PyCell_Check (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Include/cpython/
Dcellobject.h18 #define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type) macro
26 assert(PyCell_Check(op)); in PyCell_GET()
34 assert(PyCell_Check(op)); in PyCell_SET()
/external/python/cpython3/Objects/
Dcellobject.c56 if (!PyCell_Check(op)) { in PyCell_Get()
66 if (!PyCell_Check(op)) { in PyCell_Set()
89 if (!PyCell_Check(a) || !PyCell_Check(b)) { in cell_richcompare()
Dframeobject.c38 assert(PyCell_Check(value)); in framelocalsproxy_getval()
180 assert(oldvalue != NULL && PyCell_Check(oldvalue)); in framelocalsproxy_setitem()
183 if (PyCell_Check(oldvalue)) { in framelocalsproxy_setitem()
2011 assert(value != NULL && PyCell_Check(value)); in frame_get_var()
2020 if (PyCell_Check(value) && in frame_get_var()
Dfuncobject.c930 if (!PyCell_Check(o)) { in func_new_impl()
Dtypeobject.c3988 if (!PyCell_Check(cell)) { in type_new_set_classcell()
4015 if (!PyCell_Check(cell)) { in type_new_set_classdictcell()
11336 assert(PyCell_Check(firstarg)); in super_init_without_args()
11355 if (cell == NULL || !PyCell_Check(cell)) { in super_init_without_args()
/external/pytorch/torch/csrc/dynamo/
Dframelocals_mapping.cpp43 CHECK(value != nullptr && PyCell_Check(value)); in get_framelocals_mapping()
Dcpython_defs.c120 CHECK(value != NULL && PyCell_Check(value)); in THP_PyFrame_FastToLocalsWithError()
129 if (PyCell_Check(value) && in THP_PyFrame_FastToLocalsWithError()
/external/python/cpython3/Doc/c-api/
Dcell.rst28 .. c:function:: int PyCell_Check(PyObject *ob)
/external/python/cpython3/Python/
Dbltinmodule.c211 if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) { in builtin___build_class__()
1126 if (!PyCell_Check(cell)) { in builtin_exec_impl()
/external/python/cpython3/Doc/data/
Drefcounts.dat201 PyCell_Check:int:::
202 PyCell_Check::ob::