/system/core/adb/ |
adb_utils_test.cpp | 75 TEST(adb_utils, escape_arg) { 76 ASSERT_EQ(R"('')", escape_arg("")); 78 ASSERT_EQ(R"('abc')", escape_arg("abc")); 80 ASSERT_EQ(R"(' abc')", escape_arg(" abc")); 81 ASSERT_EQ(R"(''\''abc')", escape_arg("'abc")); 82 ASSERT_EQ(R"('"abc')", escape_arg("\"abc")); 83 ASSERT_EQ(R"('\abc')", escape_arg("\\abc")); 84 ASSERT_EQ(R"('(abc')", escape_arg("(abc")); 85 ASSERT_EQ(R"(')abc')", escape_arg(")abc")); 87 ASSERT_EQ(R"('abc abc')", escape_arg("abc abc")) [all...] |
adb_utils.h | 43 std::string escape_arg(const std::string& s);
|
adb_utils.cpp | 78 std::string escape_arg(const std::string& s) { function
|
commandline.cpp | [all...] |
/external/owasp/sanitizer/tools/findbugs/bin/ |
fb | 5 escape_arg() { function 163 fb_appargs="$fb_appargs `escape_arg "$1"`"
|
findbugs | 5 escape_arg() { function 170 fb_appargs="$fb_appargs `escape_arg "$1"`"
|
/development/python-packages/adb/ |
device.py | 163 def escape_arg(arg): function in function:_get_subprocess_args 174 argv = map(escape_arg, args[0])
|