| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | File.cpp | 124 int File::GetDescriptor() const { return kInvalidDescriptor; } in GetDescriptor() function in File 159 const int fd = GetDescriptor(); in CalculateInteractiveAndTerminal() 234 int fd = GetDescriptor(); in GetPermissions() 250 int NativeFile::GetDescriptor() const { in GetDescriptor() function in NativeFile 269 return GetDescriptor(); in GetWaitableHandle() 283 m_descriptor = ::_dup(GetDescriptor()); in GetStream() 285 m_descriptor = dup(GetDescriptor()); in GetStream() 342 if (::fcntl(GetDescriptor(), F_GETPATH, path) == -1) in GetFileSpec() 352 if (::snprintf(proc, sizeof(proc), "/proc/self/fd/%d", GetDescriptor()) < 0) in GetFileSpec() 640 int fd = GetDescriptor(); in Read() [all …]
|
| H A D | FileCache.cpp | 38 lldb::user_id_t fd = file.get()->GetDescriptor(); in OpenFile()
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | FileTest.cpp | 55 EXPECT_EQ(file.GetDescriptor(), fd); in TEST()
|
| /llvm-project-15.0.7/lldb/include/lldb/Host/ |
| H A D | File.h | 145 virtual int GetDescriptor() const; 400 int GetDescriptor() const override;
|
| /llvm-project-15.0.7/lldb/source/Core/ |
| H A D | IOHandler.cpp | 84 return (m_input_sp ? m_input_sp->GetDescriptor() : -1); in GetInputFD() 88 return (m_output_sp ? m_output_sp->GetFile().GetDescriptor() : -1); in GetOutputFD() 92 return (m_error_sp ? m_error_sp->GetFile().GetDescriptor() : -1); in GetErrorFD()
|
| H A D | Debugger.cpp | 972 int fd = GetInputFile().GetDescriptor(); in SaveInputTerminalState() 1439 CreateLogHandler(log_handler_kind, GetOutputFile().GetDescriptor(), in EnableLog() 1461 CreateLogHandler(log_handler_kind, (*file)->GetDescriptor(), in EnableLog()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectLog.cpp | 409 (*file)->GetDescriptor(), /*shouldClose=*/true); in DoExecute() 412 GetDebugger().GetOutputFile().GetDescriptor(), /*shouldClose=*/false); in DoExecute()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/ |
| H A D | Server.cpp | 317 vlog("<<< {0}\n{1}", M.GetDescriptor()->name(), TextProto{M}); in logRequest() 320 vlog(">>> {0}\n{1}", M.GetDescriptor()->name(), TextProto{M}); in logResponse()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ModuleCache.cpp | 173 m_lock = std::make_unique<lldb_private::LockFile>(m_file_up->GetDescriptor()); in ModuleLock()
|
| H A D | Process.cpp | 4353 const int read_fd = m_read_file.GetDescriptor(); in Run()
|
| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.cpp | 1198 int GetDescriptor() const override { return m_descriptor; } in GetDescriptor() function in __anon7439c15d0511::BinaryPythonFile 1252 int GetDescriptor() const override { return m_descriptor; } in GetDescriptor() function in __anon7439c15d0611::TextPythonFile 1417 file_obj = PyFile_FromFd(file.GetDescriptor(), nullptr, mode, -1, nullptr, in FromFile()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerCommon.cpp | 521 descriptor = file.get()->GetDescriptor(); in Handle_vFile_Open()
|