Home
last modified time | relevance | path

Searched refs:varint_len (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/quiche/src/h3/
Dframe.rs140 b.put_varint(octets::varint_len(*push_id) as u64)?; in to_bytes()
154 len += octets::varint_len(SETTINGS_MAX_HEADER_LIST_SIZE); in to_bytes()
155 len += octets::varint_len(*val); in to_bytes()
159 len += octets::varint_len(SETTINGS_QPACK_MAX_TABLE_CAPACITY); in to_bytes()
160 len += octets::varint_len(*val); in to_bytes()
164 len += octets::varint_len(SETTINGS_QPACK_BLOCKED_STREAMS); in to_bytes()
165 len += octets::varint_len(*val); in to_bytes()
169 len += octets::varint_len(val.0); in to_bytes()
170 len += octets::varint_len(val.1); in to_bytes()
201 let len = octets::varint_len(*push_id) + header_block.len(); in to_bytes()
[all …]
Dmod.rs813 let overhead = octets::varint_len(frame::HEADERS_FRAME_TYPE_ID) + in send_headers()
814 octets::varint_len(header_block.len() as u64); in send_headers()
884 let overhead = octets::varint_len(frame::DATA_FRAME_TYPE_ID) + in send_body()
885 octets::varint_len(body.len() as u64); in send_body()
931 let len = octets::varint_len(flow_id) + buf.len(); in send_dgram()
973 let flow_id_len = octets::varint_len(flow_id); in dgram_max_writable_len()
1246 let overhead = octets::varint_len(grease_frame1) + // frame type in send_grease_frames()
1248 octets::varint_len(grease_frame2) + // frame type in send_grease_frames()
/external/rust/crates/quiche/src/
Dframe.rs543 octets::varint_len(first.end - 1) + // largest_ack in wire_len()
544 octets::varint_len(*ack_delay) + // ack_delay in wire_len()
545 octets::varint_len(it.len() as u64) + // block_count in wire_len()
546 octets::varint_len(ack_block); // first_block in wire_len()
554 len += octets::varint_len(gap) + // gap in wire_len()
555 octets::varint_len(ack_block); // ack_block in wire_len()
569 octets::varint_len(*stream_id) + // stream_id in wire_len()
570 octets::varint_len(*error_code) + // error_code in wire_len()
571 octets::varint_len(*final_size) // final_size in wire_len()
579 octets::varint_len(*stream_id) + // stream_id in wire_len()
[all …]
Dlib.rs2373 octets::varint_len(stream_id) + in send()
2374 octets::varint_len(off) + in send()
2375 octets::varint_len(left as u64); in send()
4288 octets::varint_len(tp.max_idle_timeout), in encode()
4304 octets::varint_len(tp.max_udp_payload_size), in encode()
4313 octets::varint_len(tp.initial_max_data), in encode()
4322 octets::varint_len(tp.initial_max_stream_data_bidi_local), in encode()
4331 octets::varint_len(tp.initial_max_stream_data_bidi_remote), in encode()
4340 octets::varint_len(tp.initial_max_stream_data_uni), in encode()
4349 octets::varint_len(tp.initial_max_streams_bidi), in encode()
[all …]
Doctets.rs426 self.put_varint_with_len(v, varint_len(v)) in put_varint()
646 pub fn varint_len(v: u64) -> usize { in varint_len() function