Home
last modified time | relevance | path

Searched refs:with_slice (Results 1 – 10 of 10) sorted by relevance

/external/rust/crates/quiche/src/
Dframe.rs1110 let mut b = octets::OctetsMut::with_slice(&mut d); in padding()
1116 let mut b = octets::Octets::with_slice(&d); in padding()
1119 let mut b = octets::Octets::with_slice(&d); in padding()
1122 let mut b = octets::Octets::with_slice(&d); in padding()
1125 let mut b = octets::Octets::with_slice(&d); in padding()
1136 let mut b = octets::OctetsMut::with_slice(&mut d); in ping()
1143 let mut b = octets::Octets::with_slice(&d); in ping()
1146 let mut b = octets::Octets::with_slice(&d); in ping()
1149 let mut b = octets::Octets::with_slice(&d); in ping()
1152 let mut b = octets::Octets::with_slice(&d); in ping()
[all …]
Doctets.rs135 pub fn with_slice(buf: &'a [u8]) -> Self { in with_slice() method
191 let mut b = OctetsMut::with_slice(&mut vec); in get_varint()
324 pub fn with_slice(buf: &'a mut [u8]) -> Self { in with_slice() method
410 let mut b = OctetsMut::with_slice(&mut vec); in get_varint()
681 let mut b = Octets::with_slice(&d); in get_u()
718 let mut b = OctetsMut::with_slice(&mut d); in get_u_mut()
753 let mut b = Octets::with_slice(&d); in peek_u()
774 let mut b = OctetsMut::with_slice(&mut d); in peek_u_mut()
794 let mut b = Octets::with_slice(&d); in get_bytes()
820 let mut b = OctetsMut::with_slice(&mut d); in get_bytes_mut()
[all …]
Dpacket.rs187 let mut b = octets::OctetsMut::with_slice(buf); in from_slice()
581 let mut b = octets::OctetsMut::with_slice(out); in negotiate_version()
603 let mut b = octets::OctetsMut::with_slice(out); in retry()
676 let mut pb = octets::OctetsMut::with_slice(&mut pseudo); in compute_retry_integrity_tag()
837 let mut b = octets::OctetsMut::with_slice(&mut d); in retry()
843 let mut b = octets::OctetsMut::with_slice(&mut d); in retry()
863 let mut b = octets::OctetsMut::with_slice(&mut d); in initial()
866 let mut b = octets::OctetsMut::with_slice(&mut d); in initial()
889 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_dcid_too_long()
892 let mut b = octets::OctetsMut::with_slice(&mut d); in initial_v1_dcid_too_long()
[all …]
Dlib.rs589 let mut b = octets::Octets::with_slice(&protos); in set_application_protos()
1450 let mut b = octets::OctetsMut::with_slice(buf); in recv_single()
1959 let mut b = octets::OctetsMut::with_slice(out); in send()
4121 let mut params = octets::Octets::with_slice(buf); in decode()
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()
Dtls.rs748 let mut protos = octets::Octets::with_slice(unsafe { in select_alpn()
/external/rust/crates/quiche/src/h3/
Dframe.rs84 let mut b = octets::Octets::with_slice(bytes); in from_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 …]
Dstream.rs412 let varint = octets::Octets::with_slice(&self.state_buf).get_varint()?; in try_consume_varint()
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()
Dmod.rs802 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()
964 let mut b = octets::Octets::with_slice(buf); in recv_dgram()
1088 let mut b = octets::Octets::with_slice(&d); in poll()
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()
[all …]
/external/rust/crates/quiche/src/h3/qpack/
Dencoder.rs56 let mut b = octets::OctetsMut::with_slice(out); in encode()
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()
Ddecoder.rs93 let mut b = octets::Octets::with_slice(buf); in decode()
285 let mut b = octets::Octets::with_slice(&mut encoded); in decode_int1()
293 let mut b = octets::Octets::with_slice(&mut encoded); in decode_int2()
301 let mut b = octets::Octets::with_slice(&mut encoded); in decode_int3()