Home
last modified time | relevance | path

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

/third_party/python/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()
Dceval.c2850 err = PyObject_SetAttr(owner, name, v); in _PyEval_EvalFrameDefault()
2862 err = PyObject_SetAttr(owner, name, (PyObject *)NULL); in _PyEval_EvalFrameDefault()
/third_party/python/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()
D_ctypes.c4418 res = PyObject_SetAttr(self, name, val); in _init_pos_args()
4454 if (-1 == PyObject_SetAttr(self, key, value)) in Struct_init()
/third_party/python/Include/
Dabstract.h101 #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A), NULL)
Dobject.h275 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
/third_party/python/Objects/
Dobject.c843 res = PyObject_SetAttr(v, s, w); in PyObject_SetAttrString()
883 result = PyObject_SetAttr(v, oname, w); in _PyObject_SetAttrId()
1019 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value) in PyObject_SetAttr() function
Dweakrefobject.c518 int res = PyObject_SetAttr(obj, name, value); in proxy_setattr()
Dfuncobject.c741 int res = PyObject_SetAttr(wrapper, name, value); in functools_copy_attr()
Dexceptions.c159 if (PyObject_SetAttr(self, d_key, d_value) < 0) in BaseException_setstate()
/third_party/python/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,
/third_party/python/PC/
Dpython3dll.c472 EXPORT_FUNC(PyObject_SetAttr)
/third_party/python/Doc/c-api/
Dobject.rst77 .. c:function:: int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v)
Dtypeobj.rst970 The signature is the same as for :c:func:`PyObject_SetAttr`::
/third_party/python/Misc/
Dstable_abi.txt1113 function PyObject_SetAttr
DHISTORY26106 - PyObject_GetAttr() and PyObject_SetAttr() now accept Unicode objects
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c2525 PyObject_SetAttr(inst, key, swig_this); in SWIG_Python_NewShadowInstance()
2532 PyObject_SetAttr(inst, SWIG_This(), swig_this); in SWIG_Python_NewShadowInstance()
/third_party/python/Modules/
D_pickle.c6732 if (PyObject_SetAttr(inst, d_key, d_value) < 0) in load_build()