Home
last modified time | relevance | path

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

/external/chromium/net/flip/
Dflip_protocol_test.cc72 scoped_ptr<FlipSynStreamControlFrame> syn_frame( in TEST() local
74 EXPECT_EQ(kFlipProtocolVersion, syn_frame->version()); in TEST()
75 EXPECT_EQ(true, syn_frame->is_control_frame()); in TEST()
76 EXPECT_EQ(SYN_STREAM, syn_frame->type()); in TEST()
77 EXPECT_EQ(123u, syn_frame->stream_id()); in TEST()
78 EXPECT_EQ(2u, syn_frame->priority()); in TEST()
79 EXPECT_EQ(2, syn_frame->header_block_len()); in TEST()
80 EXPECT_EQ(1u, syn_frame->flags()); in TEST()
Dflip_framer.cc407 FlipSynStreamControlFrame syn_frame(decompressed_frame->data(), false); in ParseHeaderBlock() local
408 const char *header_data = syn_frame.header_block(); in ParseHeaderBlock()
409 int header_length = syn_frame.header_block_len(); in ParseHeaderBlock()
459 scoped_ptr<FlipFrame> syn_frame(frame.take()); in CreateSynStream() local
462 CompressFrame(syn_frame.get())); in CreateSynStream()
464 return reinterpret_cast<FlipSynStreamControlFrame*>(syn_frame.release()); in CreateSynStream()
612 const FlipSynStreamControlFrame *syn_frame = in GetFrameBoundaries() local
614 *payload_length = syn_frame->header_block_len(); in GetFrameBoundaries()
615 *header_length = syn_frame->size(); in GetFrameBoundaries()
Dflip_session.cc355 scoped_ptr<flip::FlipSynStreamControlFrame> syn_frame( in GetOrCreateStream() local
358 int length = flip::FlipFrame::size() + syn_frame->length(); in GetOrCreateStream()
360 memcpy(buffer->data(), syn_frame->data(), length); in GetOrCreateStream()