Lines Matching refs:RTFileToNative
358 if (close(RTFileToNative(hFile)) == 0)
378 RTR3DECL(RTHCINTPTR) RTFileToNative(RTFILE hFile)
447 off_t offCurrent = lseek(RTFileToNative(hFile), (off_t)offSeek, aSeekRecode[uMethod]);
466 ssize_t cbRead = read(RTFileToNative(hFile), pvBuf, cbToRead);
477 ssize_t cbReadPart = read(RTFileToNative(hFile), (char*)pvBuf + cbRead, cbToRead - cbRead);
502 ssize_t cbWritten = write(RTFileToNative(hFile), pvBuf, cbToWrite);
513 ssize_t cbWrittenPart = write(RTFileToNative(hFile), (const char *)pvBuf + cbWritten, cbToWrite - cbWritten);
538 if (chsize(RTFileToNative(hFile), (off_t)cbSize) == 0)
544 if (ftruncate(RTFileToNative(hFile), (off_t)cbSize) == 0)
557 if (!fstat(RTFileToNative(hFile), &st))
577 if (!ioctl(RTFileToNative(hFile), DKIOCGETBLOCKCOUNT, &cBlocks))
580 if (!ioctl(RTFileToNative(hFile), DKIOCGETBLOCKSIZE, &cbBlock))
590 if (!ioctl(RTFileToNative(hFile), DKIOCGMEDIAINFO, &MediaInfo))
601 if (!ioctl(RTFileToNative(hFile), DIOCGMEDIASIZE, &cbMedia))
669 int fFlags = fcntl(RTFileToNative(hFile), F_GETFD);
679 if (fsync(RTFileToNative(hFile)))
688 int rc = ioctl(RTFileToNative(hFile), ulRequest, pvData);
704 if (fchmod(RTFileToNative(hFile), fMode & RTFS_UNIX_MASK))
721 if (fchown(RTFileToNative(hFile), uidNative, gidNative))