Home
last modified time | relevance | path

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

12

/external/python/cpython3/Python/
DPython-ast.c823 res = PyObject_SetAttr(self, name, PyTuple_GET_ITEM(args, i)); in ast_type_init()
850 res = PyObject_SetAttr(self, key, value); in ast_type_init()
961 result = PyObject_SetAttr(type, state->_attributes, l) >= 0; in add_attributes()
1153 if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1) in init_types()
1155 if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) == in init_types()
1162 if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) == in init_types()
1165 if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None) in init_types()
1173 if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None) in init_types()
1176 if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment, in init_types()
1187 if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1) in init_types()
[all …]
Dbltinmodule.c1498 if (PyObject_SetAttr(obj, name, value) != 0) in builtin_setattr_impl()
1520 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()
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c268 if (-1 == PyObject_SetAttr(type, fname, (PyObject *)new_descr)) { in MakeFields()
621 if (-1 == PyObject_SetAttr(type, name, prop)) { in PyCStructUnionType_update_stgdict()
/external/python/cpython2/PC/os2vacpp/
Dpython.def323 PyObject_SetAttr
/external/python/cpython3/Include/
Dabstract.h101 #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A), NULL)
Dobject.h275 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/Objects/
Dobject.c843 res = PyObject_SetAttr(v, s, w); in PyObject_SetAttrString()
883 result = PyObject_SetAttr(v, oname, w); in _PyObject_SetAttrId()
1029 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value) in PyObject_SetAttr() function
Dfuncobject.c741 int res = PyObject_SetAttr(wrapper, name, value); in functools_copy_attr()
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/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.dat1784 PyObject_SetAttr:int:::
1785 PyObject_SetAttr:PyObject*:o:0:
1786 PyObject_SetAttr:PyObject*:attr_name:0:
1787 PyObject_SetAttr:PyObject*:v:+1:
Dstable_abi.dat516 function,PyObject_SetAttr,3.2,
/external/python/cpython2/PC/os2emx/
Dpython27.def456 "PyObject_SetAttr"
/external/python/cpython3/PC/
Dpython3dll.c472 EXPORT_FUNC(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/cpython3/Misc/
Dstable_abi.txt1113 function PyObject_SetAttr

12