Home
last modified time | relevance | path

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

/third_party/gettext/gettext-runtime/intl/
Deval-plural.h25 plural_eval (const struct expression *pexp, unsigned long int n) in plural_eval() function
44 unsigned long int arg = plural_eval (pexp->val.args[0], n); in plural_eval()
49 unsigned long int leftarg = plural_eval (pexp->val.args[0], n); in plural_eval()
51 return leftarg || plural_eval (pexp->val.args[1], n); in plural_eval()
53 return leftarg && plural_eval (pexp->val.args[1], n); in plural_eval()
56 unsigned long int rightarg = plural_eval (pexp->val.args[1], n); in plural_eval()
100 unsigned long int boolarg = plural_eval (pexp->val.args[0], n); in plural_eval()
101 return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); in plural_eval()
Dplural-exp.h133 extern unsigned long int plural_eval (const struct expression *pexp,
DChangeLog.01614 * eval-plural.h (plural_eval): Change first argument to
1618 * plural-exp.h (EXTRACT_PLURAL_EXPRESSION, plural_eval): Adjust
2283 * plural-exp.h (plural_eval): Don't declare in libglocale.
2982 * eval-plural.h (plural_eval): Likewise.
3481 * eval-plural.h (plural_eval): Let division by zero cause SIGFPE on
3721 * plural-exp.h (plural_eval): Add back declaration.
3744 * plural-eval.c (plural_eval): Rename back from PLURAL_EVAL.
3747 (plural_lookup): Call plural_eval instead of PLURAL_EVAL.
3813 * dcigettext.c (plural_eval): Remove function, moved to plural-eval.c.
3814 (plural_lookup): Call PLURAL_EVAL instead of plural_eval.
[all …]
Ddcigettext.c1496 index = plural_eval (domaindata->plural, n); in plural_lookup()
/third_party/gettext/gettext-tools/src/
Dmsgl-check.c78 unsigned long val = plural_eval (expr, n); in plural_expression_histogram()
126 unsigned long val = plural_eval (plural_expr, n); in check_plural_eval()