Searched refs:JoinStrings (Results 1 – 8 of 8) 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 | 150 return JoinStrings(components, ""); in ToCamelCase() 159 return JoinStrings(components, ""); in ToPascalCase() 168 return JoinStrings(components, "_"); in ToUpperSnakeCase() 177 return JoinStrings(components, "_"); in ToLowerSnakeCase() 265 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 | 116 out << StringHelper::JoinStrings(values, ", "); in dump()
|
D | Scope.cpp | 81 CHECK(FQName::parse(StringHelper::JoinStrings(names, "."), &innerName)); in lookupType()
|
D | AST.cpp | 513 std::string path = StringHelper::JoinStrings(pathComponents, "."); in makeFullName()
|
D | Coordinator.cpp | 435 *path = StringHelper::JoinStrings(components, "/") + "/"; in getPackagePath()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlHelper.cpp | 54 return StringHelper::JoinStrings(names, ""); in getAidlName()
|