Searched refs:snakeCase (Results 1 – 4 of 4) sorted by relevance
100 std::string snakeCase; in convertToSnakeFromCamelCase() local101 snakeCase.reserve(input.size()); in convertToSnakeFromCamelCase()104 snakeCase.push_back(c); in convertToSnakeFromCamelCase()108 if (!snakeCase.empty() && snakeCase.back() != '_') in convertToSnakeFromCamelCase()109 snakeCase.push_back('_'); in convertToSnakeFromCamelCase()110 snakeCase.push_back(llvm::toLower(c)); in convertToSnakeFromCamelCase()112 return snakeCase; in convertToSnakeFromCamelCase()
608 private static String snakeCaseToCamelCase(String snakeCase) { in snakeCaseToCamelCase() argument609 StringBuilder sb = new StringBuilder(snakeCase.length() + 1); in snakeCaseToCamelCase()611 for (int ctr = 0; ctr < snakeCase.length(); ctr++) { in snakeCaseToCamelCase()612 char next = snakeCase.charAt(ctr); in snakeCaseToCamelCase()655 private static String getterForField(String snakeCase) { in getterForField() argument656 String camelCase = snakeCaseToCamelCase(snakeCase); in getterForField()
532 func camelCase(snakeCase string) string {533 words := strings.Split(snakeCase, "_")
528 function snakeCase(s: string): string {558 yield ' '.repeat(indent) + `${snakeCase(key)}${isNested ? '' : ':'} `;