/third_party/python/Python/ |
D | errors.c | 1598 if (_PyObject_SetAttrId(v, &PyId_lineno, tmp)) { in PyErr_SyntaxLocationObjectEx() 1610 if (_PyObject_SetAttrId(v, &PyId_offset, tmp ? tmp : Py_None)) { in PyErr_SyntaxLocationObjectEx() 1622 if (_PyObject_SetAttrId(v, &PyId_end_lineno, tmp ? tmp : Py_None)) { in PyErr_SyntaxLocationObjectEx() 1634 if (_PyObject_SetAttrId(v, &PyId_end_offset, tmp ? tmp : Py_None)) { in PyErr_SyntaxLocationObjectEx() 1641 if (_PyObject_SetAttrId(v, &PyId_filename, filename)) { in PyErr_SyntaxLocationObjectEx() 1647 if (_PyObject_SetAttrId(v, &PyId_text, tmp)) { in PyErr_SyntaxLocationObjectEx() 1666 if (_PyObject_SetAttrId(v, &PyId_msg, tmp)) { in PyErr_SyntaxLocationObjectEx() 1682 if (_PyObject_SetAttrId(v, &PyId_print_file_and_line, in PyErr_SyntaxLocationObjectEx()
|
D | pylifecycle.c | 2195 if (text == NULL || _PyObject_SetAttrId(raw, &PyId_name, text) < 0) in create_stdio() 2254 if (!text || _PyObject_SetAttrId(stream, &PyId_mode, text) < 0) in create_stdio()
|
D | sysmodule.c | 719 if (_PyObject_SetAttrId(builtins, &PyId__, Py_None) != 0) in sys_displayhook() 748 if (_PyObject_SetAttrId(builtins, &PyId__, o) != 0) in sys_displayhook()
|
D | ceval.c | 6266 (void)_PyObject_SetAttrId(value, &PyId_name, obj); in format_exc_check_arg()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 242 rc = _PyObject_SetAttrId(self, &PyId___IOBase_closed, Py_True); in _io__IOBase_close_impl() 283 if (_PyObject_SetAttrId(self, &PyId__finalizing, Py_True)) in iobase_finalize()
|
D | _iomodule.c | 490 if (_PyObject_SetAttrId(wrapper, &PyId_mode, modeobj) < 0) in _io_open_impl()
|
D | fileio.c | 478 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0)
|
D | winconsoleio.c | 396 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0) in _io__WindowsConsoleIO___init___impl()
|
/third_party/python/Modules/ |
D | _abc.c | 408 if (_PyObject_SetAttrId(self, &PyId___abstractmethods__, abstracts) < 0) { in compute_abstract_methods() 447 if (_PyObject_SetAttrId(self, &PyId__abc_impl, data) < 0) { in _abc__abc_init()
|
D | _ssl.c | 548 if (_PyObject_SetAttrId(err_value, &PyId_reason, reason_obj)) in fill_and_set_sslerror() 553 if (_PyObject_SetAttrId(err_value, &PyId_library, lib_obj)) in fill_and_set_sslerror() 558 if (_PyObject_SetAttrId(err_value, &PyId_verify_code, in fill_and_set_sslerror() 561 if (_PyObject_SetAttrId(err_value, &PyId_verify_message, verify_obj)) in fill_and_set_sslerror()
|
D | _cursesmodule.c | 3970 if (_PyObject_SetAttrId(m, &PyId_LINES, o)) { in update_lines_cols() 3987 if (_PyObject_SetAttrId(m, &PyId_COLS, o)) { in update_lines_cols()
|
D | _asynciomodule.c | 2840 if (_PyObject_SetAttrId( in task_step_impl()
|
D | _elementtree.c | 2603 r = _PyObject_SetAttrId(element, name, joined); in treebuilder_extend_element_text_or_tail()
|
/third_party/python/Include/cpython/ |
D | object.h | 317 PyAPI_FUNC(int) _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObject *);
|
/third_party/python/Objects/ |
D | object.c | 877 _PyObject_SetAttrId(PyObject *v, _Py_Identifier *name, PyObject *w) in _PyObject_SetAttrId() function 900 (_PyObject_SetAttrId(value, &PyId_name, name) || in set_attribute_error_context() 901 _PyObject_SetAttrId(value, &PyId_obj, v))) { in set_attribute_error_context()
|
D | moduleobject.c | 456 if (v == NULL || _PyObject_SetAttrId(m, &PyId___doc__, v) != 0) { in PyModule_SetDocString()
|
D | descrobject.c | 1762 int err = _PyObject_SetAttrId((PyObject *)self, &PyId___doc__, get_doc); in property_init_impl()
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 535 if (_PyObject_SetAttrId((PyObject *)result, &PyId__fields_, fields) < 0) { in StructUnionType_new()
|