Home
last modified time | relevance | path

Searched refs:SPDY2 (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/net/spdy/
Dspdy_http_utils_unittest.cc15 EXPECT_EQ(0, ConvertRequestPriorityToSpdyPriority(HIGHEST, SPDY2)); in TEST()
16 EXPECT_EQ(1, ConvertRequestPriorityToSpdyPriority(MEDIUM, SPDY2)); in TEST()
17 EXPECT_EQ(2, ConvertRequestPriorityToSpdyPriority(LOW, SPDY2)); in TEST()
18 EXPECT_EQ(2, ConvertRequestPriorityToSpdyPriority(LOWEST, SPDY2)); in TEST()
19 EXPECT_EQ(3, ConvertRequestPriorityToSpdyPriority(IDLE, SPDY2)); in TEST()
31 EXPECT_EQ(HIGHEST, ConvertSpdyPriorityToRequestPriority(0, SPDY2)); in TEST()
32 EXPECT_EQ(MEDIUM, ConvertSpdyPriorityToRequestPriority(1, SPDY2)); in TEST()
33 EXPECT_EQ(LOW, ConvertSpdyPriorityToRequestPriority(2, SPDY2)); in TEST()
34 EXPECT_EQ(IDLE, ConvertSpdyPriorityToRequestPriority(3, SPDY2)); in TEST()
38 EXPECT_EQ(IDLE, ConvertSpdyPriorityToRequestPriority(i, SPDY2)); in TEST()
Dspdy_protocol.cc33 case SPDY2: in IsValidFrameType()
73 case SPDY2: in ParseFrameType()
132 case SPDY2: in SerializeFrameType()
195 case SPDY2: in IsValidSettingId()
234 case SPDY2: in ParseSettingId()
277 case SPDY2: in SerializeSettingId()
323 case SPDY2: in IsValidRstStreamStatus()
373 case SPDY2: in ParseRstStreamStatus()
433 case SPDY2: in SerializeRstStreamStatus()
497 case SPDY2: in IsValidGoAwayStatus()
[all …]
Dspdy_protocol_test.cc19 SPDY2 = net::SPDY2, enumerator
41 ::testing::Values(SPDY2, SPDY3));
70 ::testing::Values(SPDY2, SPDY3));
Dspdy_http_utils.cc141 if (protocol_version == SPDY2) { in ConvertRequestPriorityToSpdyPriority()
159 SpdyPriority idle_cutoff = (protocol_version == SPDY2) ? 3 : 5; in ConvertSpdyPriorityToRequestPriority()
168 if (pushed && protocol_version == SPDY2) { in GetUrlFromHeaderBlock()
Dspdy_test_utils.cc92 case SPDY2: in SetFrameFlags()
109 case SPDY2: in SetFrameLength()
Dspdy_websocket_test_util.cc75 ConvertRequestPriorityToSpdyPriority(request_priority, SPDY2), in ConstructSpdyWebSocketHandshakeRequestFrame()
100 ConvertRequestPriorityToSpdyPriority(request_priority, SPDY2), in ConstructSpdyWebSocketHandshakeResponseFrame()
Dspdy_framer.cc278 if (protocol_version() <= SPDY2) { in GetHeadersMinimumSize()
1358 if (protocol_version() <= SPDY2) { in ProcessControlFrameBeforeHeaderBlock()
1410 if (protocol_version() <= SPDY2) { in ProcessControlFrameBeforeHeaderBlock()
2204 if (protocol_version() <= SPDY2) { in ParseHeaderBlockInBuffer()
2223 if ((protocol_version() <= SPDY2) ? !reader.ReadStringPiece16(&temp) in ParseHeaderBlockInBuffer()
2232 if ((protocol_version() <= SPDY2) ? !reader.ReadStringPiece16(&temp) in ParseHeaderBlockInBuffer()
2384 builder.WriteUInt8(priority << ((protocol_version() <= SPDY2) ? 6 : 5)); in SerializeSynStream()
2688 if (protocol_version() <= SPDY2) { in SerializeHeaders()
3028 const char* dictionary = (protocol_version() <= SPDY2) ? in GetHeaderCompressor()
3030 const int dictionary_size = (protocol_version() <= SPDY2) ? in GetHeaderCompressor()
[all …]
Dspdy_frame_builder_test.cc26 ::testing::Values(SPDY2, SPDY3, SPDY4));
Dbuffered_spdy_framer.cc14 return SPDY2; in NextProtoToSpdyMajorVersion()
26 return SPDY2; in NextProtoToSpdyMajorVersion()
Dspdy_protocol.h34 SPDY2 = 2, enumerator
35 SPDY_MIN_VERSION = SPDY2,
Dspdy_headers_block_parser_test.cc117 ::testing::Values(SPDY2, SPDY3, SPDY4));
Dspdy_framer.h701 if (spdy_version_ == SPDY2) { in GetControlFrameBufferMaxSize()
Dspdy_framer_test.cc628 bool IsSpdy2() { return spdy_version_ == SPDY2; } in IsSpdy2()
641 ::testing::Values(SPDY2, SPDY3, SPDY4));
Dspdy_session.cc413 if (protocol_version == SPDY2) { in SplitPushedHeadersToRequestAndResponse()
/external/chromium_org/net/tools/flip_server/
Dspdy_interface_test.cc203 Values(SPDY2, SPDY3, SPDY4));
204 INSTANTIATE_TEST_CASE_P(SpdySMServerTest, SpdySMServerTest, Values(SPDY2));
216 if (GetParam() != SPDY2) { in TEST_P()
250 if (GetParam() == SPDY2) { in TEST_P()
285 if (GetParam() != SPDY2) { in TEST_P()
318 if (GetParam() == SPDY2) { in TEST_P()
404 interface_->CreateFramer(SPDY2); in TEST_P()
406 ASSERT_EQ(interface_->spdy_version(), SPDY2); in TEST_P()
453 if (GetParam() != SPDY2) { in TEST_P()
502 if (GetParam() == SPDY2) { in TEST_P()
[all …]
Dspdy_interface.cc142 if (spdy_version() == SPDY2) { in SpdyHandleNewStream()
449 if (spdy_version() == SPDY2) { in SendSynStreamImpl()
491 if (spdy_version() == SPDY2) { in SendSynReplyImpl()
Dsm_connection.cc323 *version_negotiated = SPDY2; in WasSpdyNegotiated()