Home
last modified time | relevance | path

Searched refs:origin_length (Results 1 – 20 of 20) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/payload_decoders/
Daltsvc_payload_decoder.cc77 altsvc_fields_.origin_length <= state->remaining_payload()) { in ResumeDecodingPayload()
78 size_t origin_length = altsvc_fields_.origin_length; in ResumeDecodingPayload() local
79 size_t value_length = state->remaining_payload() - origin_length; in ResumeDecodingPayload()
80 state->listener()->OnAltSvcStart(frame_header, origin_length, in ResumeDecodingPayload()
92 QUICHE_DCHECK_GT(altsvc_fields_.origin_length, in ResumeDecodingPayload()
118 size_t origin_length = altsvc_fields_.origin_length; in DecodeStrings() local
119 size_t value_length = state->frame_header().payload_length - origin_length - in DecodeStrings()
Daltsvc_payload_decoder_test.cc41 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length, in OnAltSvcStart()
44 << "; origin_length=" << origin_length in OnAltSvcStart()
46 StartFrame(header)->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
/external/cronet/net/third_party/quiche/src/quiche/http2/
Dhttp2_structures_test.cc527 uint16_t origin_length = random.Rand16(); in TEST() local
529 Http2AltSvcFields v{origin_length}; in TEST()
530 EXPECT_EQ(origin_length, v.origin_length); in TEST()
535 EXPECT_EQ(absl::StrCat("origin_length=", origin_length), s.str()); in TEST()
537 Http2AltSvcFields w{++origin_length}; in TEST()
541 v.origin_length = w.origin_length; in TEST()
Dhttp2_structures.cc129 return a.origin_length == b.origin_length; in operator ==()
132 return out << "origin_length=" << v.origin_length; in operator <<()
Dhttp2_structures.h309 uint16_t origin_length; member
/external/cronet/net/third_party/quiche/src/quiche/http2/test_tools/
Dhttp2_frame_decoder_listener_test_util.cc143 const Http2FrameHeader& header, size_t origin_length, size_t value_length) { in OnAltSvcStart() argument
144 FAIL() << "OnAltSvcStart: " << header << "; origin_length: " << origin_length in OnAltSvcStart()
415 const Http2FrameHeader& header, size_t origin_length, size_t value_length) { in OnAltSvcStart() argument
417 << "; origin_length: " << origin_length in OnAltSvcStart()
420 wrapped_->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
Dframe_parts_collector_listener.cc172 size_t origin_length, in OnAltSvcStart() argument
175 << "; origin_length=" << origin_length in OnAltSvcStart()
177 StartFrame(header)->OnAltSvcStart(header, origin_length, value_length); in OnAltSvcStart()
Dhttp2_frame_decoder_listener_test_util.h63 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length,
129 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length,
Dframe_parts_collector_listener.h70 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length,
Dframe_parts.cc336 size_t origin_length, size_t value_length) { in OnAltSvcStart() argument
338 << " origin_length: " << origin_length in OnAltSvcStart()
342 opt_altsvc_origin_length_ = origin_length; in OnAltSvcStart()
Dhttp2_structures_test_util.cc51 out->origin_length = rng->Rand16(); in Randomize()
Dhttp2_frame_builder.cc136 AppendUInt16(v.origin_length); in Append()
Dframe_parts.h98 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length,
/external/cronet/net/third_party/quiche/src/quiche/http2/decoder/
Ddecode_http2_structures_test.cc431 EXPECT_EQ(0, structure_.origin_length); in TEST_F()
440 EXPECT_EQ(20, structure_.origin_length); in TEST_F()
449 EXPECT_EQ(65535, structure_.origin_length); in TEST_F()
Dhttp2_structure_decoder_test.cc507 EXPECT_EQ(0, structure_->origin_length); in TEST_F()
516 EXPECT_EQ(20, structure_->origin_length); in TEST_F()
525 EXPECT_EQ(65535, structure_->origin_length); in TEST_F()
Ddecode_http2_structures.cc118 out->origin_length = b->DecodeUInt16(); in DoDecode()
Dhttp2_frame_decoder_listener.h236 size_t origin_length, size_t value_length) = 0;
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/
Dhttp2_frame_decoder_adapter.h204 void OnAltSvcStart(const Http2FrameHeader& header, size_t origin_length,
Dhttp2_frame_decoder_adapter.cc656 size_t origin_length, in OnAltSvcStart() argument
659 << "; origin_length: " << origin_length in OnAltSvcStart()
/external/harfbuzz_ng/src/
Dhb-ot-cmap-table.hh1491 unsigned origin_length = c->length (); in copy() local
1493 if (c->length () - origin_length > 0) *objidx = c->pop_pack (); in copy()