Home
last modified time | relevance | path

Searched refs:get_varint (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/quiche/src/
Dframe.rs152 let frame_type = b.get_varint()?; in from_bytes()
174 stream_id: b.get_varint()?, in from_bytes()
175 error_code: b.get_varint()?, in from_bytes()
176 final_size: b.get_varint()?, in from_bytes()
180 stream_id: b.get_varint()?, in from_bytes()
181 error_code: b.get_varint()?, in from_bytes()
185 let offset = b.get_varint()?; in from_bytes()
199 max: b.get_varint()?, in from_bytes()
203 stream_id: b.get_varint()?, in from_bytes()
204 max: b.get_varint()?, in from_bytes()
[all …]
Doctets.rs177 pub fn get_varint(&mut self) -> Result<u64> { in get_varint() method
240 let len = self.get_varint()?; in get_bytes_with_varint_length()
396 pub fn get_varint(&mut self) -> Result<u64> { in get_varint() method
518 let len = self.get_varint()?; in get_bytes_with_varint_length()
880 fn get_varint() { in get_varint() function
883 assert_eq!(b.get_varint().unwrap(), 151288809941952652); in get_varint()
889 assert_eq!(b.get_varint().unwrap(), 494878333); in get_varint()
895 assert_eq!(b.get_varint().unwrap(), 15293); in get_varint()
901 assert_eq!(b.get_varint().unwrap(), 37); in get_varint()
907 assert_eq!(b.get_varint().unwrap(), 37); in get_varint()
[all …]
Dlib.rs1613 b.get_varint().map_err(|e| { in recv_single()
4126 let id = params.get_varint()?; in decode()
4142 tp.max_idle_timeout = val.get_varint()?; in decode()
4154 tp.max_udp_payload_size = val.get_varint()?; in decode()
4162 tp.initial_max_data = val.get_varint()?; in decode()
4166 tp.initial_max_stream_data_bidi_local = val.get_varint()?; in decode()
4170 tp.initial_max_stream_data_bidi_remote = val.get_varint()?; in decode()
4174 tp.initial_max_stream_data_uni = val.get_varint()?; in decode()
4178 let max = val.get_varint()?; in decode()
4188 let max = val.get_varint()?; in decode()
[all …]
Dpacket.rs1115 let payload_len = b.get_varint().unwrap() as usize; in assert_decrypt_initial_pkt()
2194 let payload_len = b.get_varint().unwrap() as usize; in decrypt_pkt_underflow()
/external/rust/crates/quiche/src/h3/
Dframe.rs97 push_id: b.get_varint()?, in from_bytes()
107 id: b.get_varint()?, in from_bytes()
111 push_id: b.get_varint()?, in from_bytes()
291 let setting_ty = b.get_varint()?; in parse_settings_frame()
292 let settings_val = b.get_varint()?; in parse_settings_frame()
323 let push_id = b.get_varint()?; in parse_push_promise()
Dstream.rs412 let varint = octets::Octets::with_slice(&self.state_buf).get_varint()?; in try_consume_varint()
Dmod.rs965 let flow_id = b.get_varint()?; in recv_dgram()
1089 let flow_id = b.get_varint()?; in poll()