Lines Matching refs:link
34 #define GRLINK(n) ((n)->link == (n) ? (n) : grlink(n))
36 { while(n->link != n)
37 n = n->link;
56 { for(; e; e = e->link)
77 PRINT(Fd,"link = %d, ", nd->link ? (int)nd->link->label : -1);
114 { n->link = n->fold = n; /* union structures: link kept as-is, fold does path-compression */
120 { e->link = NIL(Gredge_t*);
149 { ec->link = path; path = ec;
156 for(emin = NIL(Gredge_t*), ec = path; ec; ec = ec->link)
172 path = ec->link; /* will restart search from here */
173 ec->link = NIL(Gredge_t*);
177 for(ec = cl->cycl; ec; ec = ec->link)
191 for(ec = cl->cycl; ec; ec = ec->link)
194 grfind(ec->head)->link = nc; /* union history kept as-is */
197 nc->fold = nc->link = nc;
221 e->link = path; path = e;
223 for(ec = path; ec; ec = ec->link)
229 for(ec = cl->cycl; ec; ec = ec->link)
230 BREDGE(ec)->root->link = BREDGE(ec)->root;
234 for(ec = cl->cycl; ec; ec = ec->link)