Searched refs:put_varint (Results 1 – 7 of 7) sorted by relevance
/external/rust/crates/quiche/src/h3/ |
D | frame.rs | 125 b.put_varint(DATA_FRAME_TYPE_ID)?; in to_bytes() 126 b.put_varint(payload.len() as u64)?; in to_bytes() 132 b.put_varint(HEADERS_FRAME_TYPE_ID)?; in to_bytes() 133 b.put_varint(header_block.len() as u64)?; in to_bytes() 139 b.put_varint(CANCEL_PUSH_FRAME_TYPE_ID)?; in to_bytes() 140 b.put_varint(octets::varint_len(*push_id) as u64)?; in to_bytes() 142 b.put_varint(*push_id)?; in to_bytes() 173 b.put_varint(SETTINGS_FRAME_TYPE_ID)?; in to_bytes() 174 b.put_varint(len as u64)?; in to_bytes() 177 b.put_varint(SETTINGS_MAX_HEADER_LIST_SIZE)?; in to_bytes() [all …]
|
D | stream.rs | 520 b.put_varint(HTTP3_CONTROL_STREAM_TYPE_ID).unwrap(); in control_good() 575 b.put_varint(HTTP3_CONTROL_STREAM_TYPE_ID).unwrap(); in control_bad_multiple_settings() 639 b.put_varint(HTTP3_CONTROL_STREAM_TYPE_ID).unwrap(); in control_bad_late_settings() 681 b.put_varint(HTTP3_CONTROL_STREAM_TYPE_ID).unwrap(); in control_bad_frame() 813 b.put_varint(HTTP3_PUSH_STREAM_TYPE_ID).unwrap(); in push_good() 814 b.put_varint(1).unwrap(); in push_good() 899 b.put_varint(33).unwrap(); in grease()
|
D | mod.rs | 828 b.put_varint(frame::HEADERS_FRAME_TYPE_ID)?; in send_headers() 829 b.put_varint(header_block.len() as u64)?; in send_headers() 911 b.put_varint(frame::DATA_FRAME_TYPE_ID)?; in send_body() 912 b.put_varint(body_len as u64)?; in send_body() 935 b.put_varint(flow_id)?; in send_dgram() 1202 conn.stream_send(stream_id, b.put_varint(ty)?, false)?; in open_uni_stream() 1262 conn.stream_send(stream_id, b.put_varint(grease_frame1)?, false)?; in send_grease_frames() 1265 conn.stream_send(stream_id, b.put_varint(0)?, false)?; in send_grease_frames() 1269 conn.stream_send(stream_id, b.put_varint(grease_frame2)?, false)?; in send_grease_frames() 1272 conn.stream_send(stream_id, b.put_varint(18)?, false)?; in send_grease_frames() [all …]
|
/external/rust/crates/quiche/src/ |
D | frame.rs | 312 b.put_varint(0x00)?; in to_bytes() 319 b.put_varint(0x01)?; in to_bytes() 323 b.put_varint(0x02)?; in to_bytes() 330 b.put_varint(first.end - 1)?; in to_bytes() 331 b.put_varint(*ack_delay)?; in to_bytes() 332 b.put_varint(it.len() as u64)?; in to_bytes() 333 b.put_varint(ack_block)?; in to_bytes() 341 b.put_varint(gap)?; in to_bytes() 342 b.put_varint(ack_block)?; in to_bytes() 353 b.put_varint(0x04)?; in to_bytes() [all …]
|
D | octets.rs | 425 pub fn put_varint(&mut self, v: u64) -> Result<&mut [u8]> { in put_varint() method 946 fn put_varint() { in put_varint() function 950 assert!(b.put_varint(151288809941952652).is_ok()); in put_varint() 960 assert!(b.put_varint(494878333).is_ok()); in put_varint() 970 assert!(b.put_varint(15293).is_ok()); in put_varint() 980 assert!(b.put_varint(37).is_ok()); in put_varint() 990 assert!(b.put_varint(151288809941952652).is_err()); in put_varint() 1003 assert!(b.put_varint(std::u64::MAX).is_err()); in varint_too_large()
|
D | lib.rs | 2478 b.put_varint(len as u64)?; in send() 4266 b.put_varint(ty)?; in encode_param() 4267 b.put_varint(len as u64)?; in encode_param() 4290 b.put_varint(tp.max_idle_timeout)?; in encode() 4306 b.put_varint(tp.max_udp_payload_size)?; in encode() 4315 b.put_varint(tp.initial_max_data)?; in encode() 4324 b.put_varint(tp.initial_max_stream_data_bidi_local)?; in encode() 4333 b.put_varint(tp.initial_max_stream_data_bidi_remote)?; in encode() 4342 b.put_varint(tp.initial_max_stream_data_uni)?; in encode() 4351 b.put_varint(tp.initial_max_streams_bidi)?; in encode() [all …]
|
D | packet.rs | 340 out.put_varint(v.len() as u64)?; in to_bytes() 346 out.put_varint(0)?; in to_bytes()
|