Lines Matching refs:ops
789 struct ops;
791 typedef Linetype eval_fn(const struct ops *, int *, const char **);
802 static const struct ops { struct
825 eval_unary(const struct ops *ops, int *valp, const char **cpp) in eval_unary() argument
835 debug("eval%d !", ops - eval_ops); in eval_unary()
837 lt = eval_unary(ops, valp, &cp); in eval_unary()
846 debug("eval%d (", ops - eval_ops); in eval_unary()
854 debug("eval%d number", ops - eval_ops); in eval_unary()
862 debug("eval%d defined", ops - eval_ops); in eval_unary()
882 debug("eval%d symbol", ops - eval_ops); in eval_unary()
900 debug("eval%d bad expr", ops - eval_ops); in eval_unary()
905 debug("eval%d = %d", ops - eval_ops, *valp); in eval_unary()
913 eval_table(const struct ops *ops, int *valp, const char **cpp) in eval_table() argument
920 debug("eval%d", ops - eval_ops); in eval_table()
922 lt = ops->inner(ops+1, valp, &cp); in eval_table()
927 for (op = ops->op; op->str != NULL; op++) in eval_table()
933 debug("eval%d %s", ops - eval_ops, op->str); in eval_table()
934 rt = ops->inner(ops+1, &val, &cp); in eval_table()
941 debug("eval%d = %d", ops - eval_ops, *valp); in eval_table()
942 debug("eval%d lt = %s", ops - eval_ops, linetype_name[lt]); in eval_table()