Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DFile.cpp125 int File::GetDescriptor() const { return kInvalidDescriptor; } in GetDescriptor() function in File
160 const int fd = GetDescriptor(); in CalculateInteractiveAndTerminal()
235 int fd = GetDescriptor(); in GetPermissions()
251 int NativeFile::GetDescriptor() const { in GetDescriptor() function in NativeFile
270 return GetDescriptor(); in GetWaitableHandle()
284 m_descriptor = ::_dup(GetDescriptor()); in GetStream()
286 m_descriptor = dup(GetDescriptor()); in GetStream()
343 if (::fcntl(GetDescriptor(), F_GETPATH, path) == -1) in GetFileSpec()
353 if (::snprintf(proc, sizeof(proc), "/proc/self/fd/%d", GetDescriptor()) < 0) in GetFileSpec()
641 int fd = GetDescriptor(); in Read()
[all …]
H A DFileCache.cpp38 lldb::user_id_t fd = file.get()->GetDescriptor(); in OpenFile()
/openbsd-src/gnu/llvm/lldb/include/lldb/Host/
H A DFile.h146 virtual int GetDescriptor() const;
401 int GetDescriptor() const override;
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DIOHandler.cpp80 return (m_input_sp ? m_input_sp->GetDescriptor() : -1); in GetInputFD()
84 return (m_output_sp ? m_output_sp->GetFile().GetDescriptor() : -1); in GetOutputFD()
88 return (m_error_sp ? m_error_sp->GetFile().GetDescriptor() : -1); in GetErrorFD()
H A DDebugger.cpp962 int fd = GetInputFile().GetDescriptor(); in SaveInputTerminalState()
1459 CreateLogHandler(log_handler_kind, GetOutputFile().GetDescriptor(), in EnableLog()
1481 CreateLogHandler(log_handler_kind, (*file)->GetDescriptor(), in EnableLog()
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectLog.cpp409 (*file)->GetDescriptor(), /*shouldClose=*/true); in DoExecute()
412 GetDebugger().GetOutputFile().GetDescriptor(), /*shouldClose=*/false); in DoExecute()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DModuleCache.cpp173 m_lock = std::make_unique<lldb_private::LockFile>(m_file_up->GetDescriptor()); in ModuleLock()
H A DProcess.cpp4374 const int read_fd = m_read_file.GetDescriptor(); in Run()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp1197 int GetDescriptor() const override { return m_descriptor; } in GetDescriptor() function in __anonf7d06da40511::BinaryPythonFile
1251 int GetDescriptor() const override { return m_descriptor; } in GetDescriptor() function in __anonf7d06da40611::TextPythonFile
1416 file_obj = PyFile_FromFd(file.GetDescriptor(), nullptr, mode, -1, nullptr, in FromFile()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp520 descriptor = file.get()->GetDescriptor(); in Handle_vFile_Open()