Searched refs:EBADF (Results 1 – 16 of 16) sorted by relevance
| /llvm-project-15.0.7/libc/test/src/unistd/ |
| H A D | read_write_test.cpp | 48 EXPECT_THAT(__llvm_libc::write(-1, "", 1), Fails(EBADF)); in TEST() 56 EXPECT_THAT(__llvm_libc::read(-1, nullptr, 1), Fails(EBADF)); in TEST()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | errno.h | 271 #ifndef EBADF 272 #define EBADF 9949 macro
|
| H A D | __errc | 28 bad_file_descriptor, // EBADF 125 bad_file_descriptor = EBADF,
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/avoids-fd-leak/ |
| H A D | main.c | 21 if (fstat(i, &buf) == 0 || errno != EBADF) { in main()
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/errno/ |
| H A D | cerrno.pass.cpp | 47 #ifndef EBADF 48 #error EBADF not defined
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/Shared/ |
| H A D | SimpleRemoteEPCUtils.cpp | 120 if (errno == EBADF) in disconnect() 127 if (errno == EBADF) in disconnect()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteErrno.def | 21 HANDLE_ERRNO(EBADF, 9)
|
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | file.cpp | 21 errno = EBADF; in write_unlocked() 179 errno = EBADF; in read_unlocked()
|
| /llvm-project-15.0.7/lldb/source/Host/posix/ |
| H A D | ConnectionFileDescriptorPosix.cpp | 330 case EBADF: // fildes is not a valid file or socket descriptor open for in Read() 484 case EBADF: // One of the descriptor sets specified an invalid in BytesAvailable() 682 if (flags == -1 || errno == EBADF) { in ConnectFD()
|
| /llvm-project-15.0.7/llvm/lib/Support/Unix/ |
| H A D | Process.inc | 211 // fstat should return EBADF if the file descriptor is closed. 212 if (errno != EBADF) 218 assert(errno == EBADF && "expected errno to have EBADF at this point!");
|
| /llvm-project-15.0.7/libcxx/test/std/diagnostics/syserr/ |
| H A D | errc.pass.cpp | 26 static_assert(static_cast<int>(std::errc::bad_file_descriptor) == EBADF, ""); in main()
|
| /llvm-project-15.0.7/lldb/examples/interposing/darwin/fd_interposing/ |
| H A D | FDInterposing.cpp | 801 if (err_errno.get_errno() == EBADF && fd != -1) { in close$__interposed__() 840 if (err_errno.get_errno() == EBADF && fd != -1) { in close$NOCANCEL$__interposed__()
|
| /llvm-project-15.0.7/libc/test/src/stdio/ |
| H A D | fopencookie_test.cpp | 150 ASSERT_EQ(errno, EBADF); in TEST()
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 67 Macro<"EBADF">,
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 1882 ASSERT_EQ(EBADF, errno); in verifyRead() 1892 ASSERT_EQ(EBADF, errno); in verifyWrite()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachProcess.mm | 2491 case EBADF: // One of the descriptor sets specified an invalid descriptor.
|