/external/python/cpython2/Python/ |
D | errors.c | 53 PyErr_SetObject(PyObject *exception, PyObject *value) in PyErr_SetObject() function 63 PyErr_SetObject(exception, (PyObject *)NULL); in PyErr_SetNone() 70 PyErr_SetObject(exception, value); in PyErr_SetString() 302 PyErr_SetObject(PyExc_MemoryError, PyExc_MemoryErrorInst); in PyErr_NoMemory() 382 PyErr_SetObject(exc, v); in PyErr_SetFromErrnoWithFilenameObject() 462 PyErr_SetObject(exc, v); in PyErr_SetExcFromWindowsErrWithFilenameObject() 568 PyErr_SetObject(exception, string); in PyErr_Format()
|
D | mactoolboxglue.c | 96 PyErr_SetObject(eobj, v); in PyErr_Mac()
|
/external/python/cpython3/Python/ |
D | errors.c | 83 PyErr_SetObject(PyObject *exception, PyObject *value) in PyErr_SetObject() function 156 PyErr_SetObject(PyExc_KeyError, tup); in _PyErr_SetKeyError() 163 PyErr_SetObject(exception, (PyObject *)NULL); in PyErr_SetNone() 170 PyErr_SetObject(exception, value); in PyErr_SetString() 574 PyErr_SetObject((PyObject *) Py_TYPE(v), v); in PyErr_SetFromErrnoWithFilenameObjects() 677 PyErr_SetObject((PyObject *) Py_TYPE(v), v); in PyErr_SetExcFromWindowsErrWithFilenameObjects() 790 PyErr_SetObject((PyObject *)Py_TYPE(error), error); in PyErr_SetImportErrorSubclass() 837 PyErr_SetObject(exception, string); in PyErr_FormatV()
|
D | codecs.c | 671 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_StrictErrors() 1160 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1178 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1239 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1275 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogatePassErrors() 1318 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors() 1352 PyErr_SetObject(PyExceptionInstance_Class(exc), exc); in PyCodec_SurrogateEscapeErrors()
|
D | context.c | 508 PyErr_SetObject(PyExc_KeyError, key); in context_tp_subscript() 723 PyErr_SetObject(PyExc_LookupError, (PyObject *)var); in contextvar_del() 932 PyErr_SetObject(PyExc_LookupError, (PyObject *)self); in _contextvars_ContextVar_get_impl()
|
/external/python/cpython3/Objects/ |
D | odictobject.c | 672 PyErr_SetObject(PyExc_KeyError, key); in _odict_add_new_node() 1078 PyErr_SetObject(PyExc_KeyError, key); in _odict_popkey_hash() 1205 PyErr_SetObject(PyExc_KeyError, key); in odict_copy() 1272 PyErr_SetObject(PyExc_KeyError, key); in OrderedDict_move_to_end_impl() 1280 PyErr_SetObject(PyExc_KeyError, key); in OrderedDict_move_to_end_impl() 1412 PyErr_SetObject(PyExc_KeyError, key); in odict_repr() 1718 PyErr_SetObject(PyExc_KeyError, di->di_current); in odictiter_nextkey() 1760 PyErr_SetObject(PyExc_KeyError, key); in odictiter_iternext()
|
D | genobject.c | 560 PyErr_SetObject(PyExc_StopIteration, value); in _PyGen_SetStopIterationValue() 576 PyErr_SetObject(PyExc_StopIteration, e); in _PyGen_SetStopIterationValue()
|
/external/python/cpython3/Modules/ |
D | parsermodule.c | 838 PyErr_SetObject(parser_error, err); in build_node_children() 918 PyErr_SetObject(parser_error, err); in build_node_children() 972 PyErr_SetObject(parser_error, tuple); in build_node_tree() 1041 PyErr_SetObject(parser_error, err); in build_node_tree()
|
D | _dbmmodule.c | 115 PyErr_SetObject(PyExc_KeyError, key); in dbm_subscript() 146 PyErr_SetObject(PyExc_KeyError, v); in dbm_ass_sub()
|
D | _gdbmmodule.c | 138 PyErr_SetObject(PyExc_KeyError, key); in dbm_subscript() 189 PyErr_SetObject(PyExc_KeyError, v); in dbm_ass_sub()
|
D | pyexpat.c | 128 PyErr_SetObject(ErrorObject, err); in set_error() 1486 PyErr_SetObject(PyExc_AttributeError, name); in xmlparse_setattro()
|
/external/python/cpython2/Modules/ |
D | bsddbmodule.c | 312 PyErr_SetObject(PyExc_KeyError, key); in bsddb_subscript() 371 PyErr_SetObject(PyExc_KeyError, key); in bsddb_ass_sub() 544 PyErr_SetObject(PyExc_KeyError, key); in bsddb_set_location()
|
D | cPickle.c | 417 PyErr_SetObject(ErrType,Py_None); in cPickle_ErrFormat() 420 PyErr_SetObject(ErrType,retval); in cPickle_ErrFormat() 751 PyErr_SetObject(PyExc_KeyError, id); in get() 2813 PyErr_SetObject(UnpickleableError, args); in save() 4205 PyErr_SetObject(BadPickleGet, py_str); in load_get() 4233 PyErr_SetObject(BadPickleGet, py_key); in load_binget() 4270 PyErr_SetObject(BadPickleGet, py_key); in load_long_binget()
|
D | parsermodule.c | 769 PyErr_SetObject(parser_error, err); in build_node_children() 835 PyErr_SetObject(parser_error, err); in build_node_children() 889 PyErr_SetObject(parser_error, tuple); in build_node_tree() 951 PyErr_SetObject(parser_error, err); in build_node_tree()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 116 PyErr_SetObject(PyExc_KeyError, key); in subscript()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 152 PyErr_SetObject
|
/external/python/cpython2/Include/ |
D | pyerrors.h | 77 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | connection.h | 239 PyErr_SetObject(BufferTooShort, result); in connection_recvbytes_into()
|
/external/python/cpython2/Doc/c-api/ |
D | exceptions.rst | 146 .. c:function:: void PyErr_SetObject(PyObject *type, PyObject *value) 162 This is a shorthand for ``PyErr_SetObject(type, Py_None)``. 187 and then calls ``PyErr_SetObject(type, object)``. On Unix, when the 218 :c:func:`FormatMessage`), and then calls ``PyErr_SetObject(PyExc_WindowsError,
|
/external/python/cpython3/Include/ |
D | pyerrors.h | 78 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
|
/external/python/cpython3/Modules/_ctypes/ |
D | callproc.c | 974 PyErr_SetObject(exc_class, s); in _ctypes_extend_error() 1038 PyErr_SetObject(ComError, obj); in GetComError()
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 101 .. c:function:: void PyErr_SetObject(PyObject *type, PyObject *value) 126 This is a shorthand for ``PyErr_SetObject(type, Py_None)``. 151 and then calls ``PyErr_SetObject(type, object)``. On Unix, when the 192 :c:func:`FormatMessage`), and then calls ``PyErr_SetObject(PyExc_WindowsError,
|
/external/python/cpython2/Modules/_ctypes/ |
D | callproc.c | 991 PyErr_SetObject(exc_class, s); in _ctypes_extend_error() 1063 PyErr_SetObject(ComError, obj); in GetComError()
|
/external/python/cpython3/PC/ |
D | python3.def | 153 PyErr_SetObject=python37.PyErr_SetObject
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 334 PyErr_SetObject:void::: 335 PyErr_SetObject:PyObject*:type:+1: 336 PyErr_SetObject:PyObject*:value:+1:
|