• Home
  • Raw
  • Download

Lines Matching refs:_virtPos

34   if (_virtPos >= _size)  in Read()
41 const UInt64 rem = _size - _virtPos; in Read()
45 UInt64 newPos = _startOffset + _virtPos; in Read()
55 _virtPos += size; in Read()
64 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
70 _virtPos = offset; in Seek()
72 *newPosition = _virtPos; in Seek()
92 if (_virtPos >= Size) in Read()
95 UInt64 rem = Size - _virtPos; in Read()
105 const UInt32 virtBlock = (UInt32)(_virtPos >> BlockSizeLog); in Read()
106 const UInt32 offsetInBlock = (UInt32)_virtPos & (blockSize - 1); in Read()
128 _virtPos += size; in Read()
138 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
144 if (_virtPos != (UInt64)offset) in Seek()
146 _virtPos = offset; in Seek()
157 if (_virtPos >= Extents.Back().Virt) in Read()
168 if (_virtPos < Extents[mid].Virt) in Read()
175 UInt64 phyPos = extent.Phy + (_virtPos - extent.Virt); in Read()
183 UInt64 rem = Extents[left + 1].Virt - _virtPos; in Read()
189 _virtPos += size; in Read()
200 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
206 _virtPos = offset; in Seek()
208 *newPosition = _virtPos; in Seek()
246 _virtPos += cur; in Read()
255 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
262 _virtPos = pos - Offset; in Seek()
264 *newPosition = _virtPos; in Seek()
271 _virtPos = offset; in Seek()
273 *newPosition = _virtPos; in Seek()
274 return Stream->Seek(Offset + _virtPos, STREAM_SEEK_SET, NULL); in Seek()
281 if (_virtPos >= _size) in Read()
287 UInt64 rem = _size - _virtPos; in Read()
291 UInt64 newPos = _startOffset + _virtPos; in Read()
313 _virtPos += size; in Read()
322 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
328 _virtPos = offset; in Seek()
330 *newPosition = _virtPos; in Seek()
340 _virtPos += cur; in Write()
341 if (_virtSize < _virtPos) in Write()
342 _virtSize = _virtPos; in Write()
351 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
357 _virtPos = offset; in Seek()
359 *newPosition = _virtPos; in Seek()
360 return Stream->Seek(Offset + _virtPos, STREAM_SEEK_SET, NULL); in Seek()