Home
last modified time | relevance | path

Searched refs:PyObject_SetAttr (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython3/Python/
DPython-ast.c948 res = PyObject_SetAttr(self, name, PyTuple_GET_ITEM(args, i)); in ast_type_init()
975 res = PyObject_SetAttr(self, key, value); in ast_type_init()
1085 result = PyObject_SetAttr(type, state->_attributes, l) >= 0; in add_attributes()
1261 if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1) in init_types()
1263 if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) == in init_types()
1270 if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) == in init_types()
1273 if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None) in init_types()
1281 if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None) in init_types()
1284 if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment, in init_types()
1295 if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1) in init_types()
[all …]
Dbltinmodule.c1436 if (PyObject_SetAttr(obj, name, value) != 0) in builtin_setattr_impl()
1458 if (PyObject_SetAttr(obj, name, (PyObject *)NULL) != 0) in builtin_delattr_impl()
/external/python/cpython2/Modules/_ctypes/
Dstgdict.c252 if (-1 == PyObject_SetAttr(type, fname, (PyObject *)new_descr)) { in MakeFields()
567 if (-1 == PyObject_SetAttr(type, name, prop)) { in PyCStructUnionType_update_stgdict()
D_ctypes.c4289 res = PyObject_SetAttr(self, name, val); in _init_pos_args()
4325 if (-1 == PyObject_SetAttr(self, key, value)) in Struct_init()
/external/python/cpython2/PC/os2vacpp/
Dpython.def323 PyObject_SetAttr
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c268 if (-1 == PyObject_SetAttr(type, fname, (PyObject *)new_descr)) { in MakeFields()
623 if (-1 == PyObject_SetAttr(type, name, prop)) { in PyCStructUnionType_update_stgdict()
D_ctypes.c4420 res = PyObject_SetAttr(self, name, val); in _init_pos_args()
4456 if (-1 == PyObject_SetAttr(self, key, value)) in Struct_init()
/external/python/cpython3/Include/
Dabstract.h101 #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A), NULL)
Dobject.h251 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
/external/python/cpython3/Objects/
Dobject.c823 res = PyObject_SetAttr(v, s, w); in PyObject_SetAttrString()
874 result = PyObject_SetAttr(v, oname, w); in _PyObject_SetAttrId()
979 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value) in PyObject_SetAttr() function
Dweakrefobject.c518 int res = PyObject_SetAttr(obj, name, value); in proxy_setattr()
/external/python/cpython2/Include/
Dabstract.h229 #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A),NULL)
Dobject.h475 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
/external/python/cpython2/Doc/data/
Drefcounts.dat1030 PyObject_SetAttr:int:::
1031 PyObject_SetAttr:PyObject*:o:0:
1032 PyObject_SetAttr:PyObject*:attr_name:0:
1033 PyObject_SetAttr:PyObject*:v:+1:
/external/python/cpython3/PC/
Dpython3.def492 PyObject_SetAttr=python39.PyObject_SetAttr
/external/python/cpython2/Objects/
Dweakrefobject.c482 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
Dobject.c1171 res = PyObject_SetAttr(v, s, w); in PyObject_SetAttrString()
1223 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value) in PyObject_SetAttr() function
Dexceptions.c207 if (PyObject_SetAttr(self, d_key, d_value) < 0) in BaseException_setstate()
/external/python/cpython3/Doc/data/
Drefcounts.dat1778 PyObject_SetAttr:int:::
1779 PyObject_SetAttr:PyObject*:o:0:
1780 PyObject_SetAttr:PyObject*:attr_name:0:
1781 PyObject_SetAttr:PyObject*:v:+1:
/external/python/cpython2/PC/os2emx/
Dpython27.def456 "PyObject_SetAttr"
/external/python/cpython2/Python/
Dbltinmodule.c1154 if (PyObject_SetAttr(v, name, value) != 0) in builtin_setattr()
1175 if (PyObject_SetAttr(v, name, (PyObject *)NULL) != 0) in builtin_delattr()
Dceval.c2265 err = PyObject_SetAttr(v, w, u); /* v.w = u */ in PyEval_EvalFrameEx()
2276 err = PyObject_SetAttr(v, w, (PyObject *)NULL); in PyEval_EvalFrameEx()
/external/python/cpython3/Doc/c-api/
Dobject.rst77 .. c:function:: int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v)
/external/python/cpython2/Doc/c-api/
Dobject.rst55 .. c:function:: int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v)
/external/python/pybind11/include/pybind11/
Dpytypes.h450 if (PyObject_SetAttr(obj.ptr(), name.ptr(), value.ptr()) != 0) { throw error_already_set(); } in setattr()

12