Searched refs:capitalize (Results 1 – 5 of 5) sorted by relevance
/system/bt/gd/packet/parser/ |
D | util.h | 90 bool capitalize = true; in UnderscoreToCamelCase() local 93 capitalize = true; in UnderscoreToCamelCase() 95 if (capitalize) { in UnderscoreToCamelCase() 97 capitalize = false; in UnderscoreToCamelCase() 113 bool capitalize = true; in ConstantCaseToCamelCase() local 116 capitalize = true; in ConstantCaseToCamelCase() 118 if (capitalize) { in ConstantCaseToCamelCase() 120 capitalize = false; in ConstantCaseToCamelCase()
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | Utils.java | 39 res += capitalize(words[idx]); in toCamelCase() 44 static String capitalize(String input) { in capitalize() method in Utils 71 return capitalize(trimmed); in toClassName()
|
D | JavaCodeGenerator.java | 325 + "}\n", Utils.capitalize(variableName)); in printParser() 354 Utils.capitalize(variableName)); in printParser() 357 Utils.capitalize(variableName)); in printParser() 406 out.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter() 409 getterName(type.getName()), Utils.capitalize(variableName)), in printWriter() 426 Utils.capitalize(variableName)); in printWriter() 436 out.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter() 441 getterName(type.getName()), Utils.capitalize(variableName)), in printWriter() 469 Utils.capitalize(variableName)); in printGetterAndSetter() 493 Utils.capitalize(variableName), variableName); in printGetterAndSetter() [all …]
|
/system/tools/xsdc/src/com/android/xsdc/cpp/ |
D | Utils.java | 42 res += capitalize(words[idx]); in toCamelCase() 47 static String capitalize(String input) { in capitalize() method in Utils 74 return capitalize(trimmed); in toClassName()
|
D | CppCodeGenerator.java | 566 parserCppFile.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter() 569 getterName(type.getName()), Utils.capitalize(variableName)), in printWriter() 586 Utils.capitalize(variableName)); in printWriter() 599 parserCppFile.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter() 605 getterName(type.getName()), Utils.capitalize(variableName)), in printWriter() 626 Utils.capitalize(variableName)); in printGetter() 631 typeName, name, getterName(typeName), Utils.capitalize(variableName), in printGetter() 635 parserHeaderFile.printf("bool has%s() const;\n", Utils.capitalize(variableName)); in printGetter() 636 parserCppFile.printf("bool %s::has%s() const {\n", name, Utils.capitalize(variableName)); in printGetter() 650 elementTypeName, Utils.capitalize(variableName)); in printGetter() [all …]
|