Lines Matching refs:SpdyFramer
54 const SpdyStreamId SpdyFramer::kInvalidStream = -1;
55 const size_t SpdyFramer::kHeaderDataChunkMaxSize = 1024;
59 const size_t SpdyFramer::kControlFrameBufferSize = 18;
117 SpdyFramer::SpdyFramer(SpdyMajorVersion version)
131 SpdyFramer::~SpdyFramer() {
140 void SpdyFramer::Reset() {
154 size_t SpdyFramer::GetDataFrameMinimumSize() const {
162 size_t SpdyFramer::GetControlFrameHeaderSize() const {
173 size_t SpdyFramer::GetSynStreamMinimumSize() const {
187 size_t SpdyFramer::GetSynReplyMinimumSize() const {
205 size_t SpdyFramer::GetRstStreamSize() const {
218 size_t SpdyFramer::GetSettingsMinimumSize() const {
225 size_t SpdyFramer::GetPingSize() const {
231 size_t SpdyFramer::GetGoAwaySize() const {
244 size_t SpdyFramer::GetHeadersMinimumSize() const {
262 size_t SpdyFramer::GetWindowUpdateSize() const {
275 size_t SpdyFramer::GetCredentialMinimumSize() const {
282 size_t SpdyFramer::GetBlockedSize() const {
289 size_t SpdyFramer::GetPushPromiseMinimumSize() const {
296 size_t SpdyFramer::GetFrameMinimumSize() const {
300 size_t SpdyFramer::GetFrameMaximumSize() const {
304 size_t SpdyFramer::GetDataFrameMaximumPayload() const {
308 const char* SpdyFramer::StateToString(int state) {
336 void SpdyFramer::set_error(SpdyError error) {
343 const char* SpdyFramer::ErrorCodeToString(int error_code) {
367 const char* SpdyFramer::StatusCodeToString(int status_code) {
397 const char* SpdyFramer::FrameTypeToString(SpdyFrameType type) {
429 size_t SpdyFramer::ProcessInput(const char* data, size_t len) {
516 // invalid value somehow, such as due to a SpdyFramer getting deleted
533 size_t SpdyFramer::ProcessCommonHeader(const char* data, size_t len) {
665 void SpdyFramer::ProcessControlFrameHeader(uint16 control_frame_type_field) {
853 size_t SpdyFramer::UpdateCurrentFrameBuffer(const char** data, size_t* len,
869 size_t SpdyFramer::GetSerializedLength(const int spdy_version,
888 void SpdyFramer::WriteHeaderBlock(SpdyFrameBuilder* frame,
980 void SpdyFramer::WriteHeaderBlockToZ(const SpdyHeaderBlock* headers,
1075 size_t SpdyFramer::ProcessControlFrameBeforeHeaderBlock(const char* data,
1221 size_t SpdyFramer::ProcessControlFrameHeaderBlock(const char* data,
1268 size_t SpdyFramer::ProcessSettingsFramePayload(const char* data,
1321 bool SpdyFramer::ProcessSetting(const char* data) {
1370 size_t SpdyFramer::ProcessControlFramePayload(const char* data, size_t len) {
1463 size_t SpdyFramer::ProcessCredentialFramePayload(const char* data, size_t len) {
1481 size_t SpdyFramer::ProcessDataFramePayload(const char* data, size_t len) {
1510 size_t SpdyFramer::ParseHeaderBlockInBuffer(const char* header_data,
1567 bool SpdyFramer::ParseCredentialData(const char* data, size_t len,
1591 SpdyFrame* SpdyFramer::CreateDataFrame(SpdyStreamId stream_id,
1601 SpdySerializedFrame* SpdyFramer::SerializeData(const SpdyDataIR& data) const {
1616 SpdySerializedFrame* SpdyFramer::SerializeDataFrameHeader(
1636 SpdyFrame* SpdyFramer::CreateSynStream(
1657 SpdySerializedFrame* SpdyFramer::SerializeSynStream(
1704 SpdyFrame* SpdyFramer::CreateSynReply(
1718 SpdySerializedFrame* SpdyFramer::SerializeSynReply(
1757 SpdyFrame* SpdyFramer::CreateRstStream(
1764 SpdySerializedFrame* SpdyFramer::SerializeRstStream(
1781 SpdyFrame* SpdyFramer::CreateSettings(
1795 SpdySerializedFrame* SpdyFramer::SerializeSettings(
1833 SpdyFrame* SpdyFramer::SerializeBlocked(const SpdyBlockedIR& blocked) const {
1840 SpdyFrame* SpdyFramer::CreatePingFrame(uint32 unique_id) const {
1845 SpdySerializedFrame* SpdyFramer::SerializePing(const SpdyPingIR& ping) const {
1857 SpdyFrame* SpdyFramer::CreateGoAway(
1864 SpdySerializedFrame* SpdyFramer::SerializeGoAway(
1880 SpdyFrame* SpdyFramer::CreateHeaders(
1895 SpdySerializedFrame* SpdyFramer::SerializeHeaders(
1935 SpdyFrame* SpdyFramer::CreateWindowUpdate(
1942 SpdySerializedFrame* SpdyFramer::SerializeWindowUpdate(
1960 SpdyFrame* SpdyFramer::CreateCredentialFrame(
1972 SpdySerializedFrame* SpdyFramer::SerializeCredential(
2002 SpdyFrame* SpdyFramer::CreatePushPromise(
2013 SpdyFrame* SpdyFramer::SerializePushPromise(
2042 explicit FrameSerializationVisitor(SpdyFramer* framer) : framer_(framer) {}
2087 SpdyFramer* framer_;
2093 SpdySerializedFrame* SpdyFramer::SerializeFrame(const SpdyFrameIR& frame) {
2099 size_t SpdyFramer::GetSerializedLength(const SpdyHeaderBlock& headers) {
2125 z_stream* SpdyFramer::GetHeaderCompressor() {
2155 z_stream* SpdyFramer::GetHeaderDecompressor() {
2175 bool SpdyFramer::IncrementallyDecompressControlFrameHeaderData(
2244 bool SpdyFramer::IncrementallyDeliverControlFrameHeaderData(
2262 void SpdyFramer::SerializeNameValueBlockWithoutCompression(
2286 void SpdyFramer::SerializeNameValueBlock(