Home
last modified time | relevance | path

Searched refs:FileAction (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/lldb/source/Host/common/
DFileAction.cpp19 FileAction::FileAction() in FileAction() function in FileAction
22 void FileAction::Clear() { in Clear()
29 llvm::StringRef FileAction::GetPath() const { return m_file_spec.GetCString(); } in GetPath()
31 const FileSpec &FileAction::GetFileSpec() const { return m_file_spec; } in GetFileSpec()
33 bool FileAction::Open(int fd, const FileSpec &file_spec, bool read, in Open()
52 bool FileAction::Close(int fd) { in Close()
61 bool FileAction::Duplicate(int fd, int dup_fd) { in Duplicate()
71 void FileAction::Dump(Stream &stream) const { in Dump()
DProcessLaunchInfo.cpp47 FileAction file_action; in ProcessLaunchInfo()
54 FileAction file_action; in ProcessLaunchInfo()
61 FileAction file_action; in ProcessLaunchInfo()
72 FileAction file_action; in AppendCloseFileAction()
81 FileAction file_action; in AppendDuplicateFileAction()
91 FileAction file_action; in AppendOpenFileAction()
101 FileAction file_action; in AppendSuppressFileAction()
109 const FileAction *ProcessLaunchInfo::GetFileActionAtIndex(size_t idx) const { in GetFileActionAtIndex()
115 const FileAction *ProcessLaunchInfo::GetFileActionForFD(int fd) const { in GetFileActionForFD()
/external/llvm-project/lldb/source/Host/posix/
DProcessLauncherPosixFork.cpp99 const FileAction &action = *info.GetFileActionAtIndex(i); in ChildFunc()
101 case FileAction::eFileActionClose: in ChildFunc()
105 case FileAction::eFileActionDuplicate: in ChildFunc()
109 case FileAction::eFileActionOpen: in ChildFunc()
113 case FileAction::eFileActionNone: in ChildFunc()
/external/llvm-project/lldb/include/lldb/Host/
DProcessLaunchInfo.h39 void AppendFileAction(const FileAction &info) { in AppendFileAction()
59 const FileAction *GetFileActionAtIndex(size_t idx) const;
61 const FileAction *GetFileActionForFD(int fd) const;
154 std::vector<FileAction> m_file_actions; // File actions for any other files
DFileAction.h17 class FileAction {
26 FileAction();
DHost.h27 class FileAction; variable
/external/llvm-project/lldb/unittests/Host/
DFileActionTest.cpp15 FileAction Action; in TEST()
17 EXPECT_EQ(Action.GetAction(), FileAction::eFileActionOpen); in TEST()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/
DPlatformiOSSimulatorCoreSimulatorSupport.mm18 #include "lldb/Host/FileAction.h"
388 const FileAction *file_action = launch_info.GetFileActionForFD(fd);
391 case FileAction::eFileActionNone:
394 case FileAction::eFileActionClose:
399 case FileAction::eFileActionDuplicate:
404 case FileAction::eFileActionOpen: {
/external/llvm-project/lldb/include/lldb/
Dmodule.modulemap22 module FileAction { header "Host/FileAction.h" export * }
/external/llvm-project/lldb/source/Host/windows/
DProcessLauncherWindows.cpp152 const FileAction *action = launch_info.GetFileActionForFD(fd); in GetStdioHandle()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessFreeBSD.h144 GetFileSpec(const lldb_private::FileAction *file_action,
DProcessFreeBSD.cpp343 ProcessFreeBSD::GetFileSpec(const lldb_private::FileAction *file_action, in GetFileSpec()
348 if (file_action && file_action->GetAction() == FileAction::eFileActionOpen) { in GetFileSpec()
377 const lldb_private::FileAction *file_action; in DoLaunch()
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHost.mm921 const FileAction *file_action = launch_info.GetFileActionForFD(STDIN_FILENO);
974 static bool AddPosixSpawnFileAction(void *_file_actions, const FileAction *info,
983 case FileAction::eFileActionNone:
987 case FileAction::eFileActionClose:
1003 case FileAction::eFileActionDuplicate:
1023 case FileAction::eFileActionOpen:
1162 const FileAction *launch_file_action =
/external/llvm-project/lldb/source/Host/
DCMakeLists.txt15 common/FileAction.cpp
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.cpp893 FileAction file_action; in Handle_QSetSTDIN()
909 FileAction file_action; in Handle_QSetSTDOUT()
925 FileAction file_action; in Handle_QSetSTDERR()
DProcessGDBRemote.cpp749 const FileAction *file_action; in DoLaunch()
752 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
757 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
762 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeProcessLinux.cpp108 if (const FileAction *action = info.GetFileActionForFD(STDIN_FILENO)) in MaybeLogLaunchInfo()
113 if (const FileAction *action = info.GetFileActionForFD(STDOUT_FILENO)) in MaybeLogLaunchInfo()
118 if (const FileAction *action = info.GetFileActionForFD(STDERR_FILENO)) in MaybeLogLaunchInfo()
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp394 if (file_action->GetAction() != FileAction::eFileActionOpen) in LaunchProcess()
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/
DPlatformPOSIX.cpp496 const FileAction *file_action; in DebugProcess()
/external/llvm-project/lldb/source/Target/
DProcess.cpp323 FileAction action; in SetOptionValue()
331 FileAction action; in SetOptionValue()
339 FileAction action; in SetOptionValue()
351 FileAction action; in SetOptionValue()
DTarget.cpp4194 const FileAction *input_file_action = in SetProcessLaunchInfo()
4199 const FileAction *output_file_action = in SetProcessLaunchInfo()
4204 const FileAction *error_file_action = in SetProcessLaunchInfo()