Home
last modified time | relevance | path

Searched refs:put_slice (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/bytes/src/buf/
Dbuf_mut.rs226 fn put_slice(&mut self, src: &[u8]) { in put_slice() method
274 self.put_slice(&src); in put_u8()
297 self.put_slice(&src) in put_i8()
319 self.put_slice(&n.to_be_bytes()) in put_u16()
341 self.put_slice(&n.to_le_bytes()) in put_u16_le()
363 self.put_slice(&n.to_be_bytes()) in put_i16()
385 self.put_slice(&n.to_le_bytes()) in put_i16_le()
407 self.put_slice(&n.to_be_bytes()) in put_u32()
429 self.put_slice(&n.to_le_bytes()) in put_u32_le()
451 self.put_slice(&n.to_be_bytes()) in put_i32()
[all …]
/external/rust/crates/tokio/src/io/
Dasync_read.rs102 buf.put_slice(a); in poll_read()
126 buf.put_slice(&slice[start..end]); in poll_read()
Dread_buf.rs252 pub fn put_slice(&mut self, buf: &[u8]) { in put_slice() method
Dblocking.rs208 dst.put_slice(&self.bytes()[..n]); in copy_to()
/external/rust/crates/bytes/benches/
Dbytes_mut.rs109 buf.put_slice(&[0u8; 64]); in alloc_write_split_to_mid()
174 buf.put_slice(&data); in put_slice_bytes_mut()
208 buf.put_slice(&data); in put_slice_vec()
/external/rust/crates/tokio/src/io/util/
Drepeat.rs58 buf.put_slice(&[self.byte]); in poll_read()
Dmem.rs170 buf.put_slice(&self.buffer[..max]); in poll_read()
Dbuf_reader.rs114 buf.put_slice(&rem[..amt]); in poll_read()
/external/rust/crates/tokio/tests/
Dio_copy.rs21 buf.put_slice(b"hello world"); in copy()
Dio_read_buf.rs24 buf.put_slice(b"hello world"); in read_buf()
Dio_read.rs27 buf.put_slice(b"hello world"); in read()
Dio_split.rs18 buf.put_slice(&[b'z']); in poll_read()
/external/libaom/libaom/
DCHANGELOG13 put_frame and put_slice callbacks are removed.
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h326 vpx_codec_put_slice_cb_fn_t put_slice; member
/external/libvpx/libvpx/vpx/src/
Dvpx_decoder.c164 ctx->priv->dec.put_slice_cb.u.put_slice = cb; in vpx_codec_register_put_slice_cb()
/external/rust/crates/bytes/tests/
Dtest_bytes.rs294 bytes.put_slice(&[10, 20, 30, 40]); in split_off_to_at_gt_len()
953 bytes.put_slice(b"hello world"); in bytes_reserve_overflow()
/external/rust/crates/bytes/
DCHANGELOG.md4 - mark `Vec::put_slice` with `#[inline]` (#459)
/external/rust/crates/bytes/src/
Dbytes_mut.rs1010 fn put_slice(&mut self, src: &[u8]) { in put_slice() method
1116 self.put_slice(s.as_bytes()); in write_str()
/external/rust/crates/tokio-test/src/
Dio.rs216 dst.put_slice(&data[..n]); in read()