Searched refs:underscores (Results 1 – 1 of 1) sorted by relevance
136 size_t underscores = countLeadingUnderscores(s); in sanitizeEnumValueNames() local138 extraUnderscores = underscores; in sanitizeEnumValueNames()139 prefix = s + underscores; in sanitizeEnumValueNames()143 s + underscores, in sanitizeEnumValueNames()146 extraUnderscores = std::min(underscores, extraUnderscores); in sanitizeEnumValueNames()164 size_t underscores = countLeadingUnderscores(s); in sanitizeEnumValueNames() local165 C2String sanitized = C2String(s, underscores - extraUnderscores); in sanitizeEnumValueNames()166 sanitized.append(s + prefix.size() + underscores + in sanitizeEnumValueNames()167 (upperCasePrefix && s[prefix.size() + underscores] == '_')); in sanitizeEnumValueNames()