Home
last modified time | relevance | path

Searched refs:syn_stream (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/net/spdy/
Dspdy_test_util_common.cc991 SpdySynStreamIR syn_stream(stream_id); in ConstructSpdyPush() local
992 syn_stream.set_associated_to_stream_id(associated_stream_id); in ConstructSpdyPush()
993 syn_stream.SetHeader("hello", "bye"); in ConstructSpdyPush()
994 syn_stream.SetHeader(GetStatusKey(), "200 OK"); in ConstructSpdyPush()
995 syn_stream.SetHeader(GetVersionKey(), "HTTP/1.1"); in ConstructSpdyPush()
996 AddUrlToHeaderBlock(url, syn_stream.mutable_name_value_block()); in ConstructSpdyPush()
999 syn_stream.mutable_name_value_block()); in ConstructSpdyPush()
1000 return CreateFramer(false)->SerializeFrame(syn_stream); in ConstructSpdyPush()
1035 SpdySynStreamIR syn_stream(stream_id); in ConstructSpdyPush() local
1036 syn_stream.set_associated_to_stream_id(associated_stream_id); in ConstructSpdyPush()
[all …]
Dspdy_framer_test.cc121 SpdySynStreamIR syn_stream(stream_id); in OnSynStream() local
122 syn_stream.set_associated_to_stream_id(associated_stream_id); in OnSynStream()
123 syn_stream.set_priority(priority); in OnSynStream()
124 syn_stream.set_fin(fin); in OnSynStream()
125 syn_stream.set_unidirectional(unidirectional); in OnSynStream()
126 scoped_ptr<SpdyFrame> frame(framer.SerializeSynStream(syn_stream)); in OnSynStream()
965 SpdySynStreamIR syn_stream(1); in TEST_P() local
966 syn_stream.set_priority(1); in TEST_P()
967 syn_stream.SetHeader("server", "SpdyServer 1.0"); in TEST_P()
968 syn_stream.SetHeader("date", "Mon 12 Jan 2009 12:12:12 PST"); in TEST_P()
[all …]
Dbuffered_spdy_framer.cc278 SpdySynStreamIR syn_stream(stream_id); in CreateSynStream() local
279 syn_stream.set_associated_to_stream_id(associated_stream_id); in CreateSynStream()
280 syn_stream.set_priority(priority); in CreateSynStream()
281 syn_stream.set_fin((flags & CONTROL_FLAG_FIN) != 0); in CreateSynStream()
282 syn_stream.set_unidirectional((flags & CONTROL_FLAG_UNIDIRECTIONAL) != 0); in CreateSynStream()
284 syn_stream.set_name_value_block(*headers); in CreateSynStream()
285 return spdy_framer_.SerializeSynStream(syn_stream); in CreateSynStream()
Dspdy_framer.cc2369 const SpdySynStreamIR& syn_stream) { in SerializeSynStream() argument
2372 if (syn_stream.fin()) { in SerializeSynStream()
2375 if (syn_stream.unidirectional()) { in SerializeSynStream()
2381 uint8 priority = syn_stream.priority(); in SerializeSynStream()
2389 GetSerializedLength(syn_stream.name_value_block()); in SerializeSynStream()
2393 builder.WriteUInt32(syn_stream.stream_id()); in SerializeSynStream()
2394 builder.WriteUInt32(syn_stream.associated_to_stream_id()); in SerializeSynStream()
2398 SerializeNameValueBlock(&builder, syn_stream); in SerializeSynStream()
2403 &(syn_stream.name_value_block())); in SerializeSynStream()
2404 debug_visitor_->OnSendCompressedFrame(syn_stream.stream_id(), in SerializeSynStream()
[all …]
Dspdy_session.cc1056 SpdySynStreamIR syn_stream(stream_id); in CreateSynStream() local
1057 syn_stream.set_associated_to_stream_id(0); in CreateSynStream()
1058 syn_stream.set_priority(spdy_priority); in CreateSynStream()
1059 syn_stream.set_fin((flags & CONTROL_FLAG_FIN) != 0); in CreateSynStream()
1060 syn_stream.set_unidirectional((flags & CONTROL_FLAG_UNIDIRECTIONAL) != 0); in CreateSynStream()
1061 syn_stream.set_name_value_block(block); in CreateSynStream()
1062 syn_frame.reset(buffered_spdy_framer_->SerializeFrame(syn_stream)); in CreateSynStream()
Dspdy_framer.h437 SpdySerializedFrame* SerializeSynStream(const SpdySynStreamIR& syn_stream);
Dspdy_protocol.h1041 virtual void VisitSynStream(const SpdySynStreamIR& syn_stream) = 0;
/external/chromium_org/net/quic/
Dquic_headers_stream.cc205 SpdySynStreamIR syn_stream(stream_id); in WriteHeaders() local
206 syn_stream.set_name_value_block(headers); in WriteHeaders()
207 syn_stream.set_fin(fin); in WriteHeaders()
208 frame.reset(spdy_framer_.SerializeFrame(syn_stream)); in WriteHeaders()
Dquic_headers_stream_test.cc222 SpdySynStreamIR syn_stream(stream_id); in TEST_P() local
223 syn_stream.set_name_value_block(headers_); in TEST_P()
224 syn_stream.set_fin(fin); in TEST_P()
225 frame.reset(framer_.SerializeSynStream(syn_stream)); in TEST_P()
/external/chromium_org/net/quic/test_tools/
Dquic_test_packet_maker.cc184 SpdySynStreamIR syn_stream(stream_id); in MakeRequestHeadersPacket() local
185 syn_stream.set_name_value_block(headers); in MakeRequestHeadersPacket()
186 syn_stream.set_fin(fin); in MakeRequestHeadersPacket()
187 syn_stream.set_priority(0); in MakeRequestHeadersPacket()
189 spdy_request_framer_.SerializeSynStream(syn_stream)); in MakeRequestHeadersPacket()