Searched refs:GetShellSafeArgument (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/lldb/unittests/Utility/ |
D | ArgsTest.cpp | 318 TEST(ArgsTest, GetShellSafeArgument) { in TEST() argument 321 EXPECT_EQ(Args::GetShellSafeArgument(bash, "\"b"), "\\\"b"); in TEST() 322 EXPECT_EQ(Args::GetShellSafeArgument(bash, "a\""), "a\\\""); in TEST() 323 EXPECT_EQ(Args::GetShellSafeArgument(bash, "a\"b"), "a\\\"b"); in TEST() 326 EXPECT_EQ(Args::GetShellSafeArgument(bash, "a"), "a"); in TEST() 330 EXPECT_EQ(Args::GetShellSafeArgument(tcsh, "a$b"), "a\\$b"); in TEST() 332 EXPECT_EQ(Args::GetShellSafeArgument(bash, "a$b"), "a$b"); in TEST() 336 EXPECT_EQ(Args::GetShellSafeArgument(unknown_shell, "a'b"), "a\\'b"); in TEST() 337 EXPECT_EQ(Args::GetShellSafeArgument(unknown_shell, "a\"b"), "a\\\"b"); in TEST()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | Args.h | 266 static std::string GetShellSafeArgument(const FileSpec &shell,
|
/external/llvm-project/lldb/source/Host/common/ |
D | ProcessLaunchInfo.cpp | 332 std::string safe_arg = Args::GetShellSafeArgument(m_shell, argv[i]); in ConvertArgumentsForLaunchingInShell()
|
/external/llvm-project/lldb/source/Utility/ |
D | Args.cpp | 382 std::string Args::GetShellSafeArgument(const FileSpec &shell, in GetShellSafeArgument() function in Args
|