Lines Matching refs:plural
290 * Sets the Modifier with the specified signum and plural form.
292 void adoptModifier(Signum signum, StandardPlural::Form plural, const Modifier *mod) {
293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr);
294 mods[getModIndex(signum, plural)] = mod;
299 * The modifier will apply to all plural forms.
307 const Modifier *getModifier(Signum signum, StandardPlural::Form plural) const U_OVERRIDE {
308 const Modifier* modifier = mods[getModIndex(signum, plural)];
309 if (modifier == nullptr && plural != DEFAULT_STANDARD_PLURAL) {
324 inline static int32_t getModIndex(Signum signum, StandardPlural::Form plural) {
326 U_ASSERT(plural >= 0 && plural < StandardPlural::COUNT);
327 return static_cast<int32_t>(plural) * SIGNUM_COUNT + signum;