Home
last modified time | relevance | path

Searched refs:_PyObject_SetAttrId (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Python/
Derrors.c1570 if (_PyObject_SetAttrId(v, &PyId_lineno, tmp)) { in PyErr_SyntaxLocationObject()
1582 if (_PyObject_SetAttrId(v, &PyId_offset, tmp ? tmp : Py_None)) { in PyErr_SyntaxLocationObject()
1587 if (_PyObject_SetAttrId(v, &PyId_filename, filename)) { in PyErr_SyntaxLocationObject()
1593 if (_PyObject_SetAttrId(v, &PyId_text, tmp)) { in PyErr_SyntaxLocationObject()
1603 if (_PyObject_SetAttrId(v, &PyId_msg, tmp)) { in PyErr_SyntaxLocationObject()
1613 if (_PyObject_SetAttrId(v, &PyId_print_file_and_line, in PyErr_SyntaxLocationObject()
Dpylifecycle.c1830 if (text == NULL || _PyObject_SetAttrId(raw, &PyId_name, text) < 0) in create_stdio()
1889 if (!text || _PyObject_SetAttrId(stream, &PyId_mode, text) < 0) in create_stdio()
Dsysmodule.c697 if (_PyObject_SetAttrId(builtins, &PyId__, Py_None) != 0) in sys_displayhook()
726 if (_PyObject_SetAttrId(builtins, &PyId__, o) != 0) in sys_displayhook()
/third_party/python/Modules/_io/
Diobase.c241 rc = _PyObject_SetAttrId(self, &PyId___IOBase_closed, Py_True); in _io__IOBase_close_impl()
282 if (_PyObject_SetAttrId(self, &PyId__finalizing, Py_True)) in iobase_finalize()
D_iomodule.c488 if (_PyObject_SetAttrId(wrapper, &PyId_mode, modeobj) < 0) in _io_open_impl()
Dfileio.c477 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0)
Dwinconsoleio.c402 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0) in _io__WindowsConsoleIO___init___impl()
/third_party/python/Modules/
D_abc.c406 if (_PyObject_SetAttrId(self, &PyId___abstractmethods__, abstracts) < 0) { in compute_abstract_methods()
443 if (_PyObject_SetAttrId(self, &PyId__abc_impl, data) < 0) { in _abc__abc_init()
D_ssl.c713 if (_PyObject_SetAttrId(err_value, &PyId_reason, reason_obj)) in fill_and_set_sslerror()
718 if (_PyObject_SetAttrId(err_value, &PyId_library, lib_obj)) in fill_and_set_sslerror()
723 if (_PyObject_SetAttrId(err_value, &PyId_verify_code, in fill_and_set_sslerror()
726 if (_PyObject_SetAttrId(err_value, &PyId_verify_message, verify_obj)) in fill_and_set_sslerror()
D_cursesmodule.c3811 if (_PyObject_SetAttrId(m, &PyId_LINES, o)) { in update_lines_cols()
3828 if (_PyObject_SetAttrId(m, &PyId_COLS, o)) { in update_lines_cols()
D_asynciomodule.c2871 if (_PyObject_SetAttrId( in task_step_impl()
D_elementtree.c2606 r = _PyObject_SetAttrId(element, name, joined); in treebuilder_extend_element_text_or_tail()
/third_party/python/Include/cpython/
Dobject.h316 PyAPI_FUNC(int) _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObject *);
/third_party/python/Objects/
Dmoduleobject.c448 if (v == NULL || _PyObject_SetAttrId(m, &PyId___doc__, v) != 0) { in PyModule_SetDocString()
Ddescrobject.c1716 int err = _PyObject_SetAttrId((PyObject *)self, &PyId___doc__, get_doc); in property_init_impl()
Dobject.c868 _PyObject_SetAttrId(PyObject *v, _Py_Identifier *name, PyObject *w) in _PyObject_SetAttrId() function
/third_party/python/Modules/_ctypes/
D_ctypes.c528 if (_PyObject_SetAttrId((PyObject *)result, &PyId__fields_, fields) < 0) { in StructUnionType_new()