Home
last modified time | relevance | path

Searched refs:syn_frame (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/spdy/
Dspdy_protocol_test.cc94 scoped_ptr<SpdySynStreamControlFrame> syn_frame( in TEST() local
96 EXPECT_EQ(kSpdyProtocolVersion, syn_frame->version()); in TEST()
97 EXPECT_TRUE(syn_frame->is_control_frame()); in TEST()
98 EXPECT_EQ(SYN_STREAM, syn_frame->type()); in TEST()
99 EXPECT_EQ(123u, syn_frame->stream_id()); in TEST()
100 EXPECT_EQ(456u, syn_frame->associated_stream_id()); in TEST()
101 EXPECT_EQ(2u, syn_frame->priority()); in TEST()
102 EXPECT_EQ(2, syn_frame->header_block_len()); in TEST()
103 EXPECT_EQ(1u, syn_frame->flags()); in TEST()
104 syn_frame->set_associated_stream_id(999u); in TEST()
[all …]
Dspdy_framer.cc331 SpdySynStreamControlFrame syn_frame(decompressed_frame->data(), false); in ParseHeaderBlock() local
332 header_data = syn_frame.header_block(); in ParseHeaderBlock()
333 header_length = syn_frame.header_block_len(); in ParseHeaderBlock()
338 SpdySynReplyControlFrame syn_frame(decompressed_frame->data(), false); in ParseHeaderBlock() local
339 header_data = syn_frame.header_block(); in ParseHeaderBlock()
340 header_length = syn_frame.header_block_len(); in ParseHeaderBlock()
572 scoped_ptr<SpdySynStreamControlFrame> syn_frame( in CreateSynStream() local
576 CompressControlFrame(*syn_frame.get())); in CreateSynStream()
578 return syn_frame.release(); in CreateSynStream()
1669 const SpdySynStreamControlFrame& syn_frame = in GetFrameBoundaries() local
[all …]
Dspdy_framer_test.cc708 scoped_ptr<spdy::SpdyFrame> syn_frame( in TEST_F() local
710 EXPECT_TRUE(syn_frame.get() != NULL); in TEST_F()
723 data = reinterpret_cast<const unsigned char*>(syn_frame->data()); in TEST_F()
724 visitor.SimulateInFramer(data, syn_frame->length() + SpdyFrame::size()); in TEST_F()
Dspdy_session.cc506 scoped_ptr<spdy::SpdySynStreamControlFrame> syn_frame( in WriteSynStream() local
511 QueueFrame(syn_frame.get(), priority, stream); in WriteSynStream()