Lines Matching defs:nplurals
103 msg = xasprintf (_("nplurals = %lu but plural expression can produce values as large as %lu"),
267 const char *nplurals;
272 nplurals = c_strstr (nullentry, "nplurals=");
297 if (nplurals == NULL && has_plural != NULL)
302 _("but header entry lacks a \"nplurals=INTEGER\" attribute");
321 if (plural != NULL && nplurals != NULL)
329 nplurals += 9;
330 while (*nplurals != '\0' && c_isspace ((unsigned char) *nplurals))
331 ++nplurals;
332 endp = nplurals;
334 if (*nplurals >= '0' && *nplurals <= '9')
335 nplurals_value = strtoul (nplurals, (char **) &endp, 10);
336 if (nplurals == endp)
338 const char *msg = _("invalid nplurals value");
378 /* See whether nplurals and plural fit together. */
390 xasprintf (_("nplurals = %lu"), nplurals_value);
406 xasprintf (_("nplurals = %lu"), nplurals_value);
432 _("message catalog has plural form translations, but lacks a header entry with \"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\""));
483 PLURAL_DISTRIBUTION is either NULL or an array of nplurals elements,
739 PLURAL_DISTRIBUTION is either NULL or an array of nplurals elements,