Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libc/test/src/unistd/
H A Dread_write_test.cpp48 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 Derrno.h271 #ifndef EBADF
272 #define EBADF 9949 macro
H A D__errc28 bad_file_descriptor, // EBADF
125 bad_file_descriptor = EBADF,
/llvm-project-15.0.7/lldb/test/API/functionalities/avoids-fd-leak/
H A Dmain.c21 if (fstat(i, &buf) == 0 || errno != EBADF) { in main()
/llvm-project-15.0.7/libcxx/test/std/diagnostics/errno/
H A Dcerrno.pass.cpp47 #ifndef EBADF
48 #error EBADF not defined
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp120 if (errno == EBADF) in disconnect()
127 if (errno == EBADF) in disconnect()
/llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteErrno.def21 HANDLE_ERRNO(EBADF, 9)
/llvm-project-15.0.7/libc/src/__support/File/
H A Dfile.cpp21 errno = EBADF; in write_unlocked()
179 errno = EBADF; in read_unlocked()
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp330 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 DProcess.inc211 // 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 Derrc.pass.cpp26 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 DFDInterposing.cpp801 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 Dfopencookie_test.cpp150 ASSERT_EQ(errno, EBADF); in TEST()
/llvm-project-15.0.7/libc/spec/
H A Dposix.td67 Macro<"EBADF">,
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp1882 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 DMachProcess.mm2491 case EBADF: // One of the descriptor sets specified an invalid descriptor.