Lines Matching refs:offUnsigned
100 uint64_t offUnsigned = off < 0 ? pThis->offCurPos : (uint64_t)off;
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;
157 if (offUnsigned >= RTDvmVolumeGetSize(pThis->hVol))
162 pThis->offCurPos = offUnsigned;
168 if (offUnsigned + pSgBuf->paSegs[0].cbSeg > RTDvmVolumeGetSize(pThis->hVol))
172 *pcbWritten = cbLeftToWrite = (size_t)(RTDvmVolumeGetSize(pThis->hVol) - offUnsigned);
188 offUnsigned += cbLeftToWrite;
191 pThis->offCurPos = offUnsigned;