/aosp_15_r20/external/python/cpython2/Python/ |
D | Python-ast.c | 540 result = PyObject_SetAttrString((PyObject*)type, "_attributes", l) >= 0; in add_attributes() 2149 if (PyObject_SetAttrString(result, "body", value) == -1) in ast2obj_mod() 2158 if (PyObject_SetAttrString(result, "body", value) == -1) in ast2obj_mod() 2167 if (PyObject_SetAttrString(result, "body", value) == -1) in ast2obj_mod() 2176 if (PyObject_SetAttrString(result, "body", value) == -1) in ast2obj_mod() 2204 if (PyObject_SetAttrString(result, "name", value) == -1) in ast2obj_stmt() 2209 if (PyObject_SetAttrString(result, "args", value) == -1) in ast2obj_stmt() 2214 if (PyObject_SetAttrString(result, "body", value) == -1) in ast2obj_stmt() 2220 if (PyObject_SetAttrString(result, "decorator_list", value) == in ast2obj_stmt() 2230 if (PyObject_SetAttrString(result, "name", value) == -1) in ast2obj_stmt() [all …]
|
D | errors.c | 740 if (PyObject_SetAttrString(v, "lineno", tmp)) in PyErr_SyntaxLocation() 749 if (PyObject_SetAttrString(v, "filename", tmp)) in PyErr_SyntaxLocation() 756 if (PyObject_SetAttrString(v, "text", tmp)) in PyErr_SyntaxLocation() 761 if (PyObject_SetAttrString(v, "offset", Py_None)) { in PyErr_SyntaxLocation() 768 if (PyObject_SetAttrString(v, "msg", tmp)) in PyErr_SyntaxLocation() 776 if (PyObject_SetAttrString(v, "print_file_and_line", in PyErr_SyntaxLocation()
|
D | sysmodule.c | 106 if (PyObject_SetAttrString(builtins, "_", Py_None) != 0) in sys_displayhook() 120 if (PyObject_SetAttrString(builtins, "_", o) != 0) in sys_displayhook()
|
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/ |
D | util.c | 87 int rc = PyObject_SetAttrString(exc, "sqlite_errorcode", code); in raise_exception() 104 rc = PyObject_SetAttrString(exc, "sqlite_errorname", name); in raise_exception()
|
/aosp_15_r20/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 524 if (-1 == PyObject_SetAttrString((PyObject *)result, "_fields_", fields)) { in StructUnionType_new() 2189 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", swapped); in PyCSimpleType_new() 2190 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new() 2191 PyObject_SetAttrString(swapped, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new() 2192 PyObject_SetAttrString(swapped, "__ctype_le__", swapped); in PyCSimpleType_new() 2196 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", swapped); in PyCSimpleType_new() 2197 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new() 2198 PyObject_SetAttrString(swapped, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new() 2199 PyObject_SetAttrString(swapped, "__ctype_be__", swapped); in PyCSimpleType_new() 5501 status = PyObject_SetAttrString(self, "args", a); in comerror_init() [all …]
|
/aosp_15_r20/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 2198 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", swapped); in PyCSimpleType_new() 2199 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new() 2200 PyObject_SetAttrString(swapped, "__ctype_be__", (PyObject *)result); in PyCSimpleType_new() 2201 PyObject_SetAttrString(swapped, "__ctype_le__", swapped); in PyCSimpleType_new() 2205 PyObject_SetAttrString((PyObject *)result, "__ctype_be__", swapped); in PyCSimpleType_new() 2206 PyObject_SetAttrString((PyObject *)result, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new() 2207 PyObject_SetAttrString(swapped, "__ctype_le__", (PyObject *)result); in PyCSimpleType_new() 2208 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 …]
|
/aosp_15_r20/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/include/ |
H A D | cext.h | 148 res__ = PyObject_SetAttrString(m, "__doc__", uni__); \
|
/aosp_15_r20/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1035 PyObject_SetAttrString:int::: 1036 PyObject_SetAttrString:PyObject*:o:0: 1037 PyObject_SetAttrString:char*:attr_name:: 1038 PyObject_SetAttrString:PyObject*:v:+1:
|
/aosp_15_r20/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 324 PyObject_SetAttrString
|
/aosp_15_r20/external/cronet/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | message.cc | 137 if (PyObject_SetAttrString(cls, field_descriptor->name().c_str(), in AddDescriptors() 157 if (PyObject_SetAttrString( in AddDescriptors() 171 if (PyObject_SetAttrString(cls, enum_value_descriptor->name().c_str(), in AddDescriptors() 191 if (PyObject_SetAttrString( in AddDescriptors()
|
/aosp_15_r20/external/protobuf/python/google/protobuf/pyext/ |
H A D | message.cc | 137 if (PyObject_SetAttrString(cls, field_descriptor->name().c_str(), in AddDescriptors() 157 if (PyObject_SetAttrString( in AddDescriptors() 171 if (PyObject_SetAttrString(cls, enum_value_descriptor->name().c_str(), in AddDescriptors() 191 if (PyObject_SetAttrString( in AddDescriptors()
|
/aosp_15_r20/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 655 DECLPROC(hPython, int, PyObject_SetAttrString, (PyObject *, char *, PyObject *)); in prepare_script_environment() 663 !PyObject_SetAttrString || !PyCFunction_New) in prepare_script_environment() 674 PyObject_SetAttrString(mod, meth[i].ml_name, in prepare_script_environment()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/ |
D | abstract.h | 91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
|
/aosp_15_r20/external/python/cpython3/Include/ |
D | abstract.h | 91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
|
D | object.h | 290 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
|
/aosp_15_r20/external/pytorch/torch/csrc/xpu/ |
H A D | Module.cpp | 373 if (PyObject_SetAttrString(m, name, v) < 0) { in THXPModule_initExtension()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/ |
D | abstract.h | 91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
|
D | object.h | 290 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
|
/aosp_15_r20/external/pytorch/torch/csrc/tensor/ |
H A D | python_tensor.cpp | 311 if (PyObject_SetAttrString(torch_module.get(), "Storage", storage) != 0) { in set_default_storage_type()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/ |
D | abstract.h | 91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
|
D | object.h | 290 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/ |
D | abstract.h | 91 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A), NULL)
|
D | object.h | 290 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
|
/aosp_15_r20/external/python/cpython2/Modules/_io/ |
D | _iomodule.c | 522 if (PyObject_SetAttrString(wrapper, "mode", modeobj) < 0) in io_open()
|
/aosp_15_r20/external/python/cpython2/Include/ |
D | abstract.h | 218 #define PyObject_DelAttrString(O,A) PyObject_SetAttrString((O),(A),NULL)
|