Lines Matching refs:pexp
27 plural_eval (struct expression *pexp, unsigned long int n) in plural_eval() argument
29 switch (pexp->nargs) in plural_eval()
32 switch (pexp->operation) in plural_eval()
37 return pexp->val.num; in plural_eval()
46 unsigned long int arg = plural_eval (pexp->val.args[0], n); in plural_eval()
51 unsigned long int leftarg = plural_eval (pexp->val.args[0], n); in plural_eval()
52 if (pexp->operation == lor) in plural_eval()
53 return leftarg || plural_eval (pexp->val.args[1], n); in plural_eval()
54 else if (pexp->operation == land) in plural_eval()
55 return leftarg && plural_eval (pexp->val.args[1], n); in plural_eval()
58 unsigned long int rightarg = plural_eval (pexp->val.args[1], n); in plural_eval()
60 switch (pexp->operation) in plural_eval()
102 unsigned long int boolarg = plural_eval (pexp->val.args[0], n); in plural_eval()
103 return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); in plural_eval()