Lines Matching refs:patternString
41 int32_t countZeros(const UChar *patternString, int32_t patternLength) { in countZeros() argument
46 if (patternString[i] == u'0') { in countZeros()
114 const UChar *patternString = patterns[getIndex(magnitude, plural)]; in getPattern() local
115 if (patternString == nullptr && plural != StandardPlural::OTHER) { in getPattern()
117 patternString = patterns[getIndex(magnitude, StandardPlural::OTHER)]; in getPattern()
119 if (patternString == USE_FALLBACK) { // == is intended in getPattern()
121 patternString = nullptr; in getPattern()
123 return patternString; in getPattern()
181 const UChar *patternString = value.getString(patternLength, status); in put() local
183 if (u_strcmp(patternString, u"0") == 0) { in put()
184 patternString = USE_FALLBACK; in put()
189 data.patterns[getIndex(magnitude, plural)] = patternString; in put()
194 int32_t numZeros = countZeros(patternString, patternLength); in put()
257 auto patternString = static_cast<const UChar *>(allPatterns[i]); in precomputeAllModifiers() local
258 UnicodeString hello(patternString); in precomputeAllModifiers()
261 PatternParser::parseToPatternInfo(UnicodeString(patternString), patternInfo, status); in precomputeAllModifiers()
266 info.patternString = patternString; in precomputeAllModifiers()
288 const UChar *patternString = data.getPattern(magnitude, plural); in processQuantity() local
289 if (patternString == nullptr) { in processQuantity()
299 if (u_strcmp(patternString, info.patternString) == 0) { in processQuantity()
311 PatternParser::parseToPatternInfo(UnicodeString(patternString), patternInfo, status); in processQuantity()