Lines Matching refs:frame_
177 explicit FlipFrame(size_t size) : frame_(NULL), owns_buffer_(true) { in FlipFrame()
181 frame_ = reinterpret_cast<struct FlipFrameBlock*>(buffer); in FlipFrame()
192 : frame_(reinterpret_cast<struct FlipFrameBlock*>(data)), in FlipFrame()
194 DCHECK(frame_); in FlipFrame()
199 char* buffer = reinterpret_cast<char*>(frame_); in ~FlipFrame()
202 frame_ = NULL; in ~FlipFrame()
207 char* data() const { return reinterpret_cast<char*>(frame_); } in data()
209 uint8 flags() const { return frame_->flags_length_.flags_[0]; } in flags()
210 void set_flags(uint8 flags) { frame_->flags_length_.flags_[0] = flags; } in set_flags()
213 return ntohl(frame_->flags_length_.length_) & kLengthMask; in length()
219 frame_->flags_length_.length_ = flags() | length; in set_length()
223 return (ntohs(frame_->control_.version_) & kControlFlagMask) == in is_control_frame()
235 FlipFrameBlock* frame_;
251 return ntohl(frame_->data_.stream_id_) & kStreamIdMask; in stream_id()
259 frame_->data_.stream_id_ = htonl(id & kStreamIdMask); in set_stream_id()
301 return static_cast<FlipControlFrameBlock*>(frame_); in block()
331 return static_cast<FlipSynStreamControlFrameBlock*>(frame_); in block()
358 return static_cast<FlipSynReplyControlFrameBlock*>(frame_); in block()
380 return static_cast<FlipFinStreamControlFrameBlock*>(frame_); in block()