Searched defs:fh (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Runtime/r3/posix/
H A Dtimer-posix.cpp463 int fh = open("/dev/rtc", O_RDONLY); local
464 if (fh >= 0)
466 if ( ioctl(fh, RTC_IRQP_SET, 1024) < 0
467 || ioctl(fh, RTC_PIE_ON, 0) < 0)
469 ioctl(fh, F_SETFL, O_ASYNC);
470 ioctl(fh, F_SETOWN, getpid());
472 //close(fh);
H A Dfileio-posix.cpp205 int fh = open(pszNativeFilename, fOpenMode, fMode); local
212 if (fh < 0 && iErr == EINVAL)
215 fh = open(pszNativeFilename, fOpenMode, fMode);
218 else if (fh >= 0)
219 s_fHave_O_CLOEXEC = fcntl(fh, F_GETFD, 0) > 0 ? 1 : -1;
224 if (fh >= 0)
239 iErr = fcntl(fh, F_SETFD, FD_CLOEXEC) >= 0 ? 0 : errno;
249 iErr = fcntl(fh, F_NOCACHE, 1) >= 0 ? 0 : errno;
251 iErr = directio(fh, DIRECTIO_ON) >= 0 ? 0 : errno;
290 iErr = flock(fh, iLockO
[all...]
/vbox/src/VBox/Devices/Audio/
H A DAudioMixBuffer.cpp1083 RTFILE fh; local
1084 rc = RTFileOpen(&fh, "c:\\temp\\mixbuf_readcirc.pcm",
1088 RTFileWrite(fh, pvBuf, AUDIOMIXBUF_S2B(pMixBuf, cLenSrc1 + cLenSrc2), NULL);
1089 RTFileClose(fh);
1245 RTFILE fh; local
1246 rc = RTFileOpen(&fh, "c:\\temp\\mixbuf_writeat.pcm",
1250 RTFileWrite(fh, pvBuf, cbBuf, NULL);
1251 RTFileClose(fh);
1377 RTFILE fh; local
1378 RTFileOpen(&fh, "
[all...]
/vbox/src/VBox/Installer/win/Stub/
H A DVBoxStub.cpp285 RTFILE fh; local
300 rc = RTFileOpen(&fh, pszTempFile,
310 rc = RTFileWrite(fh, pvData, dwDataSize, &cbWritten);
316 if (RTFileIsValid(fh))
317 RTFileClose(fh);
/vbox/src/VBox/Runtime/r3/
H A Dstream.cpp479 int fh = fileno(pStream->pFile); local
480 if (isatty(fh))
484 HANDLE hCon = (HANDLE)_get_osfhandle(fh);
492 int rcPosix = tcgetattr(fh, &Termios);
513 int fh = fileno(pStream->pFile); local
514 if (isatty(fh))
518 HANDLE hCon = (HANDLE)_get_osfhandle(fh);
533 int rcPosix = tcgetattr(fh, &Termios);
541 rcPosix = tcsetattr(fh, TCSAFLUSH, &Termios);
599 int fh local
712 int fh = fileno(pStream->pFile); local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprsocket.c1612 PR_IMPLEMENT(void) PR_FD_SET(PRFileDesc *fh, PR_fd_set *set) argument
1616 set->harray[set->hsize++] = fh;
1619 PR_IMPLEMENT(void) PR_FD_CLR(PRFileDesc *fh, PR_fd_set *set) argument
1624 if (set->harray[index] == fh) {
1633 PR_IMPLEMENT(PRInt32) PR_FD_ISSET(PRFileDesc *fh, PR_fd_set *set)
1637 if (set->harray[index] == fh) {
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceControlProcess.cpp1408 RTFILE fh; local
1409 rc = RTFileOpen(&fh, szFile, RTFILE_O_OPEN_CREATE | RTFILE_O_WRITE | RTFILE_O_DENY_WRITE);
1412 rc = RTFileWrite(fh, pvBuf, cbBuf, NULL /* pcbWritten */);
1413 RTFileClose(fh);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c4688 PR_IMPLEMENT(void) PR_FD_SET(PRFileDesc *fh, PR_fd_set *set) argument
4694 set->harray[set->hsize++] = fh;
4697 PR_IMPLEMENT(void) PR_FD_CLR(PRFileDesc *fh, PR_fd_set *set) argument
4704 if (set->harray[index] == fh) {
4713 PR_IMPLEMENT(PRInt32) PR_FD_ISSET(PRFileDesc *fh, PR_fd_set *set)
4719 if (set->harray[index] == fh) {

Completed in 110 milliseconds