Home
last modified time | relevance | path

Searched refs:read_exact (Results 1 - 7 of 7) sorted by relevance

/third_party/rust/crates/nix/test/
H A Dtest_pty.rs173 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(pt in test_openpty_with_termios()
[all...]
H A Dtest.rs72 /// Helper function analogous to `std::io::Read::read_exact`, but for `RawFD`s
73 fn read_exact(f: RawFd, buf: &mut [u8]) { in read_exact() functions
H A Dtest_unistd.rs564 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/
H A Ddynamic.rs18 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/
H A Dmod.rs304 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( in keying_export()
[all...]
H A Dserver.rs159 s.read_exact(&mut [0]).unwrap(); in connect()
/third_party/rust/crates/nix/test/sys/
H A Dtest_termios.rs85 crate::read_exact(pty.slave, &mut buf); in test_output_flags()

Completed in 6 milliseconds