Home
last modified time | relevance | path

Searched refs:shell_name (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/Platform/NetBSD/
H A DPlatformNetBSD.cpp165 const char *shell_name = strrchr(shell_string.c_str(), '/'); in GetResumeCountForLaunchInfo() local
166 if (shell_name == nullptr) in GetResumeCountForLaunchInfo()
167 shell_name = shell_string.c_str(); in GetResumeCountForLaunchInfo()
169 shell_name++; in GetResumeCountForLaunchInfo()
171 if (strcmp(shell_name, "csh") == 0 || strcmp(shell_name, "tcsh") == 0 || in GetResumeCountForLaunchInfo()
172 strcmp(shell_name, "zsh") == 0 || strcmp(shell_name, "sh") == 0) { in GetResumeCountForLaunchInfo()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/Linux/
H A DPlatformLinux.cpp178 const char *shell_name = strrchr(shell_string.c_str(), '/'); in GetResumeCountForLaunchInfo() local
179 if (shell_name == nullptr) in GetResumeCountForLaunchInfo()
180 shell_name = shell_string.c_str(); in GetResumeCountForLaunchInfo()
182 shell_name++; in GetResumeCountForLaunchInfo()
184 if (strcmp(shell_name, "csh") == 0 || strcmp(shell_name, "tcsh") == 0 || in GetResumeCountForLaunchInfo()
185 strcmp(shell_name, "zsh") == 0 || strcmp(shell_name, "sh") == 0) { in GetResumeCountForLaunchInfo()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp679 const char *shell_name = strrchr(shell_string.c_str(), '/'); in GetResumeCountForLaunchInfo() local
680 if (shell_name == nullptr) in GetResumeCountForLaunchInfo()
681 shell_name = shell_string.c_str(); in GetResumeCountForLaunchInfo()
683 shell_name++; in GetResumeCountForLaunchInfo()
685 if (strcmp(shell_name, "sh") == 0) { in GetResumeCountForLaunchInfo()
692 } else if (strcmp(shell_name, "csh") == 0 || in GetResumeCountForLaunchInfo()
693 strcmp(shell_name, "tcsh") == 0 || in GetResumeCountForLaunchInfo()
694 strcmp(shell_name, "zsh") == 0) { in GetResumeCountForLaunchInfo()