Lines Matching refs:BsddbError
46 { PyErr_SetString(BsddbError, \
50 static PyObject *BsddbError; variable
77 PyErr_SetFromErrno(BsddbError); in newdbhashobject()
91 PyErr_SetString(BsddbError, "can't allocate lock"); in newdbhashobject()
127 PyErr_SetFromErrno(BsddbError); in newdbbtobject()
141 PyErr_SetString(BsddbError, "can't allocate lock"); in newdbbtobject()
186 PyErr_SetFromErrno(BsddbError); in newdbrnobject()
200 PyErr_SetString(BsddbError, "can't allocate lock"); in newdbrnobject()
260 PyErr_SetFromErrno(BsddbError); in bsddb_length()
310 PyErr_SetFromErrno(BsddbError); in bsddb_subscript()
369 PyErr_SetFromErrno(BsddbError); in bsddb_ass_sub()
393 PyErr_SetFromErrno(BsddbError); in bsddb_close()
455 PyErr_SetFromErrno(BsddbError); in bsddb_keys()
495 PyErr_SetFromErrno(BsddbError); in bsddb_has_key()
542 PyErr_SetFromErrno(BsddbError); in bsddb_set_location()
590 PyErr_SetFromErrno(BsddbError); in bsddb_seq()
637 PyErr_SetFromErrno(BsddbError); in bsddb_sync()
708 PyErr_SetString(BsddbError, in bsdhashopen()
719 PyErr_SetString(BsddbError, in bsdhashopen()
759 PyErr_SetString(BsddbError, in bsdbtopen()
770 PyErr_SetString(BsddbError, in bsdbtopen()
813 PyErr_SetString(BsddbError, in bsdrnopen()
824 PyErr_SetString(BsddbError, in bsdrnopen()
830 PyErr_SetString(BsddbError, in bsdrnopen()
861 BsddbError = PyErr_NewException("bsddb.error", NULL, NULL); in initbsddb185()
862 if (BsddbError != NULL) in initbsddb185()
863 PyDict_SetItemString(d, "error", BsddbError); in initbsddb185()