/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/http2/ |
H A D | http2_constants_test.cc | 16 EXPECT_EQ(Http2FrameType::DATA, static_cast<Http2FrameType>(0)); in TEST() 17 EXPECT_EQ(Http2FrameType::HEADERS, static_cast<Http2FrameType>(1)); in TEST() 18 EXPECT_EQ(Http2FrameType::PRIORITY, static_cast<Http2FrameType>(2)); in TEST() 19 EXPECT_EQ(Http2FrameType::RST_STREAM, static_cast<Http2FrameType>(3)); in TEST() 20 EXPECT_EQ(Http2FrameType::SETTINGS, static_cast<Http2FrameType>(4)); in TEST() 21 EXPECT_EQ(Http2FrameType::PUSH_PROMISE, static_cast<Http2FrameType>(5)); in TEST() 22 EXPECT_EQ(Http2FrameType::PING, static_cast<Http2FrameType>(6)); in TEST() 23 EXPECT_EQ(Http2FrameType::GOAWAY, static_cast<Http2FrameType>(7)); in TEST() 24 EXPECT_EQ(Http2FrameType::WINDOW_UPDATE, static_cast<Http2FrameType>(8)); in TEST() 25 EXPECT_EQ(Http2FrameType::CONTINUATION, static_cast<Http2FrameType>(9)); in TEST() [all …]
|
H A D | http2_constants.cc | 16 case Http2FrameType::DATA: in Http2FrameTypeToString() 18 case Http2FrameType::HEADERS: in Http2FrameTypeToString() 20 case Http2FrameType::PRIORITY: in Http2FrameTypeToString() 22 case Http2FrameType::RST_STREAM: in Http2FrameTypeToString() 24 case Http2FrameType::SETTINGS: in Http2FrameTypeToString() 26 case Http2FrameType::PUSH_PROMISE: in Http2FrameTypeToString() 28 case Http2FrameType::PING: in Http2FrameTypeToString() 30 case Http2FrameType::GOAWAY: in Http2FrameTypeToString() 36 case Http2FrameType::ALTSVC: in Http2FrameTypeToString() 59 if (type == Http2FrameType::DATA || type == Http2FrameType::HEADERS) { in Http2FrameFlagsToString() [all …]
|
H A D | http2_structures_test_util.cc | 62 case Http2FrameType::DATA: in FrameIsPadded() 63 case Http2FrameType::HEADERS: in FrameIsPadded() 64 case Http2FrameType::PUSH_PROMISE: in FrameIsPadded() 73 case Http2FrameType::HEADERS: in FrameHasPriority() 75 case Http2FrameType::PRIORITY: in FrameHasPriority() 84 case Http2FrameType::DATA: in FrameCanHavePayload() 85 case Http2FrameType::HEADERS: in FrameCanHavePayload() 88 case Http2FrameType::PING: in FrameCanHavePayload() 89 case Http2FrameType::GOAWAY: in FrameCanHavePayload() 90 case Http2FrameType::ALTSVC: in FrameCanHavePayload() [all …]
|
H A D | http2_constants_test_util.cc | 48 case Http2FrameType::DATA: in KnownFlagsMaskForFrameType() 50 case Http2FrameType::HEADERS: in KnownFlagsMaskForFrameType() 53 case Http2FrameType::PRIORITY: in KnownFlagsMaskForFrameType() 55 case Http2FrameType::RST_STREAM: in KnownFlagsMaskForFrameType() 57 case Http2FrameType::SETTINGS: in KnownFlagsMaskForFrameType() 59 case Http2FrameType::PUSH_PROMISE: in KnownFlagsMaskForFrameType() 61 case Http2FrameType::PING: in KnownFlagsMaskForFrameType() 63 case Http2FrameType::GOAWAY: in KnownFlagsMaskForFrameType() 65 case Http2FrameType::WINDOW_UPDATE: in KnownFlagsMaskForFrameType() 67 case Http2FrameType::CONTINUATION: in KnownFlagsMaskForFrameType() [all …]
|
H A D | http2_structures.h | 43 Http2FrameType type, in Http2FrameHeader() 69 DCHECK(type == Http2FrameType::DATA || type == Http2FrameType::HEADERS) in IsEndStream() 76 DCHECK(type == Http2FrameType::SETTINGS || type == Http2FrameType::PING) in IsAck() 83 DCHECK(type == Http2FrameType::HEADERS || in IsEndHeaders() 84 type == Http2FrameType::PUSH_PROMISE || in IsEndHeaders() 85 type == Http2FrameType::CONTINUATION) in IsEndHeaders() 92 DCHECK(type == Http2FrameType::DATA || type == Http2FrameType::HEADERS || in IsPadded() 93 type == Http2FrameType::PUSH_PROMISE) in IsPadded() 100 DCHECK_EQ(type, Http2FrameType::HEADERS) << ToString(); in HasPriority() 123 Http2FrameType type;
|
H A D | http2_structures_test.cc | 79 std::vector<Http2FrameType> valid_types{Http2FrameType::DATA}; in ValidFrameTypes() 94 Http2FrameType type = static_cast<Http2FrameType>(frame_type); in TEST() 115 Http2FrameType type = static_cast<Http2FrameType>(random.Rand8()); in TEST() 162 const Http2FrameType type_; 177 case Http2FrameType::DATA: in TEST_P() 178 case Http2FrameType::HEADERS: in TEST_P() 215 case Http2FrameType::PING: in TEST_P() 252 case Http2FrameType::HEADERS: in TEST_P() 293 case Http2FrameType::DATA: in TEST_P() 294 case Http2FrameType::HEADERS: in TEST_P() [all …]
|
H A D | http2_constants.h | 33 enum class Http2FrameType : uint8_t { enum 49 return v <= static_cast<uint32_t>(Http2FrameType::ALTSVC); in IsSupportedHttp2FrameType() 51 inline bool IsSupportedHttp2FrameType(Http2FrameType v) { in IsSupportedHttp2FrameType() 59 QUICHE_EXPORT_PRIVATE std::string Http2FrameTypeToString(Http2FrameType v); 62 Http2FrameType v) { 78 QUICHE_EXPORT_PRIVATE std::string Http2FrameFlagsToString(Http2FrameType type,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/http2/ |
H A D | http2_constants_test.cc | 17 EXPECT_EQ(Http2FrameType::DATA, static_cast<Http2FrameType>(0)); in TEST() 18 EXPECT_EQ(Http2FrameType::HEADERS, static_cast<Http2FrameType>(1)); in TEST() 19 EXPECT_EQ(Http2FrameType::PRIORITY, static_cast<Http2FrameType>(2)); in TEST() 20 EXPECT_EQ(Http2FrameType::RST_STREAM, static_cast<Http2FrameType>(3)); in TEST() 21 EXPECT_EQ(Http2FrameType::SETTINGS, static_cast<Http2FrameType>(4)); in TEST() 22 EXPECT_EQ(Http2FrameType::PUSH_PROMISE, static_cast<Http2FrameType>(5)); in TEST() 23 EXPECT_EQ(Http2FrameType::PING, static_cast<Http2FrameType>(6)); in TEST() 24 EXPECT_EQ(Http2FrameType::GOAWAY, static_cast<Http2FrameType>(7)); in TEST() 25 EXPECT_EQ(Http2FrameType::WINDOW_UPDATE, static_cast<Http2FrameType>(8)); in TEST() 26 EXPECT_EQ(Http2FrameType::CONTINUATION, static_cast<Http2FrameType>(9)); in TEST() [all …]
|
H A D | http2_constants.cc | 16 case Http2FrameType::DATA: in Http2FrameTypeToString() 18 case Http2FrameType::HEADERS: in Http2FrameTypeToString() 20 case Http2FrameType::PRIORITY: in Http2FrameTypeToString() 22 case Http2FrameType::RST_STREAM: in Http2FrameTypeToString() 24 case Http2FrameType::SETTINGS: in Http2FrameTypeToString() 26 case Http2FrameType::PUSH_PROMISE: in Http2FrameTypeToString() 28 case Http2FrameType::PING: in Http2FrameTypeToString() 30 case Http2FrameType::GOAWAY: in Http2FrameTypeToString() 36 case Http2FrameType::ALTSVC: in Http2FrameTypeToString() 58 if (type == Http2FrameType::DATA || type == Http2FrameType::HEADERS) { in Http2FrameFlagsToString() [all …]
|
H A D | http2_structures_test_util.cc | 62 case Http2FrameType::DATA: in FrameIsPadded() 63 case Http2FrameType::HEADERS: in FrameIsPadded() 64 case Http2FrameType::PUSH_PROMISE: in FrameIsPadded() 73 case Http2FrameType::HEADERS: in FrameHasPriority() 75 case Http2FrameType::PRIORITY: in FrameHasPriority() 84 case Http2FrameType::DATA: in FrameCanHavePayload() 85 case Http2FrameType::HEADERS: in FrameCanHavePayload() 88 case Http2FrameType::PING: in FrameCanHavePayload() 89 case Http2FrameType::GOAWAY: in FrameCanHavePayload() 90 case Http2FrameType::ALTSVC: in FrameCanHavePayload() [all …]
|
H A D | http2_constants_test_util.cc | 48 case Http2FrameType::DATA: in KnownFlagsMaskForFrameType() 50 case Http2FrameType::HEADERS: in KnownFlagsMaskForFrameType() 53 case Http2FrameType::PRIORITY: in KnownFlagsMaskForFrameType() 55 case Http2FrameType::RST_STREAM: in KnownFlagsMaskForFrameType() 57 case Http2FrameType::SETTINGS: in KnownFlagsMaskForFrameType() 59 case Http2FrameType::PUSH_PROMISE: in KnownFlagsMaskForFrameType() 61 case Http2FrameType::PING: in KnownFlagsMaskForFrameType() 63 case Http2FrameType::GOAWAY: in KnownFlagsMaskForFrameType() 65 case Http2FrameType::WINDOW_UPDATE: in KnownFlagsMaskForFrameType() 67 case Http2FrameType::CONTINUATION: in KnownFlagsMaskForFrameType() [all …]
|
H A D | http2_structures.h | 43 Http2FrameType type, in Http2FrameHeader() 69 DCHECK(type == Http2FrameType::DATA || type == Http2FrameType::HEADERS) in IsEndStream() 76 DCHECK(type == Http2FrameType::SETTINGS || type == Http2FrameType::PING) in IsAck() 83 DCHECK(type == Http2FrameType::HEADERS || in IsEndHeaders() 84 type == Http2FrameType::PUSH_PROMISE || in IsEndHeaders() 85 type == Http2FrameType::CONTINUATION) in IsEndHeaders() 92 DCHECK(type == Http2FrameType::DATA || type == Http2FrameType::HEADERS || in IsPadded() 93 type == Http2FrameType::PUSH_PROMISE) in IsPadded() 100 DCHECK_EQ(type, Http2FrameType::HEADERS) << ToString(); in HasPriority() 123 Http2FrameType type;
|
H A D | http2_structures_test.cc | 82 std::vector<Http2FrameType> valid_types{Http2FrameType::DATA}; in ValidFrameTypes() 97 Http2FrameType type = static_cast<Http2FrameType>(frame_type); in TEST() 118 Http2FrameType type = static_cast<Http2FrameType>(random.Rand8()); in TEST() 164 const Http2FrameType type_; 179 case Http2FrameType::DATA: in TEST_P() 180 case Http2FrameType::HEADERS: in TEST_P() 217 case Http2FrameType::PING: in TEST_P() 254 case Http2FrameType::HEADERS: in TEST_P() 295 case Http2FrameType::DATA: in TEST_P() 296 case Http2FrameType::HEADERS: in TEST_P() [all …]
|
H A D | http2_constants.h | 33 enum class Http2FrameType : uint8_t { enum 49 return v <= static_cast<uint32_t>(Http2FrameType::ALTSVC); in IsSupportedHttp2FrameType() 51 inline bool IsSupportedHttp2FrameType(Http2FrameType v) { in IsSupportedHttp2FrameType() 59 QUICHE_EXPORT_PRIVATE std::string Http2FrameTypeToString(Http2FrameType v); 62 Http2FrameType v) { 78 QUICHE_EXPORT_PRIVATE std::string Http2FrameFlagsToString(Http2FrameType type,
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/http2/decoder/ |
H A D | http2_frame_decoder_test.cc | 232 Http2FrameHeader header(0, Http2FrameType::DATA, 0, 0); in TEST_F() 311 Http2FrameHeader header(4, Http2FrameType::PUSH_PROMISE, in TEST_F() 327 Http2FrameHeader header(8, Http2FrameType::PING, 0, 0); in TEST_F() 359 Http2FrameHeader header(8, Http2FrameType::GOAWAY, 0, 1); in TEST_F() 446 3, Http2FrameType::HEADERS, in TEST_F() 497 Http2FrameHeader header(7, Http2FrameType::PUSH_PROMISE, in TEST_F() 529 Http2FrameHeader header(3, Http2FrameType::CONTINUATION, in TEST_F() 577 Http2FrameHeader header(7, Http2FrameType::DATA, in TEST_F() 614 Http2FrameHeader header(12, Http2FrameType::HEADERS, in TEST_F() 769 Http2FrameHeader header(7, Http2FrameType::PING, 0, 0); in TEST_F() [all …]
|
H A D | http2_frame_decoder.cc | 114 case Http2FrameType::DATA: in StartDecodingPayload() 118 case Http2FrameType::HEADERS: in StartDecodingPayload() 122 case Http2FrameType::PRIORITY: in StartDecodingPayload() 138 case Http2FrameType::PING: in StartDecodingPayload() 142 case Http2FrameType::GOAWAY: in StartDecodingPayload() 154 case Http2FrameType::ALTSVC: in StartDecodingPayload() 184 case Http2FrameType::DATA: in ResumeDecodingPayload() 188 case Http2FrameType::HEADERS: in ResumeDecodingPayload() 208 case Http2FrameType::PING: in ResumeDecodingPayload() 212 case Http2FrameType::GOAWAY: in ResumeDecodingPayload() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/http2/decoder/ |
H A D | http2_frame_decoder_test.cc | 230 Http2FrameHeader header(0, Http2FrameType::DATA, 0, 0); in TEST_F() 309 Http2FrameHeader header(4, Http2FrameType::PUSH_PROMISE, in TEST_F() 325 Http2FrameHeader header(8, Http2FrameType::PING, 0, 0); in TEST_F() 357 Http2FrameHeader header(8, Http2FrameType::GOAWAY, 0, 1); in TEST_F() 444 3, Http2FrameType::HEADERS, in TEST_F() 495 Http2FrameHeader header(7, Http2FrameType::PUSH_PROMISE, in TEST_F() 527 Http2FrameHeader header(3, Http2FrameType::CONTINUATION, in TEST_F() 575 Http2FrameHeader header(7, Http2FrameType::DATA, in TEST_F() 612 Http2FrameHeader header(12, Http2FrameType::HEADERS, in TEST_F() 767 Http2FrameHeader header(7, Http2FrameType::PING, 0, 0); in TEST_F() [all …]
|
H A D | http2_frame_decoder.cc | 114 case Http2FrameType::DATA: in StartDecodingPayload() 118 case Http2FrameType::HEADERS: in StartDecodingPayload() 122 case Http2FrameType::PRIORITY: in StartDecodingPayload() 138 case Http2FrameType::PING: in StartDecodingPayload() 142 case Http2FrameType::GOAWAY: in StartDecodingPayload() 154 case Http2FrameType::ALTSVC: in StartDecodingPayload() 184 case Http2FrameType::DATA: in ResumeDecodingPayload() 188 case Http2FrameType::HEADERS: in ResumeDecodingPayload() 208 case Http2FrameType::PING: in ResumeDecodingPayload() 212 case Http2FrameType::GOAWAY: in ResumeDecodingPayload() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/http2/test_tools/ |
H A D | frame_parts.cc | 143 ASSERT_TRUE(InFrameOfType(Http2FrameType::DATA)) << *this; in OnDataPayload() 150 ASSERT_TRUE(EndFrameOfType(Http2FrameType::DATA)) << *this; in OnDataEnd() 162 ASSERT_TRUE(InFrameOfType(Http2FrameType::HEADERS)) << *this; in OnHeadersPriority() 182 ASSERT_TRUE(EndFrameOfType(Http2FrameType::HEADERS)) << *this; in OnHeadersEnd() 291 ASSERT_TRUE(EndFrameOfType(Http2FrameType::PING)) << *this; in OnPing() 301 ASSERT_TRUE(EndFrameOfType(Http2FrameType::PING)) << *this; in OnPingAck() 316 ASSERT_TRUE(InFrameOfType(Http2FrameType::GOAWAY)) << *this; in OnGoAwayOpaqueData() 323 ASSERT_TRUE(EndFrameOfType(Http2FrameType::GOAWAY)) << *this; in OnGoAwayEnd() 351 ASSERT_TRUE(InFrameOfType(Http2FrameType::ALTSVC)) << *this; in OnAltSvcOriginData() 358 ASSERT_TRUE(InFrameOfType(Http2FrameType::ALTSVC)) << *this; in OnAltSvcValueData() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/http2/test_tools/ |
H A D | frame_parts.cc | 142 ASSERT_TRUE(InFrameOfType(Http2FrameType::DATA)) << *this; in OnDataPayload() 149 ASSERT_TRUE(EndFrameOfType(Http2FrameType::DATA)) << *this; in OnDataEnd() 161 ASSERT_TRUE(InFrameOfType(Http2FrameType::HEADERS)) << *this; in OnHeadersPriority() 181 ASSERT_TRUE(EndFrameOfType(Http2FrameType::HEADERS)) << *this; in OnHeadersEnd() 290 ASSERT_TRUE(EndFrameOfType(Http2FrameType::PING)) << *this; in OnPing() 300 ASSERT_TRUE(EndFrameOfType(Http2FrameType::PING)) << *this; in OnPingAck() 315 ASSERT_TRUE(InFrameOfType(Http2FrameType::GOAWAY)) << *this; in OnGoAwayOpaqueData() 322 ASSERT_TRUE(EndFrameOfType(Http2FrameType::GOAWAY)) << *this; in OnGoAwayEnd() 350 ASSERT_TRUE(InFrameOfType(Http2FrameType::ALTSVC)) << *this; in OnAltSvcOriginData() 357 ASSERT_TRUE(InFrameOfType(Http2FrameType::ALTSVC)) << *this; in OnAltSvcValueData() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/spdy/core/ |
H A D | http2_frame_decoder_adapter.cc | 58 bool IsPaddable(Http2FrameType type) { in IsPaddable() 59 return type == Http2FrameType::DATA || type == Http2FrameType::HEADERS || in IsPaddable() 60 type == Http2FrameType::PUSH_PROMISE; in IsPaddable() 63 SpdyFrameType ToSpdyFrameType(Http2FrameType type) { in ToSpdyFrameType() 81 header->type = Http2FrameType(0x80); in CorruptFrameHeader() 417 if (header.type == Http2FrameType::DATA) { in OnFrameHeader() 550 if (frame_header_.type == Http2FrameType::DATA) { in OnPadLength() 757 if (header.type == Http2FrameType::DATA) { in OnPaddingTooLong() 775 if (header.type != Http2FrameType::DATA && in OnFrameSizeError() 781 case Http2FrameType::GOAWAY: in OnFrameSizeError() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/spdy/core/ |
H A D | http2_frame_decoder_adapter.cc | 58 bool IsPaddable(Http2FrameType type) { in IsPaddable() 59 return type == Http2FrameType::DATA || type == Http2FrameType::HEADERS || in IsPaddable() 60 type == Http2FrameType::PUSH_PROMISE; in IsPaddable() 63 SpdyFrameType ToSpdyFrameType(Http2FrameType type) { in ToSpdyFrameType() 81 header->type = Http2FrameType(0x80); in CorruptFrameHeader() 411 if (header.type == Http2FrameType::DATA) { in OnFrameHeader() 544 if (frame_header_.type == Http2FrameType::DATA) { in OnPadLength() 751 if (header.type == Http2FrameType::DATA) { in OnPaddingTooLong() 769 if (header.type != Http2FrameType::DATA && in OnFrameSizeError() 775 case Http2FrameType::GOAWAY: in OnFrameSizeError() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/http2/decoder/payload_decoders/ |
H A D | settings_payload_decoder_test.cc | 29 static constexpr Http2FrameType FrameType() { in FrameType() 30 return Http2FrameType::SETTINGS; in FrameType() 45 EXPECT_EQ(Http2FrameType::SETTINGS, header.type) << header; in OnSettingsStart() 112 Http2FrameHeader header(0, Http2FrameType::SETTINGS, in TEST_F() 128 Http2FrameHeader header(fb.size(), Http2FrameType::SETTINGS, RandFlags(), in TEST_F() 142 Http2FrameHeader header(size, Http2FrameType::SETTINGS, in TEST_F()
|
H A D | window_update_payload_decoder_test.cc | 26 static constexpr Http2FrameType FrameType() { in FrameType() 27 return Http2FrameType::WINDOW_UPDATE; in FrameType() 42 EXPECT_EQ(Http2FrameType::WINDOW_UPDATE, header.type); in OnWindowUpdate() 84 Http2FrameHeader header(fb.size(), Http2FrameType::WINDOW_UPDATE, in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/http2/decoder/payload_decoders/ |
H A D | settings_payload_decoder_test.cc | 29 static constexpr Http2FrameType FrameType() { in FrameType() 30 return Http2FrameType::SETTINGS; in FrameType() 45 EXPECT_EQ(Http2FrameType::SETTINGS, header.type) << header; in OnSettingsStart() 112 Http2FrameHeader header(0, Http2FrameType::SETTINGS, in TEST_F() 128 Http2FrameHeader header(fb.size(), Http2FrameType::SETTINGS, RandFlags(), in TEST_F() 142 Http2FrameHeader header(size, Http2FrameType::SETTINGS, in TEST_F()
|