Searched refs:read_exact (Results 1 – 8 of 8) sorted by relevance
/third_party/rust/crates/nix/test/ |
D | test_pty.rs | 173 master.read_exact(&mut buf).unwrap(); in test_read_ptty_pair() 178 master.read_exact(&mut buf).unwrap(); in test_read_ptty_pair() 190 slave.read_exact(&mut buf).unwrap(); in test_write_ptty_pair() 195 slave.read_exact(&mut buf).unwrap(); in test_write_ptty_pair() 212 crate::read_exact(pty.slave, &mut buf); in test_openpty() 219 crate::read_exact(pty.master, &mut buf); in test_openpty() 226 crate::read_exact(pty.master, &mut buf); in test_openpty() 261 crate::read_exact(pty.slave, &mut buf); in test_openpty_with_termios() 267 crate::read_exact(pty.master, &mut buf); in test_openpty_with_termios() 274 crate::read_exact(pty.master, &mut buf); in test_openpty_with_termios() [all …]
|
D | test.rs | 73 fn read_exact(f: RawFd, buf: &mut [u8]) { in read_exact() function
|
D | test_unistd.rs | 564 crate::read_exact(tmpfd, &mut buf); in test_lseek() 581 crate::read_exact(tmpfd, &mut buf); in test_lseek64()
|
/third_party/rust/crates/clang-sys/build/ |
D | dynamic.rs | 18 file.read_exact(&mut buffer)?; in parse_elf_header() 34 file.read_exact(&mut buffer)?; in parse_pe_header() 39 file.read_exact(&mut buffer)?; in parse_pe_header() 47 file.read_exact(&mut buffer)?; in parse_pe_header()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/test/ |
D | mod.rs | 304 s.read_exact(&mut [0]).unwrap(); in pending() 376 stream.read_exact(&mut [0]).unwrap(); in test_connect_with_srtp_ctx() 445 stream.read_exact(&mut [0]).unwrap(); in test_connect_with_srtp_ssl() 702 s.read_exact(&mut [0]).unwrap(); in connector_valid_hostname() 733 s.read_exact(&mut [0]).unwrap(); in connector_invalid_no_hostname_verification() 767 s.read_exact(&mut [0]).unwrap(); in connector_can_disable_verify() 792 s.read_exact(&mut [0]).unwrap(); in connector_does_use_sni_with_dnsnames() 820 s.read_exact(&mut [0]).unwrap(); in connector_doesnt_use_sni_with_ips() 850 stream.read_exact(&mut buf).unwrap(); in test_mozilla_server() 1179 stream.read_exact(&mut [0]).unwrap(); in keying_export()
|
D | server.rs | 159 s.read_exact(&mut [0]).unwrap(); in connect()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_termios.rs | 85 crate::read_exact(pty.slave, &mut buf); in test_output_flags()
|
/third_party/rust/crates/either/src/ |
D | lib.rs | 1101 fn read_exact(&mut self, buf: &mut [u8]) -> io::Result<()> { in read_exact() function 1102 for_both!(*self, ref mut inner => inner.read_exact(buf)) in read_exact()
|