Searched refs:read_fd (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/lib/libsecureboot/ |
| H A D | readfile.c | 31 read_fd(int fd, size_t len) in read_fd() function 66 ucp = read_fd(fd, st.st_size); in read_file()
|
| H A D | verify_file.c | 280 ucp = read_fd(fd, stp->st_size); in verify_tweak()
|
| /freebsd-12.1/tests/sys/aio/ |
| H A D | aio_test.c | 136 aio_context_init(struct aio_context *ac, int read_fd, in aio_context_init() argument 144 ac->ac_read_fd = read_fd; in aio_context_init() 384 int error, read_fd = -1, write_fd = -1; in aio_fifo_test() local 393 read_fd = open(FIFO_PATHNAME, O_RDONLY | O_NONBLOCK); in aio_fifo_test() 394 if (read_fd == -1) { in aio_fifo_test() 409 aio_context_init(&ac, read_fd, write_fd, FIFO_LEN); in aio_fifo_test() 413 close(read_fd); in aio_fifo_test() 517 int read_fd, write_fd; in aio_pty_test() local 524 ATF_REQUIRE_MSG(openpty(&read_fd, &write_fd, NULL, NULL, NULL) == 0, in aio_pty_test() 539 aio_context_init(&ac, read_fd, write_fd, PTY_LEN); in aio_pty_test() [all …]
|
| /freebsd-12.1/lib/libsecureboot/h/ |
| H A D | libsecureboot.h | 45 unsigned char * read_fd(int, size_t);
|
| /freebsd-12.1/contrib/libc++/src/filesystem/ |
| H A D | operations.cpp | 643 bool copy_file_impl_sendfile(FileDescriptor& read_fd, FileDescriptor& write_fd, in copy_file_impl_sendfile() argument 646 size_t count = read_fd.get_stat().st_size; in copy_file_impl_sendfile() 649 if ((res = ::sendfile(write_fd.fd, read_fd.fd, nullptr, count)) == -1) { in copy_file_impl_sendfile() 661 bool copy_file_impl_copyfile(FileDescriptor& read_fd, FileDescriptor& write_fd, 674 if (fcopyfile(read_fd.fd, write_fd.fd, cfs.state, COPYFILE_DATA) < 0) { 686 __attribute__((unused)) bool copy_file_impl_default(FileDescriptor& read_fd, in copy_file_impl_default() argument 690 in.__open(read_fd.fd, ios::binary); in copy_file_impl_default()
|
| /freebsd-12.1/contrib/googletest/googletest/src/ |
| H A D | gtest-death-test.cc | 414 int read_fd() const { return read_fd_; } in read_fd() function in testing::internal::DeathTestImpl 461 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte() 478 FailFromInternalError(read_fd()); // Does not return. in ReadAndInterpretStatusByte() 489 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd())); in ReadAndInterpretStatusByte()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Target/ |
| H A D | Process.cpp | 4546 const int read_fd = m_read_file.GetDescriptor(); in Run() local 4548 terminal_state.Save(read_fd, false); in Run() 4549 Terminal terminal(read_fd); in Run() 4558 select_helper.FDSetRead(read_fd); in Run() 4567 if (select_helper.FDIsSetRead(read_fd)) { in Run()
|