Lines Matching refs:CdError
15 static PyObject *CdError; /* exception cd.error */ variable
57 PyErr_SetFromErrno(CdError); /* XXX - ??? */ in CD_close()
77 PyErr_SetString(CdError, "no disc in player"); in CD_eject()
79 PyErr_SetString(CdError, "eject failed"); in CD_eject()
96 PyErr_SetFromErrno(CdError); /* XXX - ??? */ in CD_getstatus()
121 PyErr_SetString(CdError, "no disc in player"); in CD_gettrackinfo()
123 PyErr_SetString(CdError, "gettrackinfo failed"); in CD_gettrackinfo()
156 PyErr_SetString(CdError, "no disc in player"); in CD_play()
158 PyErr_SetString(CdError, "play failed"); in CD_play()
178 PyErr_SetString(CdError, "no disc in player"); in CD_playabs()
180 PyErr_SetString(CdError, "playabs failed"); in CD_playabs()
200 PyErr_SetString(CdError, "no disc in player"); in CD_playtrack()
202 PyErr_SetString(CdError, "playtrack failed"); in CD_playtrack()
223 PyErr_SetString(CdError, "no disc in player"); in CD_playtrackabs()
225 PyErr_SetString(CdError, "playtrackabs failed"); in CD_playtrackabs()
250 PyErr_SetFromErrno(CdError); in CD_readda()
270 PyErr_SetFromErrno(CdError); in CD_seek()
288 PyErr_SetFromErrno(CdError); in CD_seektrack()
305 PyErr_SetFromErrno(CdError); in CD_seekblock()
323 PyErr_SetString(CdError, "no disc in player"); in CD_stop()
325 PyErr_SetString(CdError, "stop failed"); in CD_stop()
344 PyErr_SetString(CdError, "no disc in player"); in CD_togglepause()
346 PyErr_SetString(CdError, "togglepause failed"); in CD_togglepause()
438 PyErr_SetFromErrno(CdError); in CD_open()
724 PyErr_SetString(CdError, "createparser failed"); in CD_createparser()
763 CdError = PyErr_NewException("cd.error", NULL, NULL); in initcd()
764 PyDict_SetItemString(d, "error", CdError); in initcd()