Home
last modified time | relevance | path

Searched refs:PyObject_SetAttrString (Results 1 – 22 of 22) sorted by relevance

/third_party/boost/libs/python/src/
Dobject_protocol.cpp62 if (PyObject_SetAttrString( in setattr()
/third_party/python/Modules/_ctypes/
D_ctypes.c2222 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", swapped); in PyCSimpleType_new()
2223 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new()
2224 PyObject_SetAttrString(swapped, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new()
2225 PyObject_SetAttrString(swapped, "__ctype_le__", swapped); in PyCSimpleType_new()
2229 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", swapped); in PyCSimpleType_new()
2230 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new()
2231 PyObject_SetAttrString(swapped, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new()
2232 PyObject_SetAttrString(swapped, "__ctype_be__", swapped); in PyCSimpleType_new()
5495 status = PyObject_SetAttrString(self, "args", a); in comerror_init()
5500 if (PyObject_SetAttrString(self, "hresult", hresult) < 0) in comerror_init()
[all …]
/third_party/python/Include/
Dabstract.h91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
Dobject.h272 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
/third_party/boost/libs/python/src/object/
Dclass.cpp657 if (PyObject_SetAttrString(this->ptr(), const_cast<char*>(name), x.ptr()) < 0) in setattr()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc135 if (PyObject_SetAttrString(cls, field_descriptor->name().c_str(), in AddDescriptors()
155 if (PyObject_SetAttrString( in AddDescriptors()
169 if (PyObject_SetAttrString(cls, enum_value_descriptor->name().c_str(), in AddDescriptors()
189 if (PyObject_SetAttrString( in AddDescriptors()
/third_party/python/Objects/
Dgenericaliasobject.c401 if (PyObject_SetAttrString(obj, "__orig_class__", self) < 0) { in ga_call()
Dmoduleobject.c163 if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) { in _add_methods_to_object()
Dobject.c833 PyObject_SetAttrString(PyObject *v, const char *name, PyObject *w) in PyObject_SetAttrString() function
/third_party/python/Doc/data/
Drefcounts.dat1789 PyObject_SetAttrString:int:::
1790 PyObject_SetAttrString:PyObject*:o:0:
1791 PyObject_SetAttrString:const char*:attr_name::
1792 PyObject_SetAttrString:PyObject*:v:+1:
Dstable_abi.dat517 function,PyObject_SetAttrString,3.2,
/third_party/python/PC/
Dpython3dll.c473 EXPORT_FUNC(PyObject_SetAttrString)
/third_party/python/Doc/faq/
Dextending.rst199 Calling :c:func:`PyObject_SetAttrString` to assign to variables in the module
/third_party/python/Doc/c-api/
Dobject.rst88 .. c:function:: int PyObject_SetAttrString(PyObject *o, const char *attr_name, PyObject *v)
/third_party/boost/libs/python/doc/reference/
Dclass.qbk193 ``PyObject_SetAttrString(this->ptr(), name, object(u).ptr());``]]
/third_party/python/Modules/
D_elementtree.c3181 if (PyObject_SetAttrString(error, "code", code) == -1) { in expat_set_error()
3193 if (PyObject_SetAttrString(error, "position", position) == -1) { in expat_set_error()
Dpyexpat.c107 if (v == NULL || PyObject_SetAttrString(err, name, v) == -1) { in set_error_attr()
D_testcapimodule.c6801 if (PyObject_SetAttrString(self, "__class__", newtype) < 0) { in heapctypesubclasswithfinalizer_finalize()
6808 if (PyObject_SetAttrString(oldtype, "refcnt_in_del", refcnt) < 0) { in heapctypesubclasswithfinalizer_finalize()
6816 if (PyObject_SetAttrString(newtype, "refcnt_in_del", refcnt) < 0) { in heapctypesubclasswithfinalizer_finalize()
D_zoneinfo.c2539 if (PyObject_SetAttrString((PyObject *)cls, "_weak_cache", in zoneinfo_init_subclass()
/third_party/python/Python/
Dpylifecycle.c2296 if (PyObject_SetAttrString(bimod, "open", wrapper) == -1) { in init_set_builtins_open()
DPython-ast.c1068 PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 || in add_ast_fields()
1069 PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 || in add_ast_fields()
1070 PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) { in add_ast_fields()
/third_party/python/Misc/
Dstable_abi.txt1115 function PyObject_SetAttrString