Lines Matching refs:infop

84 static void vmatch(struct info *infop, struct node *np, struct node *lnp,
86 static void hmatch(struct info *infop, struct node *np, struct node *nextnp);
87 static void hmatch_event(struct info *infop, struct node *eventnp,
99 static struct event *find_or_add_event(struct info *infop, struct node *np);
168 generate(struct info *infop) in generate() argument
182 arrowp = itree_add_arrow(G.arrownp, G.fromnp, G.tonp, infop->ex); in generate()
188 G.frome = find_or_add_event(infop, G.fromnp); in generate()
191 G.toe = find_or_add_event(infop, G.tonp); in generate()
507 find_or_add_event(struct info *infop, struct node *np) in find_or_add_event() argument
516 if ((ret = lut_lookup(infop->lut, (void *)&searchevent, in find_or_add_event()
529 infop->lut = lut_add(infop->lut, (void *)ret, (void *)ret, in find_or_add_event()
542 hmatch_full_config(struct info *infop, struct node *eventnp, in hmatch_full_config() argument
578 for (; pcp != infop->croot; pcp = config_parent(pcp)) { in hmatch_full_config()
605 outfl(O_ALTFP|O_VERB3|O_NONL, infop->anp->file, in hmatch_full_config()
606 infop->anp->line, "hmatch_full_config: "); in hmatch_full_config()
614 hmatch_event(infop, eventnp, oldepname->u.name.next, in hmatch_full_config()
632 hmatch_full_config(infop, eventnp, in hmatch_full_config()
650 hmatch_event(struct info *infop, struct node *eventnp, struct node *epname, in hmatch_event() argument
672 hmatch(infop, nextnp, NULL); in hmatch_event()
680 generate(infop); in hmatch_event()
716 if ((iterinfop = lut_lookup(infop->ex, in hmatch_event()
726 infop->ex = lut_add(infop->ex, (void *)iters, in hmatch_event()
750 hmatch_full_config(infop, eventnp, epname, in hmatch_event()
751 infop->croot, nextnp, iterinfop); in hmatch_event()
767 hmatch_event(infop, eventnp, in hmatch_event()
776 hmatch_event(infop, eventnp, epname->u.name.next, in hmatch_event()
792 hmatch(struct info *infop, struct node *np, struct node *nextnp) in hmatch() argument
808 hmatch(infop, np->u.expr.left, nextnp); in hmatch()
810 hmatch(infop, np->u.expr.right, nextnp); in hmatch()
814 hmatch_event(infop, np, np->u.event.epname, in hmatch()
862 vmatch_event(struct info *infop, struct config *cp, struct node *np, in vmatch_event() argument
887 if (pcp == infop->croot) { in vmatch_event()
893 vmatch(infop, np, lnp, anp); in vmatch_event()
902 for (; pcp != infop->croot; pcp = config_parent(pcp)) { in vmatch_event()
928 vmatch(infop, np, lnp, anp); in vmatch_event()
993 if ((iterinfop = lut_lookup(infop->ex, in vmatch_event()
996 infop->ex = lut_add(infop->ex, in vmatch_event()
1027 vmatch_event(infop, in vmatch_event()
1045 vmatch_event(infop, config_child(cp), np->u.name.next, in vmatch_event()
1100 vmatch_event(infop, config_child(cp), np, lnp, in vmatch_event()
1116 vmatch_event(infop, config_child(cp), np, lnp, anp, in vmatch_event()
1187 vmatch(struct info *infop, struct node *np, struct node *lnp, struct node *anp) in vmatch() argument
1197 vmatch(infop, lnp, NULL, anp); in vmatch()
1199 vmatch(infop, anp, NULL, NULL); in vmatch()
1206 infop->anp->file, infop->anp->line, "vmatch: "); in vmatch()
1207 ptree_name_iter(O_ALTFP|O_VERB3|O_NONL, infop->anp); in vmatch()
1211 itree_np2nork(infop->anp->u.arrow.nnp), in vmatch()
1212 itree_np2nork(infop->anp->u.arrow.knp)); in vmatch()
1213 dst = infop->anp->u.arrow.rhs; in vmatch()
1214 src = infop->anp->u.arrow.lhs; in vmatch()
1218 hmatch(infop, src->u.arrow.rhs, dst); in vmatch()
1225 hmatch(infop, src, dst); in vmatch()
1271 vmatch(infop, NULL, lnp, anp); in vmatch()
1292 vmatch_event(infop, config_child(cp), np2, lnp, in vmatch()
1301 vmatch(infop, NULL, lnp, anp); in vmatch()
1316 vmatch_event(infop, config_child(infop->croot), in vmatch()
1326 vmatch(infop, NULL, lnp, anp); in vmatch()
1332 vmatch(infop, np->u.expr.right, np->u.expr.left, anp); in vmatch()
1337 vmatch(infop, np->u.arrow.rhs, NULL, np->u.arrow.parent); in vmatch()
1348 find_first_arrow(struct info *infop, struct node *anp) in find_first_arrow() argument
1352 find_first_arrow(infop, anp->u.arrow.lhs); in find_first_arrow()
1354 vmatch(infop, anp->u.arrow.lhs, NULL, anp); in find_first_arrow()