/external/rust/crates/byteorder/src/ |
D | io.rs | 57 self.read_exact(&mut buf)?; in read_u8() 87 self.read_exact(&mut buf)?; in read_i8() 114 self.read_exact(&mut buf)?; in read_u16() 141 self.read_exact(&mut buf)?; in read_i16() 167 self.read_exact(&mut buf)?; in read_u24() 193 self.read_exact(&mut buf)?; in read_i24() 219 self.read_exact(&mut buf)?; in read_u32() 245 self.read_exact(&mut buf)?; in read_i32() 271 self.read_exact(&mut buf)?; in read_u48() 297 self.read_exact(&mut buf)?; in read_i48() [all …]
|
/external/rust/crates/tokio/tests/ |
D | io_mem_stream.rs | 13 b.read_exact(&mut buf).await.unwrap(); in ping_pong() 17 a.read_exact(&mut buf).await.unwrap(); in ping_pong() 28 a.read_exact(&mut buf).await.unwrap(); in across_tasks() 34 b.read_exact(&mut buf).await.unwrap(); in across_tasks() 78 b.read_exact(&mut buf).await.unwrap(); in max_write_size()
|
D | io_read_exact.rs | 8 async fn read_exact() { in read_exact() function 12 let n = assert_ok!(rd.read_exact(&mut buf[..]).await); in read_exact()
|
D | tcp_into_std.rs | 30 .read_exact(&mut data) in tcp_into_std() 40 let _size = tokio_tcp_stream.read_exact(&mut data).await?; in tcp_into_std()
|
D | io_copy_bidirectional.rs | 66 b.read_exact(&mut tmp).await.unwrap(); in test_basic_transfer() 80 a.read_exact(&mut tmp).await.unwrap(); in test_transfer_after_close() 98 a.read_exact(&mut tmp).await.unwrap(); in blocking_one_side_does_not_block_other()
|
D | tcp_echo.rs | 28 assert_ok!(stream.read_exact(&mut buf).await); in echo_server()
|
/external/rust/crates/nix/test/ |
D | test_pty.rs | 147 master.read_exact(&mut buf).unwrap(); in test_read_ptty_pair() 159 slave.read_exact(&mut buf).unwrap(); in test_write_ptty_pair() 176 crate::read_exact(pty.slave, &mut buf); in test_openpty() 183 crate::read_exact(pty.master, &mut buf); in test_openpty() 190 crate::read_exact(pty.master, &mut buf); in test_openpty() 225 crate::read_exact(pty.slave, &mut buf); in test_openpty_with_termios() 231 crate::read_exact(pty.master, &mut buf); in test_openpty_with_termios() 238 crate::read_exact(pty.master, &mut buf); in test_openpty_with_termios() 268 crate::read_exact(pty.master, &mut buf); in test_forkpty()
|
/external/rust/crates/futures/tests/ |
D | io_read_exact.rs | 2 fn read_exact() { in read_exact() function 9 let res = block_on(reader.read_exact(&mut out)); // read 3 bytes out in read_exact() 14 let res = block_on(reader.read_exact(&mut out)); // read another 3 bytes, but only 2 bytes left in read_exact()
|
/external/rust/crates/tokio/src/io/util/ |
D | async_read_ext.rs | 4 use crate::io::util::read_exact::{read_exact, ReadExact}; 277 fn read_exact<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadExact<'a, Self> 281 read_exact(self, buf)
|
D | mod.rs | 49 mod read_exact;
|
/external/rust/crates/gdbstub/src/connection/impls/ |
D | tcpstream.rs | 14 match Read::read_exact(self, &mut buf) { in read() 20 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() method 25 Read::read_exact(self, buf) in read_exact()
|
D | unixstream.rs | 58 match Read::read_exact(self, &mut buf) { in read() 64 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() method 69 Read::read_exact(self, buf) in read_exact()
|
D | boxed.rs | 12 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() method 13 (**self).read_exact(buf) in read_exact()
|
D | mod.rs | 22 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() method 23 (**self).read_exact(buf) in read_exact()
|
/external/rust/crates/clang-sys/build/ |
D | dynamic.rs | 26 file.read_exact(&mut buffer)?; in parse_elf_header() 42 file.read_exact(&mut buffer)?; in parse_pe_header() 47 file.read_exact(&mut buffer)?; in parse_pe_header() 55 file.read_exact(&mut buffer)?; in parse_pe_header()
|
/external/rust/crates/clang-sys/out/ |
D | dynamic.rs | 26 file.read_exact(&mut buffer)?; in parse_elf_header() 42 file.read_exact(&mut buffer)?; in parse_pe_header() 47 file.read_exact(&mut buffer)?; in parse_pe_header() 55 file.read_exact(&mut buffer)?; in parse_pe_header()
|
/external/rust/crates/protobuf/src/ |
D | buf_read_iter.rs | 276 self.read_exact(&mut target.get_unchecked_mut(..count))?; in read_exact_to_vec() 312 self.read_exact(buf)?; in read_exact_bytes() 338 pub fn read_exact(&mut self, buf: &mut [u8]) -> ProtobufResult<()> { in read_exact() method 359 buf_read.read_exact(buf)?; in read_exact() 363 buf_read.read_exact(buf)?; in read_exact() 512 .read_exact(&mut [1, 2, 3, 4]) in eof_at_limit()
|
/external/crosvm/sys_util/src/ |
D | write_zeroes.rs | 139 f.read_exact(&mut readback).unwrap(); in simple_test() 161 f.read_exact(&mut readback).unwrap(); in simple_test() 203 f.read_exact(&mut readback).unwrap(); in large_write_zeroes()
|
D | struct_util.rs | 27 f.read_exact(out_slice).map_err(|_| Error::ReadStruct)?; in read_struct() 48 f.read_exact(out_slice).map_err(|_| Error::ReadStruct)?; in read_struct_slice()
|
/external/rust/crates/futures-util/src/io/ |
D | mod.rs | 104 mod read_exact; module 105 pub use self::read_exact::ReadExact; 262 fn read_exact<'a>( in read_exact() method
|
D | allow_std.rs | 121 fn read_exact(&mut self, buf: &mut [u8]) -> io::Result<()> { in read_exact() function 122 self.0.read_exact(buf) in read_exact()
|
/external/crosvm/disk/src/qcow/ |
D | qcow_raw_file.rs | 47 self.file.read_exact(&mut value)?; in read_pointer_table() 90 self.file.read_exact(&mut value)?; in read_refcount_block()
|
/external/rust/crates/gdbstub/src/connection/ |
D | mod.rs | 21 fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Self::Error> { in read_exact() method
|
/external/rust/crates/criterion/src/ |
D | connection.rs | 73 socket.read_exact(&mut hello_buf)?; in new() 108 self.socket.read_exact(&mut length_buf)?; in recv() 111 self.socket.read_exact(&mut self.receive_buffer)?; in recv()
|
/external/crosvm/fuzz/ |
D | qcow_fuzzer.rs | 36 readable.read_exact(&mut buf[..]).unwrap(); in read_u64()
|