Home
last modified time | relevance | path

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

12

/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/cpython3/Modules/_ctypes/
Dstgdict.c268 if (-1 == PyObject_SetAttr(type, fname, (PyObject *)new_descr)) { in MakeFields()
578 if (-1 == PyObject_SetAttr(type, name, prop)) { in PyCStructUnionType_update_stgdict()
D_ctypes.c4176 res = PyObject_SetAttr(self, name, val); in _init_pos_args()
4212 if (-1 == PyObject_SetAttr(self, key, value)) in Struct_init()
/external/python/cpython2/PC/os2vacpp/
Dpython.def323 PyObject_SetAttr
/external/python/cpython3/Objects/
Dobject.c845 res = PyObject_SetAttr(v, s, w); in PyObject_SetAttrString()
896 result = PyObject_SetAttr(v, oname, w); in _PyObject_SetAttrId()
1001 PyObject_SetAttr(PyObject *v, PyObject *name, PyObject *value) in PyObject_SetAttr() function
Dweakrefobject.c484 return PyObject_SetAttr(PyWeakref_GET_OBJECT(proxy), name, value); in proxy_setattr()
/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/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/cpython3/Include/
Dabstract.h101 #define PyObject_DelAttr(O,A) PyObject_SetAttr((O),(A), NULL)
Dobject.h536 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
/external/python/cpython3/PC/
Dpython3.def490 PyObject_SetAttr=python37.PyObject_SetAttr
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc121 if (PyObject_SetAttr(cls, attr_name.get(), number.get()) == -1) { in AddFieldNumberToClass()
134 if (PyObject_SetAttr(cls, k_extensions_by_name, by_name.get()) < 0) { in AddDescriptors()
138 if (PyObject_SetAttr(cls, k_extensions_by_number, by_number.get()) < 0) { in AddDescriptors()
/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.dat1749 PyObject_SetAttr:int:::
1750 PyObject_SetAttr:PyObject*:o:0:
1751 PyObject_SetAttr:PyObject*:attr_name:0:
1752 PyObject_SetAttr:PyObject*:v:+1:
/external/python/cpython3/Python/
Dbltinmodule.c1470 if (PyObject_SetAttr(obj, name, value) != 0) in builtin_setattr_impl()
1492 if (PyObject_SetAttr(obj, name, (PyObject *)NULL) != 0) in builtin_delattr_impl()
Dceval.c2015 err = PyObject_SetAttr(owner, name, v); in _PyEval_EvalFrameDefault()
2027 err = PyObject_SetAttr(owner, name, (PyObject *)NULL); in _PyEval_EvalFrameDefault()
/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)

12