Lines Matching refs:pexp
24 STATIC unsigned long int plural_eval PARAMS ((struct expression *pexp,
31 plural_eval (pexp, n) in plural_eval() argument
32 struct expression *pexp; in plural_eval()
35 switch (pexp->nargs)
38 switch (pexp->operation)
43 return pexp->val.num;
52 unsigned long int arg = plural_eval (pexp->val.args[0], n);
57 unsigned long int leftarg = plural_eval (pexp->val.args[0], n);
58 if (pexp->operation == lor)
59 return leftarg || plural_eval (pexp->val.args[1], n);
60 else if (pexp->operation == land)
61 return leftarg && plural_eval (pexp->val.args[1], n);
64 unsigned long int rightarg = plural_eval (pexp->val.args[1], n);
66 switch (pexp->operation)
108 unsigned long int boolarg = plural_eval (pexp->val.args[0], n);
109 return plural_eval (pexp->val.args[boolarg ? 1 : 2], n);