Home
last modified time | relevance | path

Searched refs:trimmed (Results 1 – 3 of 3) sorted by relevance

/system/tools/xsdc/src/com/android/xsdc/java/
DUtils.java53 String trimmed = toCamelCase(name.replaceAll("[^A-Za-z0-9_-]", "").split("-")); in toVariableName() local
54 if (trimmed.isEmpty()) { in toVariableName()
58 String lowered = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed in toVariableName()
59 : lowerize(trimmed); in toVariableName()
65 String trimmed = toCamelCase( in toClassName() local
67 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
71 return capitalize(trimmed); in toClassName()
78 String trimmed = name.replace(".", "_").replaceAll("[^A-Za-z0-9_]", ""); in toEnumName() local
79 if (trimmed.isEmpty()) { in toEnumName()
83 String enumName = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed in toEnumName()
[all …]
/system/tools/xsdc/src/com/android/xsdc/cpp/
DUtils.java56 String trimmed = toCamelCase(name.replaceAll("[^A-Za-z0-9_-]", "").split("-")); in toVariableName() local
57 if (trimmed.isEmpty()) { in toVariableName()
61 String lowered = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed in toVariableName()
62 : lowerize(trimmed); in toVariableName()
68 String trimmed = toCamelCase( in toClassName() local
70 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
74 return capitalize(trimmed); in toClassName()
81 String trimmed = name.replace(".", "_").replaceAll("[^A-Za-z0-9_]", ""); in toEnumName() local
82 if (trimmed.isEmpty()) { in toEnumName()
86 String enumName = Character.isDigit(trimmed.charAt(0)) ? "_" + trimmed : trimmed; in toEnumName()
/system/libufdt/utils/src/
Dmkdtimg_cfg_create.c82 char *trimmed = trim_line(line); in output_img_with_config() local
83 if (trimmed[0] == '\0') { in output_img_with_config()
88 if (trimmed == line) { in output_img_with_config()
91 if (dt_image_writer_add_entry(writer, trimmed) != 0) { in output_img_with_config()
99 if (parse_option(&option, &value, trimmed) != 0) { in output_img_with_config()
100 fprintf(stderr, "Wrong syntax: %s\n", trimmed); in output_img_with_config()