Home
last modified time | relevance | path

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

/external/rust/crates/bytes/tests/
Dtest_buf_mut.rs41 buf.put_u8(33); in test_put_u8()
118 s.put_u8(17); in test_slice_put_bytes()
141 fn put_u8(&mut self, _: u8) { in test_deref_bufmut_forwards() method
147 Special.put_u8(b'x'); in test_deref_bufmut_forwards()
148 (&mut Special as &mut dyn BufMut).put_u8(b'x'); in test_deref_bufmut_forwards()
149 (Box::new(Special) as Box<dyn BufMut>).put_u8(b'x'); in test_deref_bufmut_forwards()
150 Box::new(Special).put_u8(b'x'); in test_deref_bufmut_forwards()
Dtest_chain.rs25 buf.put_u8(i); in writing_chained()
Dtest_bytes.rs455 bytes.put_u8(i as u8); in reserve_allocates_at_least_original_capacity()
472 bytes.put_u8(0u8); in reserve_max_original_capacity_value()
1048 bytes.put_u8(17); in bytes_put_bytes()
/external/rust/crates/quiche/src/h3/qpack/
Dencoder.rs138 b.put_u8(first | v as u8)?; in encode_int()
143 b.put_u8(first | mask as u8)?; in encode_int()
149 b.put_u8((v % 128 + 128) as u8)?; in encode_int()
155 b.put_u8(v as u8)?; in encode_int()
/external/rust/crates/quiche/src/h3/qpack/huffman/
Dmod.rs71 out.put_u8((bits >> 32) as u8)?; in encode()
82 out.put_u8((bits >> 32) as u8)?; in encode()
/external/rust/crates/bytes/src/buf/
Dbuf_mut.rs295 self.put_u8(val); in put_bytes()
317 fn put_u8(&mut self, n: u8) { in put_u8() method
1296 fn put_u8(&mut self, n: u8) {
1297 (**self).put_u8(n)
/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/quiche/src/
Dpacket.rs463 out.put_u8(first)?; in to_bytes()
480 out.put_u8(first)?; in to_bytes()
484 out.put_u8(self.dcid.len() as u8)?; in to_bytes()
487 out.put_u8(self.scid.len() as u8)?; in to_bytes()
720 1 => b.put_u8(pn as u8)?, in encode_pkt_num()
741 b.put_u8(first)?; in negotiate_version()
744 b.put_u8(scid.len() as u8)?; in negotiate_version()
746 b.put_u8(dcid.len() as u8)?; in negotiate_version()
847 pb.put_u8(odcid.len() as u8)?; in compute_retry_integrity_tag()
Dframe.rs517 b.put_u8(conn_id.len() as u8)?; in to_bytes()
/external/rust/crates/octets/src/
Dlib.rs352 pub fn put_u8(&mut self, v: u8) -> Result<&mut [u8]> { in put_u8() method
446 1 => self.put_u8(v as u8)?, in put_varint_with_len()
1038 assert!(b.put_u8(1).is_ok()); in put_u()
1058 assert!(b.put_u8(1).is_err()); in put_u()
1081 assert!(b.put_u8(1).is_err()); in put_bytes()
/external/rust/crates/tokio-util/src/codec/
Dlines_codec.rs195 buf.put_u8(b'\n'); in encode()
/external/rust/crates/bytes/src/
Dbytes_mut.rs1293 self.put_u8(b); in extend()