Searched refs:DbmError (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Modules/ |
D | gdbmmodule.c | 41 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \ 46 static PyObject *DbmError; variable 70 PyErr_SetFromErrno(DbmError); in newdbmobject() 72 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject() 93 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length() 124 PyErr_SetString(DbmError, in dbm_subscript() 150 PyErr_SetString(DbmError, in dbm_ass_sub() 171 PyErr_SetFromErrno(DbmError); in dbm_ass_sub() 173 PyErr_SetString(DbmError, in dbm_ass_sub() 187 PyErr_SetString(DbmError, in dbm_contains() [all …]
|
D | dbmmodule.c | 44 { PyErr_SetString(DbmError, "DBM object has already been closed"); \ 47 static PyObject *DbmError; variable 59 PyErr_SetFromErrno(DbmError); in newdbmobject() 80 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length() 115 PyErr_SetString(DbmError, ""); in dbm_subscript() 134 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub() 154 PyErr_SetString(DbmError, in dbm_ass_sub() 161 PyErr_SetString(DbmError, ""); in dbm_ass_sub() 181 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_contains() 312 PyErr_SetString(DbmError, "cannot add item to database"); in dbm_setdefault() [all …]
|
/external/python/cpython3/Modules/ |
D | _gdbmmodule.c | 49 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \ 54 static PyObject *DbmError; variable 78 PyErr_SetFromErrno(DbmError); in newdbmobject() 80 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject() 101 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length() 132 PyErr_SetString(DbmError, in dbm_subscript() 182 PyErr_SetString(DbmError, in dbm_ass_sub() 202 PyErr_SetFromErrno(DbmError); in dbm_ass_sub() 204 PyErr_SetString(DbmError, in dbm_ass_sub() 316 PyErr_SetString(DbmError, in dbm_contains() [all …]
|
D | _dbmmodule.c | 49 { PyErr_SetString(DbmError, "DBM object has already been closed"); \ 52 static PyObject *DbmError; variable 65 PyErr_SetFromErrno(DbmError); in newdbmobject() 86 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length() 120 PyErr_SetString(DbmError, ""); in dbm_subscript() 139 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub() 158 PyErr_SetString(DbmError, in dbm_ass_sub() 165 PyErr_SetString(DbmError, ""); in dbm_ass_sub() 236 PyErr_SetString(DbmError, in dbm_contains() 346 PyErr_SetString(DbmError, "cannot add item to database"); in _dbm_dbm_setdefault_impl() [all …]
|