|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Support/Host.cpp 384 close(fd);
396 close(fd);
lib/Support/Path.cpp 788 close(FD);
825 close(FD);
970 close(ReadFD);
976 close(ReadFD);
977 close(WriteFD);
990 close(ReadFD);
1021 close(FD);
1136 if (FD != -1 && close(FD) == -1) {
1195 if (close(FD) == -1) {
1218 if (close(FD) == -1) {
lib/Support/RandomNumberGenerator.cpp 77 if (close(Fd) == -1)
lib/Support/Unix/Process.inc 181 ::close(FD);
245 if (::close(FD) < 0)
437 close(urandomFD);
lib/Support/Unix/Program.inc 117 close(InFD);
120 close(InFD); // Close the original FD
projects/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp 112 return close(fd);
projects/compiler-rt/lib/scudo/standalone/linux.cpp 152 close(FileDesc);
projects/compiler-rt/lib/xray/xray_x86_64.cpp 62 close(Fd);
projects/openmp/runtime/src/z_Linux_util.cpp 2359 close(stat_file);
2390 close(stat_file);
tools/clang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp 66 close(FDWrite);
67 close(FDRead);
128 llvm::sys::RetryAfterSignal(-1, close, InotifyFD);
197 auto EpollFDGuard = llvm::make_scope_exit([EpollFD]() { close(EpollFD); });
tools/lld/Common/Filesystem.cpp 71 ::close(fd);
tools/lldb/source/Host/common/File.cpp 319 if (::close(m_descriptor) != 0)
tools/lldb/source/Host/common/PseudoTerminal.cpp 53 ::close(m_master_fd);
61 ::close(m_slave_fd);
tools/lldb/source/Host/common/Socket.cpp 401 bool success = !!::close(m_socket);
tools/lldb/source/Host/common/TCPSocket.cpp 163 CLOSE_SOCKET(GetNativeSocket());
219 CLOSE_SOCKET(fd);
238 CLOSE_SOCKET(socket.first);
282 CLOSE_SOCKET(sock);
tools/lldb/source/Host/posix/PipePosix.cpp 244 close(m_fds[READ]);
251 close(m_fds[WRITE]);
tools/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp 87 ::close(target_fd);
102 if (close(action.GetFD()) != 0)
148 close(fd);
tools/lldb/source/Plugins/Process/Linux/ProcessorTrace.h 64 close(*ptr);
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 3485 auto cleanup_our = llvm::make_scope_exit([&]() { close(our_socket); });
3486 auto cleanup_gdb = llvm::make_scope_exit([&]() { close(gdb_socket); });
tools/lldb/tools/lldb-vscode/IOStream.cpp 39 ::close(m_socket);
42 ::close(m_fd);
tools/lldb/tools/lldb-vscode/lldb-vscode.cpp 107 close(sockfd);
tools/lldb/unittests/Interpreter/TestCompletion.cpp 93 ::close(FD);
tools/lli/ChildTarget/ChildTarget.cpp 63 close(InFD);
64 close(OutFD);
tools/lli/lli.cpp 932 close(PipeFD[0][1]);
933 close(PipeFD[1][0]);
961 close(PipeFD[0][0]);
962 close(PipeFD[1][1]);
tools/llvm-ar/llvm-ar.cpp 560 if (close(FD))
unittests/Support/CommandLineTest.cpp 1114 close(OldFD);
1115 close(NewFD);
unittests/Support/LockFileManagerTest.cpp 65 int Ret = close(FD);
unittests/Support/Path.cpp 66 ~FileDescriptorCloser() { ::close(FD); }
475 ::close(FileDescriptor2);
486 ::close(FileDescriptor);
632 ::close(FD2);
663 ::close(FileDescriptor);
1013 ::close(fd);
1067 ::close(FD);
1079 ::close(FD);
1106 ASSERT_EQ(close(FileDescriptor), 0);
1124 ASSERT_EQ(close(FD), 0);
1281 ::close(FileDescriptor);
1282 ::close(FileDescriptor2);
1578 ::close(FD);
1636 (void)::close(FD);
unittests/Support/ProgramTest.cpp 334 ::close(fd);
utils/unittest/googletest/include/gtest/internal/gtest-port.h 2393 inline int Close(int fd) { return close(fd); }
utils/unittest/googletest/src/gtest-death-test.cc 857 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[0]));
869 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1]));
962 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(args->close_fd));
1157 GTEST_DEATH_TEST_CHECK_SYSCALL_(close(pipe_fd[1]));
utils/unittest/googletest/src/gtest-internal-inl.h 1089 close(sockfd_);
utils/unittest/googletest/src/gtest-port.cc 981 close(captured_fd);
993 close(uncaptured_fd_);
utils/unittest/googletest/src/gtest.cc 3807 close(sockfd_);