| /freebsd-12-stable/lib/libsecureboot/ |
| 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()
|
| D | verify_file.c | 300 ucp = read_fd(fd, stp->st_size); in verify_tweak()
|
| /freebsd-12-stable/tests/sys/aio/ |
| 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-stable/lib/libsecureboot/h/ |
| D | libsecureboot.h | 45 unsigned char * read_fd(int, size_t);
|
| /freebsd-12-stable/contrib/googletest/googletest/src/ |
| 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-stable/contrib/llvm-project/libcxx/src/filesystem/ |
| D | operations.cpp | 817 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { in copy_file_impl() argument 818 size_t count = read_fd.get_stat().st_size; in copy_file_impl() 821 if ((res = ::sendfile(write_fd.fd, read_fd.fd, nullptr, count)) == -1) { in copy_file_impl() 833 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { 845 if (fcopyfile(read_fd.fd, write_fd.fd, cfs.state, COPYFILE_DATA) < 0) { 854 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { 856 in.__open(read_fd.fd, ios::binary); 862 read_fd.fd = -1;
|
| /freebsd-12-stable/crypto/openssh/ |
| D | sftp-server.c | 1613 int read_handle, read_fd, write_handle, write_fd; in process_extended_copy_data() local 1639 read_fd = handle_to_fd(read_handle); in process_extended_copy_data() 1643 if (read_handle == write_handle || read_fd < 0 || write_fd < 0 || in process_extended_copy_data() 1649 if (lseek(read_fd, read_off, SEEK_SET) < 0) { in process_extended_copy_data() 1667 ret = atomicio(read, read_fd, buf, len); in process_extended_copy_data()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Target/ |
| D | Process.cpp | 4330 const int read_fd = m_read_file.GetDescriptor(); in Run() local 4332 terminal_state.Save(read_fd, false); in Run() 4333 Terminal terminal(read_fd); in Run() 4342 select_helper.FDSetRead(read_fd); in Run() 4351 if (select_helper.FDIsSetRead(read_fd)) { in Run()
|