/vbox/src/VBox/Storage/ |
H A D | VDIfVfs.cpp | 286 static DECLCALLBACK(int) vdIfVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument 307 offSeek += pThis->offCurPos; 310 offSeek = cbFile + offSeek; 317 if (offSeek < 0) 318 offSeek = 0; 319 else if (offSeek > (RTFOFF)cbFile) 320 offSeek = cbFile; 323 pThis->offCurPos = offSeek; 325 *poffActual = offSeek; [all...] |
H A D | VDVfs.cpp | 413 static DECLCALLBACK(int) vdVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument 445 if (offSeek == 0) 447 else if (offSeek > 0) 449 offNew = offWrt + offSeek; 454 else if ((uint64_t)-offSeek < offWrt) 455 offNew = offWrt + offSeek;
|
/vbox/src/VBox/Runtime/common/dvm/ |
H A D | dvmvfs.cpp | 278 static DECLCALLBACK(int) rtDvmVfsFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument 310 if (offSeek == 0) 312 else if (offSeek > 0) 314 offNew = offWrt + offSeek; 319 else if ((uint64_t)-offSeek < offWrt) 320 offNew = offWrt + offSeek;
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsstdfile.cpp | 359 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 D | vfsbase.cpp | 2611 RTDECL(int) RTVfsFileSeek(RTVFSFILE hVfsFile, RTFOFF offSeek, uint32_t uMethod, uint64_t *poffActual) argument 2624 int rc = pThis->pOps->pfnSeek(pThis->Stream.Base.pvThis, offSeek, uMethod, &offActual);
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | fileio-posix.cpp | 420 RTR3DECL(int) RTFileSeek(RTFILE hFile, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument 439 if ( sizeof(off_t) < sizeof(offSeek) 440 && ( (offSeek > 0 && (unsigned)(offSeek >> 32) != 0) 441 || (offSeek < 0 && (unsigned)(-offSeek >> 32) != 0))) 447 off_t offCurrent = lseek(RTFileToNative(hFile), (off_t)offSeek, aSeekRecode[uMethod]);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | fileio-win.cpp | 61 * @param offSeek Offset to seek. 65 DECLINLINE(bool) MySetFilePointer(RTFILE hFile, uint64_t offSeek, uint64_t *poffNew, unsigned uMethod) argument 70 off.QuadPart = offSeek; 98 * @param offSeek Offset to seek. 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 398 if (MySetFilePointer(hFile, offSeek, poffActual, aulSeekRecode[uMethod]))
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | FTM.cpp | 517 static DECLCALLBACK(int) ftmR3TcpOpSeek(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument 519 NOREF(pvUser); NOREF(offSeek); NOREF(uMethod); NOREF(poffActual);
|
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImplTeleporter.cpp | 471 static DECLCALLBACK(int) teleporterTcpOpSeek(void *pvUser, int64_t offSeek, unsigned uMethod, uint64_t *poffActual) argument
|
/vbox/src/VBox/HostServices/SharedFolders/testcase/ |
H A D | tstSharedFolderService.cpp | 296 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); */ 591 SHFLHANDLE hFile, uint64_t offSeek, uint32_t cbRead, 599 aParms[2].setUInt64(offSeek); 611 SHFLHANDLE hFile, uint64_t offSeek, uint32_t cbWrite, 619 aParms[2].setUInt64(offSeek); 590 readFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root, SHFLHANDLE hFile, uint64_t offSeek, uint32_t cbRead, uint32_t *pcbRead, void *pvBuf, uint32_t cbBuf) argument 610 writeFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root, SHFLHANDLE hFile, uint64_t offSeek, uint32_t cbWrite, uint32_t *pcbWritten, const void *pvBuf, uint32_t cbBuf) argument
|
/vbox/src/VBox/Runtime/common/zip/ |
H A D | xarvfs.cpp | 1076 static DECLCALLBACK(int) rtZipXarFssFile_Seek(void *pvThis, RTFOFF offSeek, unsigned uMethod, PRTFOFF poffActual) argument 1086 offSeek += pThis->Ios.offCurPos; 1089 offSeek = pThis->Ios.DataAttr.cbDataArchived + offSeek; 1096 if (offSeek < 0) 1097 offSeek = 0; 1098 else if (offSeek > pThis->Ios.DataAttr.cbDataArchived) 1099 offSeek = pThis->Ios.DataAttr.cbDataArchived; 1102 pThis->Ios.fEndOfStream = (offSeek >= pThis->Ios.DataAttr.cbDataArchived); 1103 pThis->Ios.offCurPos = offSeek; [all...] |