Lines Matching refs:rhs

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