/freebsd/lib/libsecureboot/ |
H A D | readfile.c | 29 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 | 337 ucp = read_fd(fd, stp->st_size); in verify_tweak()
|
/freebsd/sbin/pfctl/tests/ |
H A D | pfctl_test.c | 89 read_fd(int fd, size_t sizehint) in read_fd() function 116 result = read_fd(fd, s.st_size); in read_file() 161 real_output = read_fd(pipefds[1], 0); in run_pfctl_test()
|
/freebsd/contrib/libarchive/tar/ |
H A D | util.c | 219 int read_fd = 2; /* stderr */ in yes() local 233 read_fd = _open("CONIN$", O_RDONLY); in yes() 234 if (read_fd < 0) { in yes() 240 l = read(read_fd, buff, sizeof(buff) - 1); in yes() 243 _close(read_fd); in yes()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | operations.cpp | 182 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { in copy_file_impl() argument 183 size_t count = read_fd.get_stat().st_size; in copy_file_impl() 186 if ((res = ::sendfile(write_fd.fd, read_fd.fd, nullptr, count)) == -1) { in copy_file_impl() 198 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { 210 if (fcopyfile(read_fd.fd, write_fd.fd, cfs.state, COPYFILE_DATA) < 0) { 219 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { 221 in.__open(read_fd.fd, ios::binary); 227 read_fd.fd = -1;
|
/freebsd/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() 514 int error, read_fd = -1, write_fd = -1; in aio_fifo_test() local 523 read_fd = open(FIFO_PATHNAME, O_RDONLY | O_NONBLOCK); in aio_fifo_test() 524 if (read_fd == -1) { in aio_fifo_test() 539 aio_context_init(&ac, read_fd, write_fd, FIFO_LEN); in aio_fifo_test() 543 close(read_fd); in aio_fifo_test() 661 int read_fd, write_fd; in aio_pty_test() local 668 ATF_REQUIRE_MSG(openpty(&read_fd, &write_fd, NULL, NULL, NULL) == 0, in aio_pty_test() 683 aio_context_init(&ac, read_fd, write_fd, PTY_LEN); in aio_pty_test() [all …]
|
/freebsd/lib/libsecureboot/h/ |
H A D | libsecureboot.h | 44 unsigned char * read_fd(int, size_t);
|
/freebsd/contrib/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 430 int read_fd() const { return read_fd_; } in read_fd() function in testing::internal::DeathTestImpl 479 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte() 496 FailFromInternalError(read_fd()); // Does not return. in ReadAndInterpretStatusByte() 507 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd())); in ReadAndInterpretStatusByte()
|
/freebsd/crypto/openssh/ |
H A 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/contrib/llvm-project/lldb/source/Target/ |
H A D | Process.cpp | 4617 const int read_fd = m_read_file.GetDescriptor(); in Run() local 4618 Terminal terminal(read_fd); in Run() 4635 select_helper.FDSetRead(read_fd); in Run() 4644 if (select_helper.FDIsSetRead(read_fd)) { in Run()
|