Searched refs:uMethod (Results 1 - 18 of 18) sorted by relevance

/vbox/src/VBox/Runtime/r3/win/
H A Dfileio-win.cpp63 * @param uMethod Seek method. (The windows one!)
65 DECLINLINE(bool) MySetFilePointer(RTFILE hFile, uint64_t offSeek, uint64_t *poffNew, unsigned uMethod) argument
74 off.LowPart = SetFilePointer((HANDLE)RTFileToNative(hFile), off.LowPart, &off.HighPart, uMethod);
80 off.LowPart = SetFilePointer((HANDLE)RTFileToNative(hFile), off.LowPart, &off.HighPart, uMethod);
84 fRc = SetFilePointerEx((HANDLE)RTFileToNative(hFile), off, &off, uMethod);
99 * @param uMethod The seek method.
101 DECLINLINE(bool) IsBeyondLimit(RTFILE hFile, uint64_t offSeek, unsigned uMethod) argument
115 if (!MySetFilePointer(hFile, offSeek, NULL, uMethod))
377 RTR3DECL(int) RTFileSeek(RTFILE hFile, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument
389 if (uMethod > RTFILE_SEEK_EN
[all...]
/vbox/src/VBox/Runtime/common/dvm/
H A Ddvmvfs.cpp278 static DECLCALLBACK(int) rtDvmVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument
286 switch (uMethod)
/vbox/src/VBox/HostServices/SharedFolders/
H A Dteststubs.h66 extern int testRTFileSeek(RTFILE hFile, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);
/vbox/src/VBox/Runtime/r3/posix/
H A Dfileio-posix.cpp420 RTR3DECL(int) RTFileSeek(RTFILE hFile, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument
432 if (uMethod > RTFILE_SEEK_END)
434 AssertMsgFailed(("Invalid uMethod=%d\n", uMethod));
447 off_t offCurrent = lseek(RTFileToNative(hFile), (off_t)offSeek, aSeekRecode[uMethod]);
/vbox/src/VBox/Storage/
H A DVDIfVfs.cpp286 static DECLCALLBACK(int) vdIfVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument
302 switch (uMethod)
H A DVDVfs.cpp413 static DECLCALLBACK(int) vdVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument
421 switch (uMethod)
/vbox/src/VBox/Runtime/common/vfs/
H A Dvfsstdfile.cpp359 static DECLCALLBACK(int) rtVfsStdFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument
363 int rc = RTFileSeek(pThis->hFile, offSeek, uMethod, &offActual);
H A Dvfsmemory.cpp635 static DECLCALLBACK(int) rtVfsMemFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual)
643 switch (uMethod)
H A Dvfsbase.cpp2611 RTDECL(int) RTVfsFileSeek(RTVFSFILE hVfsFile, RTFOFF offSeek, uint32_t uMethod, uint64_t *poffActual) argument
2617 AssertReturn( uMethod == RTFILE_SEEK_BEGIN
2618 || uMethod == RTFILE_SEEK_CURRENT
2619 || uMethod == RTFILE_SEEK_END, VERR_INVALID_PARAMETER);
2624 int rc = pThis->pOps->pfnSeek(pThis->Stream.Base.pvThis, offSeek, uMethod, &offActual);
/vbox/include/iprt/
H A Dvfs.h863 * @param uMethod The seek emthod.
868 RTDECL(int) RTVfsFileSeek(RTVFSFILE hVfsFile, RTFOFF offSeek, uint32_t uMethod, uint64_t *poffActual);
H A Dfile.h352 * @param uMethod Seek method, i.e. one of the RTFILE_SEEK_* defines.
356 RTDECL(int) RTFileSeek(RTFILE File, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);
H A Dvfslowlevel.h818 * @param uMethod The seek method, i.e. what the seek is relative to.
822 DECLCALLBACKMEMBER(int, pfnSeek)(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual);
/vbox/src/VBox/VMM/VMMR3/
H A DFTM.cpp517 static DECLCALLBACK(int) ftmR3TcpOpSeek(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument
519 NOREF(pvUser); NOREF(offSeek); NOREF(uMethod); NOREF(poffActual);
H A DSSM.cpp1983 static DECLCALLBACK(int) ssmR3FileSeek(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual)
1985 return RTFileSeek((RTFILE)(uintptr_t)pvUser, offSeek, uMethod, poffActual);
2895 * @param uMethod The seek method.
2898 static int ssmR3StrmSeek(PSSMSTRM pStrm, int64_t off, uint32_t uMethod, uint32_t u32CurCRC)
2904 int rc = pStrm->pOps->pfnSeek(pStrm->pvUser, off, uMethod, &offStream);
/vbox/src/VBox/Runtime/common/zip/
H A Dxarvfs.cpp1076 static DECLCALLBACK(int) rtZipXarFssFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument
1081 switch (uMethod)
/vbox/src/VBox/Main/src-client/
H A DConsoleImplTeleporter.cpp471 static DECLCALLBACK(int) teleporterTcpOpSeek(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument
/vbox/include/VBox/vmm/
H A Dssm.h1100 * @param uMethod RTFILE_SEEK_BEGIN, RTFILE_SEEK_END or
1104 DECLCALLBACKMEMBER(int, pfnSeek)(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);
/vbox/src/VBox/HostServices/SharedFolders/testcase/
H A DtstSharedFolderService.cpp296 extern int testRTFileSeek(RTFILE hFile, int64_t offSeek, unsigned uMethod, argument
299 /* RTPrintf("%s : hFile=%p, offSeek=%llu, uMethod=%u\n", __PRETTY_FUNCTION__,
300 hFile, LLUIFY(offSeek), uMethod); */

Completed in 110 milliseconds