Lines Matching refs:lhs

58 static void check_cycle_lhs_try(struct node *stmtnp, struct node *lhs,
61 static void check_proplists_lhs(enum nodetype t, struct node *lhs);
131 check_path_iterators(np->u.arrow.lhs); in check_path_iterators()
166 if (np->u.arrow.lhs->t != T_ARROW && in check_arrow()
167 np->u.arrow.lhs->t != T_LIST && in check_arrow()
168 np->u.arrow.lhs->t != T_EVENT) { in check_arrow()
170 np->u.arrow.lhs->file, np->u.arrow.lhs->line, in check_arrow()
172 ptree_nodetype2str(np->u.arrow.lhs->t)); in check_arrow()
572 check_propnames(t, np->u.arrow.lhs, 1, to); in check_propnames()
585 ex = record_iterators(np->u.arrow.lhs, ex); in record_iterators()
626 check_exprscope(np->u.arrow.lhs, ex); in check_exprscope()
713 check_upset_engine(struct node *lhs, struct node *rhs, void *arg) in check_upset_engine() argument
743 check_refcount(struct node *lhs, struct node *rhs, void *arg) in check_refcount() argument
754 ptree_name(O_WARN|O_NONL, lhs); in check_refcount()
783 check_cycle(struct node *lhs, struct node *rhs, void *arg) in check_cycle() argument
832 switch (arrow->u.arrow.lhs->t) { in check_cycle_lhs()
835 check_cycle_lhs(stmtnp, arrow->u.arrow.lhs); in check_cycle_lhs()
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()
851 trylhs = arrow->u.arrow.lhs; in check_cycle_lhs()
857 ptree_nodetype2str(arrow->u.arrow.lhs->t)); in check_cycle_lhs()
869 check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, struct node *rhs) in check_cycle_lhs_try() argument
871 if (lhs->t == T_LIST) { in check_cycle_lhs_try()
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()
877 ASSERT(lhs->t == T_EVENT); in check_cycle_lhs_try()
879 if (tree_eventcmp(stmtnp->u.stmt.np, lhs) != 0) in check_cycle_lhs_try()
1255 check_required_props(struct node *lhs, struct node *rhs, void *arg) in check_required_props() argument
1277 check_proplists_lhs(t, np->u.arrow.lhs); in check_proplists()
1282 check_proplists_lhs(enum nodetype t, struct node *lhs) in check_proplists_lhs() argument
1284 if (lhs->t == T_ARROW) { in check_proplists_lhs()
1285 if (lhs->u.arrow.rhs->t == T_LIST) { in check_proplists_lhs()
1286 outfl(O_ERR, lhs->file, lhs->line, in check_proplists_lhs()
1290 check_proplists_lhs(t, lhs->u.arrow.lhs); in check_proplists_lhs()