/external/rust/crates/quiche/src/ |
D | octets.rs | 191 let mut b = OctetsMut::with_slice(&mut vec); in get_varint() 314 pub struct OctetsMut<'a> { struct 319 impl<'a> OctetsMut<'a> { implementation 325 OctetsMut { buf, off: 0 } in with_slice() 410 let mut b = OctetsMut::with_slice(&mut vec); in get_varint() 484 pub fn get_bytes_mut(&mut self, len: usize) -> Result<OctetsMut> { in get_bytes_mut() argument 489 let out = OctetsMut { in get_bytes_mut() 539 pub fn peek_bytes_mut(&mut self, len: usize) -> Result<OctetsMut> { in peek_bytes_mut() argument 544 let out = OctetsMut { in peek_bytes_mut() 573 pub fn split_at(&mut self, off: usize) -> Result<(OctetsMut, OctetsMut)> { in split_at() argument [all …]
|
D | packet.rs | 187 let mut b = octets::OctetsMut::with_slice(buf); in from_slice() 192 b: &mut octets::OctetsMut, dcid_len: usize, in from_bytes() argument 287 pub(crate) fn to_bytes(&self, out: &mut octets::OctetsMut) -> Result<()> { in to_bytes() 424 b: &mut octets::OctetsMut, hdr: &mut Header, aead: &crypto::Open, in decrypt_hdr() argument 501 b: &'a mut octets::OctetsMut, pn: u64, pn_len: usize, payload_len: usize, in decrypt_pkt() argument 521 b: &mut octets::OctetsMut, pn_len: usize, payload: &[u8], aead: &crypto::Seal, in encrypt_hdr() argument 546 b: &mut octets::OctetsMut, pn: u64, pn_len: usize, payload_len: usize, in encrypt_pkt() argument 560 pub fn encode_pkt_num(pn: u64, b: &mut octets::OctetsMut) -> Result<()> { in encode_pkt_num() 581 let mut b = octets::OctetsMut::with_slice(out); in negotiate_version() 603 let mut b = octets::OctetsMut::with_slice(out); in retry() [all …]
|
D | frame.rs | 304 pub fn to_bytes(&self, b: &mut octets::OctetsMut) -> Result<usize> { in to_bytes() 1110 let mut b = octets::OctetsMut::with_slice(&mut d); in padding() 1136 let mut b = octets::OctetsMut::with_slice(&mut d); in ping() 1172 let mut b = octets::OctetsMut::with_slice(&mut d); in ack() 1202 let mut b = octets::OctetsMut::with_slice(&mut d); in reset_stream() 1231 let mut b = octets::OctetsMut::with_slice(&mut d); in stop_sending() 1261 let mut b = octets::OctetsMut::with_slice(&mut d); in crypto() 1289 let mut b = octets::OctetsMut::with_slice(&mut d); in new_token() 1320 let mut b = octets::OctetsMut::with_slice(&mut d); in stream() 1351 let mut b = octets::OctetsMut::with_slice(&mut d); in stream_too_big() [all …]
|
D | lib.rs | 1450 let mut b = octets::OctetsMut::with_slice(buf); in recv_single() 1959 let mut b = octets::OctetsMut::with_slice(out); in send() 4264 b: &mut octets::OctetsMut, ty: u64, len: usize, in encode_param() argument 4275 let mut b = octets::OctetsMut::with_slice(out); in encode() 4663 let mut b = octets::OctetsMut::with_slice(buf); in encode_pkt() 4724 let mut b = octets::OctetsMut::with_slice(&mut buf[..len]); in decode_pkt() 6107 let mut b = octets::OctetsMut::with_slice(&mut buf); in invalid_initial_payload()
|
/external/rust/crates/quiche/src/h3/qpack/ |
D | encoder.rs | 56 let mut b = octets::OctetsMut::with_slice(out); in encode() 126 mut v: u64, first: u8, prefix: usize, b: &mut octets::OctetsMut, in encode_int() argument 154 fn encode_str(v: &str, prefix: usize, b: &mut octets::OctetsMut) -> Result<()> { in encode_str() 174 let mut b = octets::OctetsMut::with_slice(&mut encoded); in encode_int1() 185 let mut b = octets::OctetsMut::with_slice(&mut encoded); in encode_int2() 196 let mut b = octets::OctetsMut::with_slice(&mut encoded); in encode_int3()
|
/external/rust/crates/quiche/src/h3/ |
D | frame.rs | 120 pub fn to_bytes(&self, b: &mut octets::OctetsMut) -> Result<usize> { in to_bytes() 348 let mut b = octets::OctetsMut::with_slice(&mut d); in data() 376 let mut b = octets::OctetsMut::with_slice(&mut d); in headers() 403 let mut b = octets::OctetsMut::with_slice(&mut d); in cancel_push() 435 let mut b = octets::OctetsMut::with_slice(&mut d); in settings_all_no_grease() 475 let mut b = octets::OctetsMut::with_slice(&mut d); in settings_all_grease() 507 let mut b = octets::OctetsMut::with_slice(&mut d); in settings_h3_only() 539 let mut b = octets::OctetsMut::with_slice(&mut d); in settings_qpack_only() 570 let mut b = octets::OctetsMut::with_slice(&mut d); in push_promise() 597 let mut b = octets::OctetsMut::with_slice(&mut d); in goaway() [all …]
|
D | stream.rs | 511 let mut b = octets::OctetsMut::with_slice(&mut d); in control_good() 566 let mut b = octets::OctetsMut::with_slice(&mut d); in control_bad_multiple_settings() 628 let mut b = octets::OctetsMut::with_slice(&mut d); in control_bad_late_settings() 669 let mut b = octets::OctetsMut::with_slice(&mut d); in control_bad_frame() 732 let mut b = octets::OctetsMut::with_slice(&mut d); in request_good() 804 let mut b = octets::OctetsMut::with_slice(&mut d); in push_good() 897 let mut b = octets::OctetsMut::with_slice(&mut d); in grease()
|
D | mod.rs | 802 let mut b = octets::OctetsMut::with_slice(&mut d); in send_headers() 866 let mut b = octets::OctetsMut::with_slice(&mut d); in send_body() 933 let mut b = octets::OctetsMut::with_slice(&mut d); in send_dgram() 1155 let mut b = octets::OctetsMut::with_slice(&mut d); in send_goaway() 1183 let mut b = octets::OctetsMut::with_slice(&mut d); in open_uni_stream() 1261 let mut b = octets::OctetsMut::with_slice(&mut d); in send_grease_frames() 1264 let mut b = octets::OctetsMut::with_slice(&mut d); in send_grease_frames() 1268 let mut b = octets::OctetsMut::with_slice(&mut d); in send_grease_frames() 1271 let mut b = octets::OctetsMut::with_slice(&mut d); in send_grease_frames() 1323 let mut b = octets::OctetsMut::with_slice(&mut d); in send_settings() [all …]
|
/external/rust/crates/quiche/src/h3/qpack/huffman/ |
D | mod.rs | 60 pub fn encode(src: &[u8], out: &mut octets::OctetsMut, low: bool) -> Result<()> { in encode() argument
|