Lines Matching refs:plural
37 int32_t getIndex(int32_t magnitude, StandardPlural::Form plural) {
38 return magnitude * StandardPlural::COUNT + plural;
129 StandardPlural::Form plural = utils::getStandardPlural(rules, dq);
130 patternString = patterns[getIndex(magnitude, plural)];
131 if (patternString == nullptr && plural != StandardPlural::OTHER) {
132 // Fall back to "other" plural variant
185 // Iterate over the plural variants ("one", "other", etc)
189 // Skip this magnitude/plural if we already have it from a child locale.
191 StandardPlural::Form plural = StandardPlural::fromString(key, status);
193 if (data.patterns[getIndex(magnitude, plural)] != nullptr) {
208 data.patterns[getIndex(magnitude, plural)] = patternString;
344 // Change the exponent only after we select appropriate plural form