Home
last modified time | relevance | path

Searched refs:put_u8 (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/bytes/tests/
Dtest_buf_mut.rs33 buf.put_u8(33); in test_put_u8()
92 fn put_u8(&mut self, _: u8) { in test_deref_bufmut_forwards() method
98 Special.put_u8(b'x'); in test_deref_bufmut_forwards()
99 (&mut Special as &mut dyn BufMut).put_u8(b'x'); in test_deref_bufmut_forwards()
100 (Box::new(Special) as Box<dyn BufMut>).put_u8(b'x'); in test_deref_bufmut_forwards()
101 Box::new(Special).put_u8(b'x'); in test_deref_bufmut_forwards()
Dtest_chain.rs25 buf.put_u8(i); in writing_chained()
Dtest_bytes.rs454 bytes.put_u8(i as u8); in reserve_allocates_at_least_original_capacity()
471 bytes.put_u8(0u8); in reserve_max_original_capacity_value()
/external/rust/crates/quiche/src/h3/qpack/
Dencoder.rs132 b.put_u8(first | v as u8)?; in encode_int()
137 b.put_u8(first | mask as u8)?; in encode_int()
143 b.put_u8((v % 128 + 128) as u8)?; in encode_int()
149 b.put_u8(v as u8)?; in encode_int()
/external/rust/crates/quiche/src/h3/qpack/huffman/
Dmod.rs73 out.put_u8((bits >> 32) as u8)?; in encode()
84 out.put_u8((bits >> 32) as u8)?; in encode()
/external/rust/crates/bytes/src/buf/
Dbuf_mut.rs272 fn put_u8(&mut self, n: u8) { in put_u8() method
928 fn put_u8(&mut self, n: u8) {
929 (**self).put_u8(n)
/external/rust/crates/quiche/src/
Dpacket.rs308 out.put_u8(first)?; in to_bytes()
325 out.put_u8(first)?; in to_bytes()
329 out.put_u8(self.dcid.len() as u8)?; in to_bytes()
332 out.put_u8(self.scid.len() as u8)?; in to_bytes()
564 1 => b.put_u8(pn as u8)?, in encode_pkt_num()
585 b.put_u8(first)?; in negotiate_version()
588 b.put_u8(scid.len() as u8)?; in negotiate_version()
590 b.put_u8(dcid.len() as u8)?; in negotiate_version()
678 pb.put_u8(odcid.len() as u8)?; in compute_retry_integrity_tag()
Doctets.rs342 pub fn put_u8(&mut self, v: u8) -> Result<&mut [u8]> { in put_u8() method
439 1 => self.put_u8(v as u8)?, in put_varint_with_len()
1015 assert!(b.put_u8(1).is_ok()); in put_u()
1035 assert!(b.put_u8(1).is_err()); in put_u()
1058 assert!(b.put_u8(1).is_err()); in put_bytes()
Dframe.rs466 b.put_u8(conn_id.len() as u8)?; in to_bytes()
/external/rust/crates/bytes/benches/
Dbytes_mut.rs191 buf.put_u8(b'x'); in put_u8_bytes_mut()
225 buf.put_u8(b'x'); in put_u8_vec()
/external/rust/crates/bytes/src/
Dbytes_mut.rs1168 self.put_u8(b); in extend()