Home
last modified time | relevance | path

Searched refs:GetShellSafeArgument (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DArgsTest.cpp318 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/
DArgs.h266 static std::string GetShellSafeArgument(const FileSpec &shell,
/external/llvm-project/lldb/source/Host/common/
DProcessLaunchInfo.cpp332 std::string safe_arg = Args::GetShellSafeArgument(m_shell, argv[i]); in ConvertArgumentsForLaunchingInShell()
/external/llvm-project/lldb/source/Utility/
DArgs.cpp382 std::string Args::GetShellSafeArgument(const FileSpec &shell, in GetShellSafeArgument() function in Args