Home
last modified time | relevance | path

Searched refs:write_fd (Results 1 – 6 of 6) sorted by relevance

/freebsd-head/contrib/googletest/googletest/src/
HDgtest-death-test.cc300 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort()
432 int write_fd() const { return write_fd_; } in write_fd() function in testing::internal::DeathTestImpl
525 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort()
756 set_write_fd(flag->write_fd()); in AssumeRole()
1362 set_write_fd(flag->write_fd()); in AssumeRole()
1514 const int write_fd = in GetStatusFileDescriptor() local
1516 if (write_fd == -1) { in GetStatusFileDescriptor()
1526 return write_fd; in GetStatusFileDescriptor()
1542 int write_fd = -1; in ParseInternalRunDeathTestFlag() local
1558 write_fd = GetStatusFileDescriptor(parent_process_id, write_handle_as_size_t, in ParseInternalRunDeathTestFlag()
[all …]
/freebsd-head/tests/sys/aio/
HDaio_test.c137 int write_fd, int buflen) in aio_context_init() argument
145 ac->ac_write_fd = write_fd; in aio_context_init()
514 int error, read_fd = -1, write_fd = -1; in aio_fifo_test() local
531 write_fd = open(FIFO_PATHNAME, O_WRONLY); in aio_fifo_test()
532 if (write_fd == -1) { in aio_fifo_test()
539 aio_context_init(&ac, read_fd, write_fd, FIFO_LEN); in aio_fifo_test()
544 close(write_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()
672 if (tcgetattr(write_fd, &ts) < 0) { in aio_pty_test()
[all …]
/freebsd-head/contrib/llvm-project/libcxx/src/filesystem/
HDoperations.cpp182 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { in copy_file_impl() argument
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) {
229 out.__open(write_fd.fd, ios::binary);
234 write_fd.fd = -1;
/freebsd-head/contrib/googletest/googletest/include/gtest/internal/
HDgtest-death-test-internal.h284 int write_fd() const { return write_fd_; } in write_fd() function
/freebsd-head/crypto/openssh/
HDsftp-server.c1613 int read_handle, read_fd, write_handle, write_fd; in process_extended_copy_data() local
1640 write_fd = handle_to_fd(write_handle); in process_extended_copy_data()
1643 if (read_handle == write_handle || read_fd < 0 || write_fd < 0 || in process_extended_copy_data()
1656 lseek(write_fd, write_off, SEEK_SET) < 0) { in process_extended_copy_data()
1679 ret = atomicio(vwrite, write_fd, buf, len); in process_extended_copy_data()
/freebsd-head/contrib/llvm-project/lldb/source/Target/
HDProcess.cpp4590 IOHandlerProcessSTDIO(Process *process, int write_fd) in IOHandlerProcessSTDIO() argument
4595 m_write_file(write_fd, File::eOpenOptionWriteOnly, false) { in IOHandlerProcessSTDIO()