Searched refs:CamelCaseToSnakeCase (Results 1 – 4 of 4) sorted by relevance
22 EXPECT_EQ(CamelCaseToSnakeCase("CurrentAPIVersion"), "current_api_version"); in TEST()23 EXPECT_EQ(CamelCaseToSnakeCase("CurrentAPI"), "current_api"); in TEST()24 EXPECT_EQ(CamelCaseToSnakeCase("APIVersion"), "api_version"); in TEST()25 EXPECT_EQ(CamelCaseToSnakeCase("API"), "api"); in TEST()26 EXPECT_EQ(CamelCaseToSnakeCase("API2"), "api2"); in TEST()27 EXPECT_EQ(CamelCaseToSnakeCase("SomeRandomCamelCase"), in TEST()29 EXPECT_EQ(CamelCaseToSnakeCase("snake_case"), "snake_case"); in TEST()30 EXPECT_EQ(CamelCaseToSnakeCase("Strange_Camel_Case"), "strange_camel_case"); in TEST()
35 std::string CamelCaseToSnakeCase(const std::string& str);
200 CamelCaseToSnakeCase(ApiNameToIdentifier(prop.api_name())); in GenerateRustSource()
377 std::string CamelCaseToSnakeCase(const std::string& s) { in CamelCaseToSnakeCase() function