/external/python/cpython3/Python/ |
D | Python-ast.c | 694 result = _PyObject_SetAttrId((PyObject*)type, &PyId__attributes, l) >= 0; in add_attributes() 2583 if (_PyObject_SetAttrId(result, &PyId_body, value) == -1) in ast2obj_mod() 2592 if (_PyObject_SetAttrId(result, &PyId_body, value) == -1) in ast2obj_mod() 2601 if (_PyObject_SetAttrId(result, &PyId_body, value) == -1) in ast2obj_mod() 2610 if (_PyObject_SetAttrId(result, &PyId_body, value) == -1) in ast2obj_mod() 2637 if (_PyObject_SetAttrId(result, &PyId_name, value) == -1) in ast2obj_stmt() 2642 if (_PyObject_SetAttrId(result, &PyId_args, value) == -1) in ast2obj_stmt() 2647 if (_PyObject_SetAttrId(result, &PyId_body, value) == -1) in ast2obj_stmt() 2652 if (_PyObject_SetAttrId(result, &PyId_decorator_list, value) == -1) in ast2obj_stmt() 2657 if (_PyObject_SetAttrId(result, &PyId_returns, value) == -1) in ast2obj_stmt() [all …]
|
D | errors.c | 1064 if (_PyObject_SetAttrId(v, &PyId_lineno, tmp)) in PyErr_SyntaxLocationObject() 1074 if (_PyObject_SetAttrId(v, &PyId_offset, tmp ? tmp : Py_None)) in PyErr_SyntaxLocationObject() 1078 if (_PyObject_SetAttrId(v, &PyId_filename, filename)) in PyErr_SyntaxLocationObject() 1083 if (_PyObject_SetAttrId(v, &PyId_text, tmp)) in PyErr_SyntaxLocationObject() 1092 if (_PyObject_SetAttrId(v, &PyId_msg, tmp)) in PyErr_SyntaxLocationObject() 1100 if (_PyObject_SetAttrId(v, &PyId_print_file_and_line, in PyErr_SyntaxLocationObject()
|
D | pylifecycle.c | 1755 if (text == NULL || _PyObject_SetAttrId(raw, &PyId_name, text) < 0) in create_stdio() 1799 if (!text || _PyObject_SetAttrId(stream, &PyId_mode, text) < 0) in create_stdio()
|
D | sysmodule.c | 288 if (_PyObject_SetAttrId(builtins, &PyId__, Py_None) != 0) in sys_displayhook() 315 if (_PyObject_SetAttrId(builtins, &PyId__, o) != 0) in sys_displayhook()
|
/external/python/cpython3/Modules/_io/ |
D | iobase.c | 240 rc = _PyObject_SetAttrId(self, &PyId___IOBase_closed, Py_True); in _io__IOBase_close_impl() 281 if (_PyObject_SetAttrId(self, &PyId__finalizing, Py_True)) in iobase_finalize()
|
D | _iomodule.c | 477 if (_PyObject_SetAttrId(wrapper, &PyId_mode, modeobj) < 0) in _io_open_impl()
|
D | fileio.c | 471 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0)
|
D | winconsoleio.c | 401 if (_PyObject_SetAttrId((PyObject *)self, &PyId_name, nameobj) < 0) in _io__WindowsConsoleIO___init___impl()
|
/external/python/cpython3/Modules/ |
D | _abc.c | 368 if (_PyObject_SetAttrId(self, &PyId___abstractmethods__, abstracts) < 0) { in compute_abstract_methods() 404 if (_PyObject_SetAttrId(self, &PyId__abc_impl, data) < 0) { in _abc__abc_init()
|
D | _ssl.c | 683 if (_PyObject_SetAttrId(err_value, &PyId_reason, reason_obj)) in fill_and_set_sslerror() 688 if (_PyObject_SetAttrId(err_value, &PyId_library, lib_obj)) in fill_and_set_sslerror() 693 if (_PyObject_SetAttrId(err_value, &PyId_verify_code, in fill_and_set_sslerror() 696 if (_PyObject_SetAttrId(err_value, &PyId_verify_message, verify_obj)) in fill_and_set_sslerror()
|
D | _cursesmodule.c | 2859 if (_PyObject_SetAttrId(m, &PyId_LINES, o)) { in update_lines_cols() 2876 if (_PyObject_SetAttrId(m, &PyId_COLS, o)) { in update_lines_cols()
|
D | _elementtree.c | 2490 r = _PyObject_SetAttrId(element, name, joined); in treebuilder_set_element_text_or_tail()
|
/external/python/cpython3/Include/ |
D | object.h | 541 PyAPI_FUNC(int) _PyObject_SetAttrId(PyObject *, struct _Py_Identifier *, PyObject *);
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 464 if (v == NULL || _PyObject_SetAttrId(m, &PyId___doc__, v) != 0) { in PyModule_SetDocString()
|
D | descrobject.c | 1503 int err = _PyObject_SetAttrId((PyObject *)self, &PyId___doc__, get_doc); in property_init_impl()
|
D | object.c | 890 _PyObject_SetAttrId(PyObject *v, _Py_Identifier *name, PyObject *w) in _PyObject_SetAttrId() function
|