Home
last modified time | relevance | path

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

/hardware/google/av/codec2/vndk/util/
DC2ParamUtils.cpp124 size_t extraUnderscores = 0; in sanitizeEnumValueNames() local
127 extraUnderscores = countLeadingUnderscores(_prefix); in sanitizeEnumValueNames()
128 prefix = _prefix + extraUnderscores; in sanitizeEnumValueNames()
130 C2_LOG(VERBOSE) << "prefix:" << prefix << ", underscores:" << extraUnderscores; in sanitizeEnumValueNames()
138 extraUnderscores = underscores; in sanitizeEnumValueNames()
146 extraUnderscores = std::min(underscores, extraUnderscores); in sanitizeEnumValueNames()
148 C2_LOG(VERBOSE) << "prefix:" << prefix << ", underscores:" << extraUnderscores; in sanitizeEnumValueNames()
149 if (prefix.size() == 0 && extraUnderscores == 0) { in sanitizeEnumValueNames()
165 C2String sanitized = C2String(s, underscores - extraUnderscores); in sanitizeEnumValueNames()