Home
last modified time | relevance | path

Searched refs:capitalize (Results 1 – 5 of 5) sorted by relevance

/system/bt/gd/packet/parser/
Dutil.h90 bool capitalize = true; in UnderscoreToCamelCase() local
93 capitalize = true; in UnderscoreToCamelCase()
95 if (capitalize) { in UnderscoreToCamelCase()
97 capitalize = false; in UnderscoreToCamelCase()
/system/tools/xsdc/src/com/android/xsdc/java/
DUtils.java39 res += capitalize(words[idx]); in toCamelCase()
44 static String capitalize(String input) { in capitalize() method in Utils
71 return capitalize(trimmed); in toClassName()
DJavaCodeGenerator.java302 + "}\n", Utils.capitalize(variableName)); in printParser()
331 Utils.capitalize(variableName)); in printParser()
334 Utils.capitalize(variableName)); in printParser()
381 out.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter()
384 Utils.capitalize(variableName)), attribute.getName())); in printWriter()
400 Utils.capitalize(variableName)); in printWriter()
410 out.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter()
415 Utils.capitalize(variableName)), elementValue.getName())); in printWriter()
441 getNullabilityString(nullability), typeName, Utils.capitalize(variableName)); in printGetterAndSetter()
464 Utils.capitalize(variableName), variableName); in printGetterAndSetter()
[all …]
/system/tools/xsdc/src/com/android/xsdc/cpp/
DUtils.java42 res += capitalize(words[idx]); in toCamelCase()
47 static String capitalize(String input) { in capitalize() method in Utils
74 return capitalize(trimmed); in toClassName()
DCppCodeGenerator.java464 cppFile.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter()
467 Utils.capitalize(variableName)), attribute.getName())); in printWriter()
483 Utils.capitalize(variableName)); in printWriter()
495 cppFile.printf("if (has%s()) {\n", Utils.capitalize(variableName)); in printWriter()
501 Utils.capitalize(variableName)), elementValue.getName())); in printWriter()
520 headerFile.printf("const %s& get%s() const;\n", typeName, Utils.capitalize(variableName)); in printGetter()
525 typeName, name, Utils.capitalize(variableName), isMultiple || isRequired ? in printGetter()
528 headerFile.printf("bool has%s() const;\n", Utils.capitalize(variableName)); in printGetter()
529 cppFile.printf("bool %s::has%s() const {\n", name, Utils.capitalize(variableName)); in printGetter()
543 elementTypeName, Utils.capitalize(variableName)); in printGetter()
[all …]