Lines Matching defs:rhs

59     struct node *rhs);
60 static void check_cycle_rhs(struct node *rhs);
132 check_path_iterators(np->u.arrow.rhs);
573 check_propnames(t, np->u.arrow.rhs, from, 1);
586 ex = record_iterators(np->u.arrow.rhs, ex);
627 check_exprscope(np->u.arrow.rhs, ex);
713 check_upset_engine(struct node *lhs, struct node *rhs, void *arg)
719 ASSERTeq(rhs->t, t, ptree_nodetype2str);
721 if ((engnp = tree_s2np_lut_lookup(rhs->u.stmt.lutp, L_engine)) == NULL)
743 check_refcount(struct node *lhs, struct node *rhs, void *arg)
747 ASSERTeq(rhs->t, t, ptree_nodetype2str);
749 if (rhs->u.stmt.flags & STMT_REF)
752 outfl(O_WARN|O_NONL, rhs->file, rhs->line,
783 check_cycle(struct node *lhs, struct node *rhs, void *arg)
787 ASSERTeq(rhs->t, T_ERROR, ptree_nodetype2str);
789 if (rhs->u.stmt.flags & STMT_CYCLE)
792 if (rhs->u.stmt.flags & STMT_CYMARK) {
804 ptree_name(olevel|O_NONL, rhs->u.stmt.np);
809 rhs->u.stmt.flags |= STMT_CYCLE;
812 rhs->u.stmt.flags |= STMT_CYMARK;
816 check_cycle_lhs(rhs, np->u.stmt.np);
818 rhs->u.stmt.flags &= ~STMT_CYMARK;
841 if (arrow->u.arrow.lhs->u.arrow.rhs->t != T_EVENT)
845 trylhs = arrow->u.arrow.lhs->u.arrow.rhs;
846 tryrhs = arrow->u.arrow.rhs;
852 tryrhs = arrow->u.arrow.rhs;
869 check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, struct node *rhs)
872 check_cycle_lhs_try(stmtnp, lhs->u.expr.left, rhs);
873 check_cycle_lhs_try(stmtnp, lhs->u.expr.right, rhs);
882 check_cycle_rhs(rhs);
886 * check_cycle_rhs -- foreach error on rhs, see if we cycle to a marked error
890 check_cycle_rhs(struct node *rhs)
894 if (rhs->t == T_LIST) {
895 check_cycle_rhs(rhs->u.expr.left);
896 check_cycle_rhs(rhs->u.expr.right);
900 ASSERT(rhs->t == T_EVENT);
902 if (rhs->u.event.ename->u.name.t != N_ERROR)
905 if ((dnp = tree_event2np_lut_lookup(Errors, rhs)) == NULL) {
907 rhs->file, rhs->line,
909 ptree_name(O_ERR|O_NONL, rhs);
1255 check_required_props(struct node *lhs, struct node *rhs, void *arg)
1257 ASSERTeq(rhs->t, (enum nodetype)arg, ptree_nodetype2str);
1259 check_stmt_required_properties(rhs);
1285 if (lhs->u.arrow.rhs->t == T_LIST) {