Lines Matching refs:_pos
15 if (_pos >= Buf.Size())
17 size_t rem = Buf.Size() - (size_t)_pos;
20 memcpy(data, (const Byte *)Buf + (size_t)_pos, rem);
21 _pos += rem;
32 case STREAM_SEEK_CUR: offset += _pos; break;
38 _pos = (UInt64)offset;
50 if (_pos >= _size)
52 size_t rem = _size - (size_t)_pos;
55 memcpy(data, _data + (size_t)_pos, rem);
56 _pos += rem;
67 case STREAM_SEEK_CUR: offset += _pos; break;
73 _pos = (UInt64)offset;
153 size_t rem = _size - _pos;
158 memcpy(_buffer + _pos, data, rem);
159 _pos += rem;
215 _pos = 0;
227 if (_pos >= _size)
231 const UInt64 rem = _size - _pos;
238 const UInt64 cacheTag = _pos >> _blockSizeLog;
256 const size_t offset = (size_t)_pos & (kBlockSize - 1);
267 _pos += cur;
280 case STREAM_SEEK_CUR: offset += _pos; break;
286 _pos = (UInt64)offset;