Home
last modified time | relevance | path

Searched refs:GetDescriptor (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/lldb/source/Host/common/
H A DFile.cpp124 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 DFileCache.cpp38 lldb::user_id_t fd = file.get()->GetDescriptor(); in OpenFile()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileTest.cpp55 EXPECT_EQ(file.GetDescriptor(), fd); in TEST()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFile.h145 virtual int GetDescriptor() const;
400 int GetDescriptor() const override;
/llvm-project-15.0.7/lldb/source/Core/
H A DIOHandler.cpp84 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 DDebugger.cpp972 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 DCommandObjectLog.cpp409 (*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 DServer.cpp317 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 DModuleCache.cpp173 m_lock = std::make_unique<lldb_private::LockFile>(m_file_up->GetDescriptor()); in ModuleLock()
H A DProcess.cpp4353 const int read_fd = m_read_file.GetDescriptor(); in Run()
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp1198 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 DGDBRemoteCommunicationServerCommon.cpp521 descriptor = file.get()->GetDescriptor(); in Handle_vFile_Open()