Searched refs:ToUpperSnakeCase (Results 1 – 5 of 5) sorted by relevance
/system/tools/hidl/test/host_utils_test/ |
D | main.cpp | 135 EXPECT_EQ("UPPER_SNAKE_CASE", StringHelper::ToUpperSnakeCase("UPPER_SNAKE_CASE")); in TEST_F() 136 EXPECT_EQ("UPPER_SNAKE_CASE", StringHelper::ToUpperSnakeCase("upper_snake_case")); in TEST_F() 137 EXPECT_EQ("UPPER_SNAKE_CASE", StringHelper::ToUpperSnakeCase("UpperSnakeCase")); in TEST_F() 138 EXPECT_EQ("UPPER_SNAKE_CASE", StringHelper::ToUpperSnakeCase("upperSnakeCase")); in TEST_F() 143 EXPECT_EQ("SOME_3D_TEXT", StringHelper::ToUpperSnakeCase("Some_3D_Text")); in TEST_F() 144 EXPECT_EQ("IPV4_ADDR", StringHelper::ToUpperSnakeCase("Ipv4Addr")); in TEST_F() 145 EXPECT_EQ("IPV4_ADDR", StringHelper::ToUpperSnakeCase("Ipv4_Addr")); in TEST_F() 148 EXPECT_EQ("UI_ERROR", StringHelper::ToUpperSnakeCase("UIError")); in TEST_F() 149 EXPECT_EQ("UI_ERROR", StringHelper::ToUpperSnakeCase("UI_Error")); in TEST_F() 150 EXPECT_EQ("PROTOCOL_B_PRIME", StringHelper::ToUpperSnakeCase("protocolBPrime")); in TEST_F() [all …]
|
/system/tools/hidl/lint/lints/ |
D | namingConventions.cpp | 79 if (StringHelper::ToUpperSnakeCase(ev->name()) != ev->name()) { in namingConventions() 83 << StringHelper::ToUpperSnakeCase(ev->name()) in namingConventions()
|
/system/tools/hidl/c2hal/ |
D | Declaration.cpp | 51 mName = StringHelper::ToUpperSnakeCase(mName); in forceUpperSnakeCase()
|
/system/tools/hidl/host_utils/include/hidl-util/ |
D | StringHelper.h | 52 static std::string ToUpperSnakeCase(const std::string &in);
|
/system/tools/hidl/host_utils/ |
D | StringHelper.cpp | 162 std::string StringHelper::ToUpperSnakeCase(const std::string &in) { in ToUpperSnakeCase() function in android::StringHelper 187 return ToUpperSnakeCase(in); in ToCase()
|