Lines Matching refs:frame_
335 explicit SpdyFrame(size_t size) : frame_(NULL), owns_buffer_(true) {
339 frame_ = reinterpret_cast<struct SpdyFrameBlock*>(buffer);
350 : frame_(reinterpret_cast<struct SpdyFrameBlock*>(data)),
352 DCHECK(frame_);
357 char* buffer = reinterpret_cast<char*>(frame_);
360 frame_ = NULL;
365 char* data() const { return reinterpret_cast<char*>(frame_); }
367 uint8 flags() const { return frame_->flags_length_.flags_[0]; }
368 void set_flags(uint8 flags) { frame_->flags_length_.flags_[0] = flags; }
371 return ntohl(frame_->flags_length_.length_) & kLengthMask;
377 frame_->flags_length_.length_ = flags() | length;
381 return (ntohs(frame_->control_.version_) & kControlFlagMask) ==
392 SpdyFrameBlock* frame_;
407 return ntohl(frame_->data_.stream_id_) & kStreamIdMask;
415 frame_->data_.stream_id_ = htonl(id & kStreamIdMask);
423 return reinterpret_cast<const char*>(frame_) + size();
487 return frame_;
490 return frame_;
537 return static_cast<SpdySynStreamControlFrameBlock*>(frame_);
540 return static_cast<SpdySynStreamControlFrameBlock*>(frame_);
574 return static_cast<SpdySynReplyControlFrameBlock*>(frame_);
577 return static_cast<SpdySynReplyControlFrameBlock*>(frame_);
615 return static_cast<SpdyRstStreamControlFrameBlock*>(frame_);
618 return static_cast<SpdyRstStreamControlFrameBlock*>(frame_);
651 return static_cast<SpdySettingsControlFrameBlock*>(frame_);
654 return static_cast<SpdySettingsControlFrameBlock*>(frame_);
686 return static_cast<SpdyPingControlFrameBlock*>(frame_);
689 return static_cast<SpdyPingControlFrameBlock*>(frame_);
711 return static_cast<SpdyGoAwayControlFrameBlock*>(frame_);
714 return static_cast<SpdyGoAwayControlFrameBlock*>(frame_);
749 return static_cast<SpdyHeadersControlFrameBlock*>(frame_);
752 return static_cast<SpdyHeadersControlFrameBlock*>(frame_);
786 return static_cast<SpdyWindowUpdateControlFrameBlock*>(frame_);
789 return static_cast<SpdyWindowUpdateControlFrameBlock*>(frame_);