Searched refs:DbmError (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Modules/ |
D | _gdbmmodule.c | 49 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \ 54 static PyObject *DbmError; variable 78 PyErr_SetFromErrnoWithFilename(DbmError, file); 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() 153 PyErr_SetString(DbmError, in dbm_subscript() 202 PyErr_SetString(DbmError, in dbm_ass_sub() 213 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in dbm_ass_sub() 225 PyErr_SetFromErrno(DbmError); in dbm_ass_sub() 227 PyErr_SetString(DbmError, in dbm_ass_sub() [all …]
|
D | _dbmmodule.c | 50 { PyErr_SetString(DbmError, "DBM object has already been closed"); \ 53 static PyObject *DbmError; variable 67 PyErr_SetFromErrnoWithFilename(DbmError, file); in newdbmobject() 88 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length() 122 PyErr_SetString(DbmError, ""); in dbm_subscript() 141 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub() 154 PyErr_SetString(DbmError, "cannot delete item from database"); in dbm_ass_sub() 167 PyErr_SetString(DbmError, in dbm_ass_sub() 174 PyErr_SetString(DbmError, ""); in dbm_ass_sub() 245 PyErr_SetString(DbmError, in dbm_contains() [all …]
|
/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 …]
|