Home
last modified time | relevance | path

Searched refs:RTrim (Results 1 – 5 of 5) sorted by relevance

/system/tools/hidl/test/host_utils_test/
Dmain.cpp71 EXPECT_EQ("", StringHelper::RTrim("", "")); in TEST_F()
72 EXPECT_EQ("", StringHelper::RTrim("", "a")); in TEST_F()
73 EXPECT_EQ("", StringHelper::RTrim("a", "a")); in TEST_F()
74 EXPECT_EQ("a", StringHelper::RTrim("a", "")); in TEST_F()
75 EXPECT_EQ("a", StringHelper::RTrim("a", "b")); in TEST_F()
76 EXPECT_EQ("a", StringHelper::RTrim("ab", "b")); in TEST_F()
77 EXPECT_EQ("a", StringHelper::RTrim("abcdef", "bcdef")); in TEST_F()
78 EXPECT_EQ("abcd", StringHelper::RTrim("abcdef", "ef")); in TEST_F()
79 EXPECT_EQ("abcdef", StringHelper::RTrim("abcdef", "")); in TEST_F()
/system/tools/hidl/c2hal/
DDeclaration.cpp40 mName = StringHelper::RTrim(mName, "_t"); in forceCamelCase()
45 mName = StringHelper::RTrim(mName, "_t"); in forcePascalCase()
50 mName = StringHelper::RTrim(mName, "_t"); in forceUpperSnakeCase()
DType.cpp146 std::string baseName = StringHelper::RTrim(id, "_t"); in getHidlType()
/system/tools/hidl/host_utils/include/hidl-util/
DStringHelper.h60 static std::string RTrim(const std::string &in, const std::string &suffix);
/system/tools/hidl/host_utils/
DStringHelper.cpp170 std::string StringHelper::RTrim(const std::string &in, const std::string &suffix) { in RTrim() function in android::StringHelper