Home
last modified time | relevance | path

Searched refs:PyErr_NewException (Results 1 – 25 of 99) sorted by relevance

1234

/external/python/cpython2/Modules/_sqlite/
Dmodule.c341 if (!(pysqlite_Error = PyErr_NewException(MODULE_NAME ".Error", PyExc_StandardError, NULL))) { in init_sqlite3()
346 … if (!(pysqlite_Warning = PyErr_NewException(MODULE_NAME ".Warning", PyExc_StandardError, NULL))) { in init_sqlite3()
353 …if (!(pysqlite_InterfaceError = PyErr_NewException(MODULE_NAME ".InterfaceError", pysqlite_Error, … in init_sqlite3()
358 …if (!(pysqlite_DatabaseError = PyErr_NewException(MODULE_NAME ".DatabaseError", pysqlite_Error, NU… in init_sqlite3()
365 …if (!(pysqlite_InternalError = PyErr_NewException(MODULE_NAME ".InternalError", pysqlite_DatabaseE… in init_sqlite3()
370 …if (!(pysqlite_OperationalError = PyErr_NewException(MODULE_NAME ".OperationalError", pysqlite_Dat… in init_sqlite3()
375 …if (!(pysqlite_ProgrammingError = PyErr_NewException(MODULE_NAME ".ProgrammingError", pysqlite_Dat… in init_sqlite3()
380 …if (!(pysqlite_IntegrityError = PyErr_NewException(MODULE_NAME ".IntegrityError", pysqlite_Databas… in init_sqlite3()
385 …if (!(pysqlite_DataError = PyErr_NewException(MODULE_NAME ".DataError", pysqlite_DatabaseError, NU… in init_sqlite3()
390 …if (!(pysqlite_NotSupportedError = PyErr_NewException(MODULE_NAME ".NotSupportedError", pysqlite_D… in init_sqlite3()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c384 if (!(pysqlite_Error = PyErr_NewException(MODULE_NAME ".Error", PyExc_Exception, NULL))) { in PyInit__sqlite3()
389 if (!(pysqlite_Warning = PyErr_NewException(MODULE_NAME ".Warning", PyExc_Exception, NULL))) { in PyInit__sqlite3()
396 …if (!(pysqlite_InterfaceError = PyErr_NewException(MODULE_NAME ".InterfaceError", pysqlite_Error, … in PyInit__sqlite3()
401 …if (!(pysqlite_DatabaseError = PyErr_NewException(MODULE_NAME ".DatabaseError", pysqlite_Error, NU… in PyInit__sqlite3()
408 …if (!(pysqlite_InternalError = PyErr_NewException(MODULE_NAME ".InternalError", pysqlite_DatabaseE… in PyInit__sqlite3()
413 …if (!(pysqlite_OperationalError = PyErr_NewException(MODULE_NAME ".OperationalError", pysqlite_Dat… in PyInit__sqlite3()
418 …if (!(pysqlite_ProgrammingError = PyErr_NewException(MODULE_NAME ".ProgrammingError", pysqlite_Dat… in PyInit__sqlite3()
423 …if (!(pysqlite_IntegrityError = PyErr_NewException(MODULE_NAME ".IntegrityError", pysqlite_Databas… in PyInit__sqlite3()
428 …if (!(pysqlite_DataError = PyErr_NewException(MODULE_NAME ".DataError", pysqlite_DatabaseError, NU… in PyInit__sqlite3()
433 …if (!(pysqlite_NotSupportedError = PyErr_NewException(MODULE_NAME ".NotSupportedError", pysqlite_D… in PyInit__sqlite3()
/external/python/cpython2/Mac/Modules/
DautoGIL.c144 AutoGILError = PyErr_NewException("autoGIL.AutoGILError", in initautoGIL()
/external/python/cpython2/Modules/
Dfpetestmodule.c183 fpe_error = PyErr_NewException("fpetest.error", NULL, NULL); in initfpetest()
Dxxmodule.c363 ErrorObject = PyErr_NewException("xx.error", NULL, NULL); in initxx()
Dfpectlmodule.c296 fpe_error = PyErr_NewException("fpectl.error", NULL, NULL); in initfpectl()
Ddlmodule.c258 Dlerror = x = PyErr_NewException("dl.error", NULL, NULL); in initdl()
Dresource.c257 ResourceError = PyErr_NewException("resource.error", in initresource()
Dnismodule.c445 NisError = PyErr_NewException("nis.error", NULL, NULL); in initnis()
Ddbmmodule.c411 DbmError = PyErr_NewException("dbm.error", NULL, NULL); in initdbm()
D_curses_panel.c487 PyCursesError = PyErr_NewException("_curses_panel.error", NULL, NULL); in init_curses_panel()
Dgdbmmodule.c541 DbmError = PyErr_NewException("gdbm.error", NULL, NULL); in initgdbm()
Dsunaudiodev.c464 SunAudioError = PyErr_NewException("sunaudiodev.error", NULL, NULL); in initsunaudiodev()
Dlinuxaudiodev.c481 LinuxAudioError = PyErr_NewException("linuxaudiodev.error", NULL, NULL); in initlinuxaudiodev()
/external/python/cpython3/Modules/
Dxxmodule.c363 ErrorObject = PyErr_NewException("xx.error", NULL, NULL); in xx_exec()
Dxxlimited.c250 ErrorObject = PyErr_NewException("xxlimited.error", NULL, NULL); in xx_modexec()
Dnismodule.c465 NisError = PyErr_NewException("nis.error", NULL, NULL); in PyInit_nis()
D_dbmmodule.c498 DbmError = PyErr_NewException("_dbm.error", in PyInit__dbm()
Dbinascii.c1601 Error = PyErr_NewException("binascii.Error", PyExc_ValueError, NULL); in PyInit_binascii()
1603 Incomplete = PyErr_NewException("binascii.Incomplete", NULL, NULL); in PyInit_binascii()
/external/python/cpython2/Python/
Derrors.c577 PyErr_NewException(char *name, PyObject *base, PyObject *dict) in PyErr_NewException() function
653 ret = PyErr_NewException(name, base, dict); in PyErr_NewExceptionWithDoc()
Dmactoolboxglue.c77 PyMac_OSErrException = PyErr_NewException("MacOS.Error", NULL, NULL); in PyMac_GetOSErrException()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c571 SwiError=PyErr_NewException("swi.error", NULL, NULL); in initswi()
573 ArgError=PyErr_NewException("swi.ArgError", NULL, NULL); in initswi()
/external/python/cpython2/PC/os2vacpp/
Dpython.def141 PyErr_NewException
/external/python/cpython2/Include/
Dpyerrors.h224 PyAPI_FUNC(PyObject *) PyErr_NewException(
/external/python/cpython3/Python/
Derrors.c859 PyErr_NewException(const char *name, PyObject *base, PyObject *dict) in PyErr_NewException() function
936 ret = PyErr_NewException(name, base, dict); in PyErr_NewExceptionWithDoc()

1234