/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/ |
D | http2_constants_test_util.cc | 49 return Http2FrameFlag::END_STREAM | Http2FrameFlag::PADDED; in KnownFlagsMaskForFrameType() 51 return Http2FrameFlag::END_STREAM | Http2FrameFlag::END_HEADERS | in KnownFlagsMaskForFrameType() 52 Http2FrameFlag::PADDED | Http2FrameFlag::PRIORITY; in KnownFlagsMaskForFrameType() 58 return Http2FrameFlag::ACK; in KnownFlagsMaskForFrameType() 60 return Http2FrameFlag::END_HEADERS | Http2FrameFlag::PADDED; in KnownFlagsMaskForFrameType() 62 return Http2FrameFlag::ACK; in KnownFlagsMaskForFrameType() 68 return Http2FrameFlag::END_HEADERS; in KnownFlagsMaskForFrameType()
|
D | payload_decoder_base_test_util.h | 260 (Http2FrameFlag::PADDED & KnownFlagsMaskForFrameType(frame_type))) { in VerifyDetectsMultipleFrameSizeErrors() 263 required_flags &= ~Http2FrameFlag::PADDED; in VerifyDetectsMultipleFrameSizeErrors() 265 required_flags |= Http2FrameFlag::PADDED; in VerifyDetectsMultipleFrameSizeErrors() 309 HTTP2_VERIFY_EQ(0, known_flags & Http2FrameFlag::PADDED); in VerifyDetectsFrameSizeError() 310 HTTP2_VERIFY_EQ(0, required_flags & Http2FrameFlag::PADDED); in VerifyDetectsFrameSizeError() 367 flags |= Http2FrameFlag::PADDED; in RandFlags() 369 flags &= ~Http2FrameFlag::PADDED; in RandFlags() 407 uint8_t flags = RandFlags() | Http2FrameFlag::PADDED; in VerifyDetectsPaddingTooLong()
|
D | http2_structures_test_util.cc | 20 out->flags = static_cast<Http2FrameFlag>(rng->Rand8()); in Randomize()
|
D | http2_frame_builder_test.cc | 36 header.flags = Http2FrameFlag::END_HEADERS; in TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/ |
D | http2_constants_test.cc | 60 TEST(Http2ConstantsTest, Http2FrameFlag) { in TEST() argument 61 EXPECT_EQ(Http2FrameFlag::END_STREAM, static_cast<Http2FrameFlag>(0x01)); in TEST() 62 EXPECT_EQ(Http2FrameFlag::ACK, static_cast<Http2FrameFlag>(0x01)); in TEST() 63 EXPECT_EQ(Http2FrameFlag::END_HEADERS, static_cast<Http2FrameFlag>(0x04)); in TEST() 64 EXPECT_EQ(Http2FrameFlag::PADDED, static_cast<Http2FrameFlag>(0x08)); in TEST() 65 EXPECT_EQ(Http2FrameFlag::PRIORITY, static_cast<Http2FrameFlag>(0x20)); in TEST() 67 EXPECT_EQ(Http2FrameFlag::END_STREAM, 0x01); in TEST() 68 EXPECT_EQ(Http2FrameFlag::ACK, 0x01); in TEST() 69 EXPECT_EQ(Http2FrameFlag::END_HEADERS, 0x04); in TEST() 70 EXPECT_EQ(Http2FrameFlag::PADDED, 0x08); in TEST() [all …]
|
D | http2_structures_test.cc | 181 Values(~Http2FrameFlag::END_STREAM, 0xff)), 185 (flags_ & Http2FrameFlag::END_STREAM) == Http2FrameFlag::END_STREAM; in TEST_P() 198 v.RetainFlags(Http2FrameFlag::END_STREAM); in TEST_P() 219 Values(~Http2FrameFlag::ACK, 0xff)), 222 const bool is_set = (flags_ & Http2FrameFlag::ACK) == Http2FrameFlag::ACK; in TEST_P() 235 v.RetainFlags(Http2FrameFlag::ACK); in TEST_P() 256 Values(~Http2FrameFlag::END_HEADERS, 0xff)), 260 (flags_ & Http2FrameFlag::END_HEADERS) == Http2FrameFlag::END_HEADERS; in TEST_P() 274 v.RetainFlags(Http2FrameFlag::END_HEADERS); in TEST_P() 296 Values(~Http2FrameFlag::PADDED, 0xff)), [all …]
|
D | http2_constants.cc | 63 append_and_clear("END_STREAM", Http2FrameFlag::END_STREAM); in Http2FrameFlagsToString() 66 append_and_clear("ACK", Http2FrameFlag::ACK); in Http2FrameFlagsToString() 73 append_and_clear("END_HEADERS", Http2FrameFlag::END_HEADERS); in Http2FrameFlagsToString() 79 append_and_clear("PADDED", Http2FrameFlag::PADDED); in Http2FrameFlagsToString() 84 append_and_clear("PRIORITY", Http2FrameFlag::PRIORITY); in Http2FrameFlagsToString()
|
D | http2_structures.h | 68 return (flags & Http2FrameFlag::END_STREAM) != 0; in IsEndStream() 76 return (flags & Http2FrameFlag::ACK) != 0; in IsAck() 85 return (flags & Http2FrameFlag::END_HEADERS) != 0; in IsEndHeaders() 94 return (flags & Http2FrameFlag::PADDED) != 0; in IsPadded() 100 return (flags & Http2FrameFlag::PRIORITY) != 0; in HasPriority()
|
D | http2_constants.h | 69 enum Http2FrameFlag : uint8_t { enum
|
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/ |
D | http2_frame_decoder_test.cc | 273 Http2FrameHeader header(0, Http2FrameType::SETTINGS, Http2FrameFlag::ACK, 0); in TEST_F() 289 Http2FrameFlag::END_HEADERS, 2); in TEST_F() 320 Http2FrameHeader header(8, Http2FrameType::PING, Http2FrameFlag::ACK, 0); in TEST_F() 424 Http2FrameFlag::END_STREAM | Http2FrameFlag::END_HEADERS, 2); in TEST_F() 438 Http2FrameHeader header(5, Http2FrameType::HEADERS, Http2FrameFlag::PRIORITY, in TEST_F() 475 Http2FrameFlag::END_HEADERS, 255); in TEST_F() 507 Http2FrameFlag::END_HEADERS, 2); in TEST_F() 571 Http2FrameFlag::END_STREAM | Http2FrameFlag::PADDED, in TEST_F() 588 Http2FrameHeader header(7, Http2FrameType::HEADERS, Http2FrameFlag::PADDED, in TEST_F() 608 Http2FrameFlag::END_STREAM | in TEST_F() [all …]
|
D | http2_frame_decoder.cc | 276 RetainFlags(Http2FrameFlag::END_HEADERS); in StartDecodingContinuationPayload() 290 RetainFlags(Http2FrameFlag::END_STREAM | Http2FrameFlag::PADDED); in StartDecodingDataPayload() 311 RetainFlags(Http2FrameFlag::END_STREAM | Http2FrameFlag::END_HEADERS | in StartDecodingHeadersPayload() 312 Http2FrameFlag::PADDED | Http2FrameFlag::PRIORITY); in StartDecodingHeadersPayload() 324 RetainFlags(Http2FrameFlag::ACK); in StartDecodingPingPayload() 365 RetainFlags(Http2FrameFlag::END_HEADERS | Http2FrameFlag::PADDED); in StartDecodingPushPromisePayload() 393 RetainFlags(Http2FrameFlag::ACK); in StartDecodingSettingsPayload()
|
D | frame_decoder_state.h | 224 void ClearFlags() { frame_header_.flags = Http2FrameFlag(); } in ClearFlags()
|
D | decode_http2_structures.cc | 24 out->flags = static_cast<Http2FrameFlag>(b->DecodeUInt8()); in DoDecode()
|
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/ |
D | headers_payload_decoder.cc | 53 ~(Http2FrameFlag::END_STREAM | Http2FrameFlag::END_HEADERS | in StartDecodingPayload() 54 Http2FrameFlag::PADDED | Http2FrameFlag::PRIORITY)); in StartDecodingPayload() 69 const auto payload_flags = Http2FrameFlag::PADDED | Http2FrameFlag::PRIORITY; in StartDecodingPayload()
|
D | headers_payload_decoder_test.cc | 35 return Http2FrameFlag::PADDED | Http2FrameFlag::PRIORITY; in FlagsAffectingPayloadDecoding() 114 flags |= Http2FrameFlag::PRIORITY; in TEST_P() 147 Http2FrameFlag::PRIORITY, fb.buffer(), approve_size, total_pad_length_)); in TEST_P()
|
D | settings_payload_decoder_test.cc | 36 return Http2FrameFlag::ACK; in FlagsAffectingPayloadDecoding() 46 EXPECT_EQ(Http2FrameFlag(), header.flags) << header; in OnSettingsStart() 104 EXPECT_TRUE(VerifyDetectsFrameSizeError(Http2FrameFlag::ACK, fb.buffer(), in TEST_F() 112 RandFlags() | Http2FrameFlag::ACK, stream_id); in TEST_F()
|
D | ping_payload_decoder_test.cc | 84 RandFlags() & ~Http2FrameFlag::ACK, RandStreamId()); in TEST_F() 99 RandFlags() | Http2FrameFlag::ACK, RandStreamId()); in TEST_F()
|
D | data_payload_decoder.cc | 46 QUICHE_DCHECK_EQ(0, frame_header.flags & ~(Http2FrameFlag::END_STREAM | in StartDecodingPayload() 47 Http2FrameFlag::PADDED)); in StartDecodingPayload()
|
D | push_promise_payload_decoder.cc | 48 QUICHE_DCHECK_EQ(0, frame_header.flags & ~(Http2FrameFlag::END_HEADERS | in StartDecodingPayload() 49 Http2FrameFlag::PADDED)); in StartDecodingPayload()
|
D | continuation_payload_decoder.cc | 26 QUICHE_DCHECK_EQ(0, frame_header.flags & ~(Http2FrameFlag::END_HEADERS)); in StartDecodingPayload()
|
D | data_payload_decoder_test.cc | 37 return Http2FrameFlag::PADDED; in FlagsAffectingPayloadDecoding()
|
D | ping_payload_decoder.cc | 25 QUICHE_DCHECK_EQ(0, frame_header.flags & ~(Http2FrameFlag::ACK)); in StartDecodingPayload()
|
D | settings_payload_decoder.cc | 24 QUICHE_DCHECK_EQ(0, frame_header.flags & ~(Http2FrameFlag::ACK)); in StartDecodingPayload()
|
D | push_promise_payload_decoder_test.cc | 37 return Http2FrameFlag::PADDED; in FlagsAffectingPayloadDecoding()
|
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/ |
D | http2_frame_decoder_adapter.cc | 79 header->flags = Http2FrameFlag(0xd2); in CorruptFrameHeader() 387 uint8_t valid_flags = Http2FrameFlag::PADDED | Http2FrameFlag::END_STREAM; in OnFrameHeader()
|