Home
last modified time | relevance | path

Searched refs:cd_dev (Results 1 – 25 of 45) sorted by relevance

12

/dports/sysutils/libudisks/udisks-udisks-2.9.2/src/tests/dbus-tests/
H A Dtest_40_drive.py31 self.cd_dev = os.listdir(dirs[0])
32 self.assertEqual(len(self.cd_dev), 1)
33 self.cd_dev = '/dev/' + self.cd_dev[0]
34 self.assertTrue(os.path.exists(self.cd_dev))
36 self.cd_device = self.get_device(self.cd_dev)
41 device = self.cd_dev.split('/')[-1]
58 dev = self.get_device(self.cd_dev)
64 for dev in (self.vdevs[0], self.cd_dev):
94 ret_code, wwn = self.run_command('lsblk -d -no WWN %s' % self.cd_dev)
H A Dtest_50_block.py335 self.cd_dev = os.listdir(dirs[0])
336 self.assertEqual(len(self.cd_dev), 1)
337 self.cd_dev = '/dev/' + self.cd_dev[0]
338 self.assertTrue(os.path.exists(self.cd_dev))
340 self.cd_device = self.get_device(self.cd_dev)
343 device = self.cd_dev.split('/')[-1]
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/
H A Dcd_linux.c49 static char cd_dev[64] = _PATH_DEV "cdrom"; variable
186 strncpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDDrv_InitDevice()
187 cd_dev[sizeof(cd_dev) - 1] = 0; in CDDrv_InitDevice()
190 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) { in CDDrv_InitDevice()
191 Con_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev, in CDDrv_InitDevice()
/dports/games/xonotic/Xonotic/source/darkplaces/
H A Dcd_bsd.c46 static char cd_dev[64] = DEFAULT_CD_DEVICE; variable
257 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
265 if ((cdfile = opendisk(cd_dev, O_RDONLY, buff, sizeof(buff), 0)) == -1) in CDAudio_SysStartup()
267 if ((cdfile = open(cd_dev, O_RDONLY)) < 0) in CDAudio_SysStartup()
271 cd_dev, errno); in CDAudio_SysStartup()
H A Dcd_linux.c38 static char cd_dev[64] = "/dev/cdrom"; variable
236 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
241 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) in CDAudio_SysStartup()
244 cd_dev, errno); in CDAudio_SysStartup()
/dports/games/nexuiz/Nexuiz/sources/darkplaces/
H A Dcd_bsd.c46 static char cd_dev[64] = DEFAULT_CD_DEVICE; variable
257 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
265 if ((cdfile = opendisk(cd_dev, O_RDONLY, buff, sizeof(buff), 0)) == -1) in CDAudio_SysStartup()
267 if ((cdfile = open(cd_dev, O_RDONLY)) < 0) in CDAudio_SysStartup()
271 cd_dev, errno); in CDAudio_SysStartup()
H A Dcd_linux.c38 static char cd_dev[64] = "/dev/cdrom"; variable
236 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
241 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) in CDAudio_SysStartup()
244 cd_dev, errno); in CDAudio_SysStartup()
/dports/games/darkplaces/darkplaces/
H A Dcd_bsd.c46 static char cd_dev[64] = DEFAULT_CD_DEVICE; variable
257 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
265 if ((cdfile = opendisk(cd_dev, O_RDONLY, buff, sizeof(buff), 0)) == -1) in CDAudio_SysStartup()
267 if ((cdfile = open(cd_dev, O_RDONLY)) < 0) in CDAudio_SysStartup()
271 cd_dev, errno); in CDAudio_SysStartup()
H A Dcd_linux.c38 static char cd_dev[64] = "/dev/cdrom"; variable
236 strlcpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_SysInit()
241 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) in CDAudio_SysStartup()
244 cd_dev, errno); in CDAudio_SysStartup()
/dports/games/quakeforge/quakeforge-0.7.2/libs/audio/
H A Dcd_sgi.c63 static char cd_dev[] = "/dev/cdrom"; variable
340 strncpy (cd_dev, com_argv[i + 1], sizeof (cd_dev)); in I_SGI_Init()
341 cd_dev[sizeof (cd_dev) - 1] = 0; in I_SGI_Init()
344 cdp = CDopen (cd_dev, "r"); in I_SGI_Init()
347 Sys_Printf ("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev, in I_SGI_Init()
/dports/games/tenebrae/tenebrae_0/
H A Dcd_linux.c50 static char cd_dev[64] = "/dev/cdrom"; variable
384 strncpy(cd_dev, com_argv[i + 1], sizeof(cd_dev)); in CDAudio_Init()
385 cd_dev[sizeof(cd_dev) - 1] = 0; in CDAudio_Init()
388 if ((cdfile = open(cd_dev, O_RDONLY)) == -1) { in CDAudio_Init()
389 Con_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev, errno); in CDAudio_Init()
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/
H A Dcd_sdl.c53 static int cd_dev = -1; variable
486 cd_dev = i; in CDAudio_Init()
490 if (cd_dev == -1) in CDAudio_Init()
497 if (cd_dev == -1) in CDAudio_Init()
498 cd_dev = 0; /* default drive */ in CDAudio_Init()
500 cd_handle = SDL_CDOpen(cd_dev); in CDAudio_Init()
504 __thisfunc__, SDL_CDName(cd_dev), SDL_GetError()); in CDAudio_Init()
513 Con_Printf("CDAudio initialized (SDL, using %s)\n", SDL_CDName(cd_dev)); in CDAudio_Init()
539 cd_dev = -1; in CDAudio_Shutdown()
H A Dcd_linux.c52 static const char *cd_dev = default_dev; variable
438 cd_dev = com_argv[i + 1]; in CDAudio_Init()
440 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) in CDAudio_Init()
444 __thisfunc__, cd_dev, i, strerror(i)); in CDAudio_Init()
H A Dcd_bsd.c58 static const char *cd_dev = default_dev; variable
462 cd_dev = com_argv[i + 1]; in CDAudio_Init()
464 if ((cdfile = open(cd_dev, O_RDONLY | O_NONBLOCK)) == -1) in CDAudio_Init()
468 __thisfunc__, cd_dev, i, strerror(i)); in CDAudio_Init()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/linux_x/
H A Di_cdmus_fbsd.c65 static char cd_dev[64] = "/dev/cdrom"; variable
294 strncpy(cd_dev, M_GetNextParm() , sizeof(cd_dev)); in I_InitCD()
295 cd_dev[sizeof(cd_dev) - 1] = 0; in I_InitCD()
298 if ((cdfile = open(cd_dev, O_RDONLY)) == -1) { in I_InitCD()
300 CONS_Printf("I_InitCD: open of \"%s\" failed (%i)\n", cd_dev, myerrno); in I_InitCD()
306 …"-------------------------------------\n", cd_dev); // Shall we add a line about this in the READM… in I_InitCD()
H A Di_cdmus.c102 static char cd_dev[64] = "/dev/cdrom"; variable
376 strncpy(cd_dev, M_GetNextParm(), sizeof(cd_dev)); in I_InitCD()
377 cd_dev[sizeof(cd_dev) - 1] = 0; in I_InitCD()
397 cd_fd = open(cd_dev, O_RDONLY|O_NONBLOCK); in open_cdrom()
402 cd_dev, strerror(myerrno)); in open_cdrom()
411 "-------------------------------------\n", cd_dev); in open_cdrom()
422 CONS_Printf( "CD %s open\n", cd_dev ); in open_cdrom()
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dcd_sdl.c51 static int cd_dev = -1; variable
528 cd_dev = i; in CDAudio_Init()
532 if (cd_dev == -1) in CDAudio_Init()
539 if (cd_dev == -1) in CDAudio_Init()
540 cd_dev = 0; /* default drive */ in CDAudio_Init()
542 cd_handle = SDL_CDOpen(cd_dev); in CDAudio_Init()
546 SDL_CDName(cd_dev), SDL_GetError()); in CDAudio_Init()
555 Con_Printf("CDAudio initialized (SDL, using %s)\n", SDL_CDName(cd_dev)); in CDAudio_Init()
584 cd_dev = -1; in CDAudio_Shutdown()
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/
H A Dcd_linux.c55 static char cd_dev[64] = "/dev/cdrom"; variable
612 strncpy(cd_dev, com_argv[i + 1], sizeof(cd_dev));
613 cd_dev[sizeof(cd_dev) - 1] = 0;
616 if ((cdfile = open(cd_dev, O_RDONLY)) == -1) {
617 Con_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev, errno);
/dports/games/vavoom/vavoom-1.33/source/
H A Dsnd_audiocd_bsd.cpp97 VStr cd_dev = "/dev/cdrom"; in Init() local
101 cd_dev = p; in Init()
104 CDFile = open(*cd_dev, O_RDONLY); in Init()
108 *cd_dev, errno); in Init()
H A Dsnd_audiocd_linux.cpp94 VStr cd_dev = "/dev/cdrom"; in Init() local
98 cd_dev = p; in Init()
101 CDFile = open(*cd_dev, O_RDONLY); in Init()
105 *cd_dev, errno); in Init()
/dports/games/r1q2/r1q2-8012_5/linux/
H A Dcd_linux.c37 cvar_t *cd_dev; variable
374 cd_dev = Cvar_Get("cd_dev", "/dev/cdrom", CVAR_ARCHIVE); in CDAudio_Init()
378 cdfile = open(cd_dev->string, O_RDONLY); in CDAudio_Init()
383 Com_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev->string, errno); in CDAudio_Init()
/dports/games/q2p/Q2P-0.2-2006-12-31/unix/
H A Dcd_linux.c56 cvar_t *cd_dev; variable
430 cd_dev = Cvar_Get("cd_dev", "/dev/cdrom", CVAR_ARCHIVE); in CDAudio_Init()
434 cdfile = open(cd_dev->string, O_RDONLY | O_NONBLOCK | O_EXCL); in CDAudio_Init()
439 Com_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev->string, errno); in CDAudio_Init()
H A Dcd_freebsd.c58 cvar_t *cd_dev; variable
451 cd_dev = Cvar_Get("cd_dev", "/dev/acd0", CVAR_ARCHIVE); in CDAudio_Init()
455 cdfile = open(cd_dev->string, O_RDONLY | O_NONBLOCK | O_EXCL); in CDAudio_Init()
460 Com_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev->string, errno); in CDAudio_Init()
/dports/games/qudos/QuDos-0.40.1-src/src/unix/
H A Dcd_linux.c54 cvar_t *cd_dev; variable
428 cd_dev = Cvar_Get("cd_dev", "/dev/cdrom", CVAR_ARCHIVE); in CDAudio_Init()
432 cdfile = open(cd_dev->string, O_RDONLY | O_NONBLOCK | O_EXCL); in CDAudio_Init()
437 Com_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev->string, errno); in CDAudio_Init()
/dports/games/q2pro/q2pro/source/
H A Dcd_linux.c59 cvar_t *cd_dev; variable
503 cd_dev = Cvar_Get("cd_dev", "/dev/cdrom", CVAR_ARCHIVE);
507 cdfile = open(cd_dev->string, O_RDONLY);
512 Com_Printf("CDAudio_Init: open of \"%s\" failed (%i)\n", cd_dev->string, errno);

12