Lines Matching refs:PyInt_FromLong
47 return PyInt_FromLong((long) CDbestreadsize(self->ob_cdplayer)); in CD_bestreadsize()
140 return PyInt_FromLong((long) CDmsftoblock(self->ob_cdplayer, in CD_msftoblock()
274 return PyInt_FromLong(PyTryBlock); in CD_seek()
292 return PyInt_FromLong(PyTryBlock); in CD_seektrack()
309 return PyInt_FromLong(PyTryBlock); in CD_seekblock()
468 PyTuple_SetItem(args, 1, PyInt_FromLong((long) type)); in CD_callback()
475 v = PyInt_FromLong(((CDPROGNUM *) data)->value); in CD_callback()
510 v = PyInt_FromLong((long) *((unchar *) data)); in CD_callback()
739 return PyInt_FromLong((long) CDmsftoframe(min, sec, frame)); in CD_msftoframe()
767 PyDict_SetItemString(d, "audio", PyInt_FromLong((long) cd_audio)); in initcd()
768 PyDict_SetItemString(d, "pnum", PyInt_FromLong((long) cd_pnum)); in initcd()
769 PyDict_SetItemString(d, "index", PyInt_FromLong((long) cd_index)); in initcd()
770 PyDict_SetItemString(d, "ptime", PyInt_FromLong((long) cd_ptime)); in initcd()
771 PyDict_SetItemString(d, "atime", PyInt_FromLong((long) cd_atime)); in initcd()
772 PyDict_SetItemString(d, "catalog", PyInt_FromLong((long) cd_catalog)); in initcd()
773 PyDict_SetItemString(d, "ident", PyInt_FromLong((long) cd_ident)); in initcd()
774 PyDict_SetItemString(d, "control", PyInt_FromLong((long) cd_control)); in initcd()
778 PyInt_FromLong((long) CDDA_DATASIZE)); in initcd()
780 PyInt_FromLong((long) CDDA_BLOCKSIZE)); in initcd()
783 PyDict_SetItemString(d, "ERROR", PyInt_FromLong((long) CD_ERROR)); in initcd()
784 PyDict_SetItemString(d, "NODISC", PyInt_FromLong((long) CD_NODISC)); in initcd()
785 PyDict_SetItemString(d, "READY", PyInt_FromLong((long) CD_READY)); in initcd()
786 PyDict_SetItemString(d, "PLAYING", PyInt_FromLong((long) CD_PLAYING)); in initcd()
787 PyDict_SetItemString(d, "PAUSED", PyInt_FromLong((long) CD_PAUSED)); in initcd()
788 PyDict_SetItemString(d, "STILL", PyInt_FromLong((long) CD_STILL)); in initcd()
790 PyDict_SetItemString(d, "CDROM", PyInt_FromLong((long) CD_CDROM)); in initcd()