Lines Matching refs:frame_
41 FileOffset FrameAt() const { return fileOffset_ + frame_; } in FrameAt()
42 char *Frame() const { return buffer_ + start_ + frame_; } in Frame()
44 return std::min<std::size_t>(length_ - frame_, size_ - (start_ + frame_)); in FrameLength()
46 std::size_t BytesBufferedBeforeFrame() const { return frame_ - start_; } in BytesBufferedBeforeFrame()
56 frame_ = at - fileOffset_; in ReadFrame()
57 if (static_cast<std::int64_t>(start_ + frame_ + bytes) > size_) { in ReadFrame()
58 DiscardLeadingBytes(frame_, handler); in ReadFrame()
101 frame_ = at - fileOffset_; in WriteFrame()
102 length_ = std::max<std::int64_t>(length_, frame_ + bytes); in WriteFrame()
141 start_ = length_ = frame_ = 0; in Reset()
157 if (frame_ >= n) { in DiscardLeadingBytes()
158 frame_ -= n; in DiscardLeadingBytes()
160 frame_ = 0; in DiscardLeadingBytes()
172 std::int64_t frame_{0}; // offset of current frame in valid data