Searched defs:offUnsigned (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Storage/
H A DVDVfs.cpp235 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off; local
236 if (offUnsigned >= VDGetSize(pThis->pDisk, VD_LAST_IMAGE))
241 pThis->offCurPos = offUnsigned;
248 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > VDGetSize(pThis->pDisk, VD_LAST_IMAGE))
252 *pcbRead = cbLeftToRead = (size_t)(VDGetSize(pThis->pDisk, VD_LAST_IMAGE) - offUnsigned);
268 offUnsigned += cbLeftToRead;
271 pThis->offCurPos = offUnsigned;
291 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off; local
292 if (offUnsigned >= VDGetSize(pThis->pDisk, VD_LAST_IMAGE))
297 pThis->offCurPos = offUnsigned;
[all...]
/vbox/src/VBox/Runtime/common/dvm/
H A Ddvmvfs.cpp100 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off; local
101 if (offUnsigned >= RTDvmVolumeGetSize(pThis->hVol))
106 pThis->offCurPos = offUnsigned;
113 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > RTDvmVolumeGetSize(pThis->hVol))
117 *pcbRead = cbLeftToRead = (size_t)(RTDvmVolumeGetSize(pThis->hVol) - offUnsigned);
133 offUnsigned += cbLeftToRead;
136 pThis->offCurPos = offUnsigned;
156 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off; local
157 if (offUnsigned >= RTDvmVolumeGetSize(pThis->hVol))
162 pThis->offCurPos = offUnsigned;
[all...]
/vbox/src/VBox/Runtime/common/vfs/
H A Dvfsmemory.cpp261 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off;
262 if (offUnsigned >= (uint64_t)pThis->Base.ObjInfo.cbObject)
267 pThis->offCurPos = offUnsigned;
274 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > (uint64_t)pThis->Base.ObjInfo.cbObject)
278 *pcbRead = cbLeftToRead = (size_t)((uint64_t)pThis->Base.ObjInfo.cbObject - offUnsigned);
294 PRTVFSMEMEXTENT pExtent = rtVfsMemFile_LocateExtent(pThis, offUnsigned, &fHit);
305 Assert(offUnsigned - pExtent->off < pExtent->cb);
306 size_t const offExtent = (size_t)(offUnsigned - pExtent->off);
311 memcpy(pbDst, &pExtent->abData[offUnsigned - pExtent->off], cbThisRead);
313 offUnsigned
374 rtVfsMemFile_AllocExtent(PRTVFSMEMFILE pThis, uint64_t offUnsigned, size_t cbToWrite, PRTVFSMEMEXTENT pNext) argument
[all...]

Completed in 45 milliseconds