Home
last modified time | relevance | path

Searched refs:snakeCase (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Support/
DStringExtras.cpp100 std::string snakeCase; in convertToSnakeFromCamelCase() local
101 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()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptorMessageInfoFactory.java608 private static String snakeCaseToCamelCase(String snakeCase) { in snakeCaseToCamelCase() argument
609 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() argument
656 String camelCase = snakeCaseToCamelCase(snakeCase); in getterForField()
/external/tensorflow/tensorflow/go/genop/internal/
Dgenop.go532 func camelCase(snakeCase string) string {
533 words := strings.Split(snakeCase, "_")
/external/perfetto/ui/src/controller/
Drecord_controller.ts528 function snakeCase(s: string): string {
558 yield ' '.repeat(indent) + `${snakeCase(key)}${isNested ? '' : ':'} `;