Home
last modified time | relevance | path

Searched refs:pipe_fd (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc1125 int pipe_fd[2]; in AssumeRole() local
1126 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); in AssumeRole()
1143 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0])); in AssumeRole()
1144 set_write_fd(pipe_fd[1]); in AssumeRole()
1155 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); in AssumeRole()
1156 set_read_fd(pipe_fd[0]); in AssumeRole()
1425 int pipe_fd[2]; in AssumeRole() local
1426 GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1); in AssumeRole()
1438 + StreamableToString(pipe_fd[1]); in AssumeRole()
1452 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1])); in AssumeRole()
[all …]
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp455 const int pipe_fd = m_pipe.GetReadFileDescriptor(); in BytesAvailable() local
470 const bool have_pipe_fd = pipe_fd >= 0; in BytesAvailable()
473 select_helper.FDSetRead(pipe_fd); in BytesAvailable()
507 if (select_helper.FDIsSetRead(pipe_fd)) { in BytesAvailable()
513 llvm::sys::RetryAfterSignal(-1, ::read, pipe_fd, &c, 1); in BytesAvailable()