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);
166 if (np->u.arrow.lhs->t != T_ARROW &&
167 np->u.arrow.lhs->t != T_LIST &&
168 np->u.arrow.lhs->t != T_EVENT) {
170 np->u.arrow.lhs->file, np->u.arrow.lhs->line,
172 ptree_nodetype2str(np->u.arrow.lhs->t));
572 check_propnames(t, np->u.arrow.lhs, 1, to);
585 ex = record_iterators(np->u.arrow.lhs, ex);
626 check_exprscope(np->u.arrow.lhs, ex);
713 check_upset_engine(struct node *lhs, struct node *rhs, void *arg)
743 check_refcount(struct node *lhs, struct node *rhs, void *arg)
754 ptree_name(O_WARN|O_NONL, lhs);
783 check_cycle(struct node *lhs, struct node *rhs, void *arg)
822 * check_cycle_lhs -- find the lhs of an arrow for cycle checking
832 switch (arrow->u.arrow.lhs->t) {
835 check_cycle_lhs(stmtnp, arrow->u.arrow.lhs);
841 if (arrow->u.arrow.lhs->u.arrow.rhs->t != T_EVENT)
845 trylhs = arrow->u.arrow.lhs->u.arrow.rhs;
851 trylhs = arrow->u.arrow.lhs;
856 out(O_DIE, "lhs: unexpected type: %s",
857 ptree_nodetype2str(arrow->u.arrow.lhs->t));
865 * check_cycle_lhs_try -- try matching an event name on lhs of an arrow
869 check_cycle_lhs_try(struct node *stmtnp, struct node *lhs, struct node *rhs)
871 if (lhs->t == T_LIST) {
872 check_cycle_lhs_try(stmtnp, lhs->u.expr.left, rhs);
873 check_cycle_lhs_try(stmtnp, lhs->u.expr.right, rhs);
877 ASSERT(lhs->t == T_EVENT);
879 if (tree_eventcmp(stmtnp->u.stmt.np, lhs) != 0)
1255 check_required_props(struct node *lhs, struct node *rhs, void *arg)
1277 check_proplists_lhs(t, np->u.arrow.lhs);
1282 check_proplists_lhs(enum nodetype t, struct node *lhs)
1284 if (lhs->t == T_ARROW) {
1285 if (lhs->u.arrow.rhs->t == T_LIST) {
1286 outfl(O_ERR, lhs->file, lhs->line,
1290 check_proplists_lhs(t, lhs->u.arrow.lhs);