Home
last modified time | relevance | path

Searched refs:file_action (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lldb/source/Host/common/
DProcessLaunchInfo.cpp47 FileAction file_action; in ProcessLaunchInfo() local
50 if (file_action.Open(STDIN_FILENO, stdin_file_spec, read, write)) in ProcessLaunchInfo()
51 AppendFileAction(file_action); in ProcessLaunchInfo()
54 FileAction file_action; in ProcessLaunchInfo() local
57 if (file_action.Open(STDOUT_FILENO, stdout_file_spec, read, write)) in ProcessLaunchInfo()
58 AppendFileAction(file_action); in ProcessLaunchInfo()
61 FileAction file_action; in ProcessLaunchInfo() local
64 if (file_action.Open(STDERR_FILENO, stderr_file_spec, read, write)) in ProcessLaunchInfo()
65 AppendFileAction(file_action); in ProcessLaunchInfo()
72 FileAction file_action; in AppendCloseFileAction() local
[all …]
/external/llvm-project/lldb/source/Plugins/Process/FreeBSD/
DProcessFreeBSD.cpp343 ProcessFreeBSD::GetFileSpec(const lldb_private::FileAction *file_action, in GetFileSpec() argument
348 if (file_action && file_action->GetAction() == FileAction::eFileActionOpen) { in GetFileSpec()
349 file_spec = file_action->GetFileSpec(); in GetFileSpec()
377 const lldb_private::FileAction *file_action; in DoLaunch() local
386 file_action = launch_info.GetFileActionForFD(STDIN_FILENO); in DoLaunch()
388 GetFileSpec(file_action, stdin_file_spec, dbg_pts_file_spec); in DoLaunch()
390 file_action = launch_info.GetFileActionForFD(STDOUT_FILENO); in DoLaunch()
392 GetFileSpec(file_action, stdout_file_spec, dbg_pts_file_spec); in DoLaunch()
394 file_action = launch_info.GetFileActionForFD(STDERR_FILENO); in DoLaunch()
396 GetFileSpec(file_action, stderr_file_spec, dbg_pts_file_spec); in DoLaunch()
DProcessFreeBSD.h144 GetFileSpec(const lldb_private::FileAction *file_action,
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.cpp393 const auto file_action = launch_info.GetFileActionAtIndex(i); in LaunchProcess() local
394 if (file_action->GetAction() != FileAction::eFileActionOpen) in LaunchProcess()
396 switch (file_action->GetFD()) { in LaunchProcess()
398 m_gdb_client.SetSTDIN(file_action->GetFileSpec()); in LaunchProcess()
401 m_gdb_client.SetSTDOUT(file_action->GetFileSpec()); in LaunchProcess()
404 m_gdb_client.SetSTDERR(file_action->GetFileSpec()); in LaunchProcess()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.cpp893 FileAction file_action; in Handle_QSetSTDIN() local
898 if (file_action.Open(STDIN_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDIN()
899 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDIN()
909 FileAction file_action; in Handle_QSetSTDOUT() local
914 if (file_action.Open(STDOUT_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDOUT()
915 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDOUT()
925 FileAction file_action; in Handle_QSetSTDERR() local
930 if (file_action.Open(STDERR_FILENO, FileSpec(path), read, write)) { in Handle_QSetSTDERR()
931 m_process_launch_info.AppendFileAction(file_action); in Handle_QSetSTDERR()
DProcessGDBRemote.cpp749 const FileAction *file_action; in DoLaunch() local
750 file_action = launch_info.GetFileActionForFD(STDIN_FILENO); in DoLaunch()
751 if (file_action) { in DoLaunch()
752 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
753 stdin_file_spec = file_action->GetFileSpec(); in DoLaunch()
755 file_action = launch_info.GetFileActionForFD(STDOUT_FILENO); in DoLaunch()
756 if (file_action) { in DoLaunch()
757 if (file_action->GetAction() == FileAction::eFileActionOpen) in DoLaunch()
758 stdout_file_spec = file_action->GetFileSpec(); in DoLaunch()
760 file_action = launch_info.GetFileActionForFD(STDERR_FILENO); in DoLaunch()
[all …]
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHost.mm921 const FileAction *file_action = launch_info.GetFileActionForFD(STDIN_FILENO);
922 if (file_action && !file_action->GetPath().empty()) {
924 file_action->GetPath().str().c_str());
926 file_action = launch_info.GetFileActionForFD(STDOUT_FILENO);
927 if (file_action && !file_action->GetPath().empty()) {
929 file_action->GetPath().str().c_str());
931 file_action = launch_info.GetFileActionForFD(STDERR_FILENO);
932 if (file_action && !file_action->GetPath().empty()) {
934 file_action->GetPath().str().c_str());
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/objcxx/
DPlatformiOSSimulatorCoreSimulatorSupport.mm388 const FileAction *file_action = launch_info.GetFileActionForFD(fd);
389 if (file_action) {
390 switch (file_action->GetAction()) {
405 FileSpec file_spec = file_action->GetFileSpec();
426 int oflag = file_action->GetActionArgument();
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/
DPlatformPOSIX.cpp496 const FileAction *file_action; in DebugProcess() local
497 while ((file_action = launch_info.GetFileActionAtIndex(i++)) != nullptr) { in DebugProcess()
498 file_action->Dump(stream); in DebugProcess()
/external/python/cpython3/Modules/
Dposixmodule.c5891 PyObject *file_action = NULL; in parse_file_actions() local
5908 file_action = PySequence_Fast_GET_ITEM(seq, i); in parse_file_actions()
5909 Py_INCREF(file_action); in parse_file_actions()
5910 if (!PyTuple_Check(file_action) || !PyTuple_GET_SIZE(file_action)) { in parse_file_actions()
5915 long tag = PyLong_AsLong(PyTuple_GET_ITEM(file_action, 0)); in parse_file_actions()
5926 if (!PyArg_ParseTuple(file_action, "OiO&ik" in parse_file_actions()
5948 if (!PyArg_ParseTuple(file_action, "Oi" in parse_file_actions()
5963 if (!PyArg_ParseTuple(file_action, "Oii" in parse_file_actions()
5983 Py_DECREF(file_action); in parse_file_actions()
5991 Py_DECREF(file_action); in parse_file_actions()
/external/starlark-go/syntax/testdata/
Dscan.star117 ctx.file_action(