Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc298 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort()
430 int write_fd() const { return write_fd_; } in write_fd() function in testing::internal::DeathTestImpl
523 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort()
754 set_write_fd(flag->write_fd()); in AssumeRole()
1360 set_write_fd(flag->write_fd()); in AssumeRole()
1512 const int write_fd = in GetStatusFileDescriptor() local
1514 if (write_fd == -1) { in GetStatusFileDescriptor()
1524 return write_fd; in GetStatusFileDescriptor()
1540 int write_fd = -1; in ParseInternalRunDeathTestFlag() local
1571 !ParseNaturalNumber(fields[3], &write_fd)) { in ParseInternalRunDeathTestFlag()
[all …]
/freebsd/tests/sys/aio/
H A Daio_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()
544 close(write_fd); in aio_fifo_test()
661 int read_fd, write_fd; in aio_pty_test() local
672 if (tcgetattr(write_fd, &ts) < 0) { in aio_pty_test()
678 if (tcsetattr(write_fd, TCSANOW, &ts) < 0) { in aio_pty_test()
683 aio_context_init(&ac, read_fd, write_fd, PTY_LEN); in aio_pty_test()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp185 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) { in copy_file_impl() argument
189 if ((res = ::sendfile(write_fd.fd, read_fd.fd, nullptr, count)) == -1) { in copy_file_impl()
201 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) {
213 if (fcopyfile(read_fd.fd, write_fd.fd, cfs.state, COPYFILE_DATA) < 0) {
222 bool copy_file_impl(FileDescriptor& read_fd, FileDescriptor& write_fd, error_code& ec) {
232 out.__open(write_fd.fd, ios::binary);
237 write_fd.fd = -1;
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h285 int write_fd() const { return write_fd_; } in write_fd() function
/freebsd/crypto/openssh/
H A Dsftp-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/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp4392 IOHandlerProcessSTDIO(Process *process, int write_fd) in IOHandlerProcessSTDIO() argument
4397 m_write_file(write_fd, File::eOpenOptionWriteOnly, false) { in IOHandlerProcessSTDIO()