Searched refs:shell_name (Results 1 – 4 of 4) sorted by relevance
| /openbsd-src/gnu/gcc/gcc/config/rs6000/ |
| H A D | host-darwin.c | 95 char *shell_name; in segv_handler() local 98 shell_name = getenv ("SHELL"); in segv_handler() 99 if (shell_name != NULL) in segv_handler() 100 shell_name = strrchr (shell_name, '/'); in segv_handler() 101 if (shell_name != NULL) in segv_handler() 115 if (strcmp (shell_commands[i][0], shell_name + 1) == 0) in segv_handler()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/NetBSD/ |
| H A D | PlatformNetBSD.cpp | 165 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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Linux/ |
| H A D | PlatformLinux.cpp | 178 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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwin.cpp | 680 const char *shell_name = strrchr(shell_string.c_str(), '/'); in GetResumeCountForLaunchInfo() local 681 if (shell_name == nullptr) in GetResumeCountForLaunchInfo() 682 shell_name = shell_string.c_str(); in GetResumeCountForLaunchInfo() 684 shell_name++; in GetResumeCountForLaunchInfo() 686 if (strcmp(shell_name, "sh") == 0) { in GetResumeCountForLaunchInfo() 693 } else if (strcmp(shell_name, "csh") == 0 || in GetResumeCountForLaunchInfo() 694 strcmp(shell_name, "tcsh") == 0 || in GetResumeCountForLaunchInfo() 695 strcmp(shell_name, "zsh") == 0) { in GetResumeCountForLaunchInfo()
|