Searched refs:JoinStrings (Results 1 – 7 of 7) sorted by relevance
/system/tools/hidl/test/host_utils_test/ |
D | main.cpp | 119 TEST_F(LibHidlGenUtilsTest, JoinStrings) { in TEST_F() argument 120 EXPECT_EQ("", StringHelper::JoinStrings({}, "")); in TEST_F() 121 EXPECT_EQ("", StringHelper::JoinStrings({}, "a")); in TEST_F() 122 EXPECT_EQ("a", StringHelper::JoinStrings({"a"}, "")); in TEST_F() 123 EXPECT_EQ("a,b", StringHelper::JoinStrings({"a", "b"}, ",")); in TEST_F() 124 EXPECT_EQ("ab,", StringHelper::JoinStrings({"ab", ""}, ",")); in TEST_F() 125 EXPECT_EQ(",ab", StringHelper::JoinStrings({"", "ab"}, ",")); in TEST_F() 126 EXPECT_EQ("a.,b", StringHelper::JoinStrings({"a", "b"}, ".,")); in TEST_F() 127 EXPECT_EQ("a,b,c", StringHelper::JoinStrings({"a", "b", "c"}, ",")); in TEST_F() 128 EXPECT_EQ("abc.,def.,ghi", StringHelper::JoinStrings({"abc", "def", "ghi"}, ".,")); in TEST_F()
|
/system/tools/hidl/host_utils/ |
D | StringHelper.cpp | 113 return JoinStrings(components, ""); in ToCamelCase() 122 return JoinStrings(components, ""); in ToPascalCase() 131 return JoinStrings(components, "_"); in ToUpperSnakeCase() 140 return JoinStrings(components, "_"); in ToLowerSnakeCase() 228 std::string StringHelper::JoinStrings( in JoinStrings() function in android::StringHelper
|
/system/tools/hidl/host_utils/include/hidl-util/ |
D | StringHelper.h | 77 static std::string JoinStrings(
|
/system/tools/hidl/ |
D | Annotation.cpp | 168 out << StringHelper::JoinStrings(values, ", "); in dump()
|
D | Scope.cpp | 79 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName)); in lookupType()
|
D | AST.cpp | 472 std::string path = StringHelper::JoinStrings(pathComponents, "."); in makeFullName()
|
D | Coordinator.cpp | 438 *path = StringHelper::JoinStrings(components, "/") + "/"; in getPackagePath()
|