Lines Matching refs:Gredge_t
40 Gredge_t *e1 = (Gredge_t*)one;
41 Gredge_t *e2 = (Gredge_t*)two;
61 for(dt = ((Gredge_t*)edge)->data; dt; dt = next)
74 Gredge_t *e, *enext;
118 Gredge_t* gredge(Graph_t* gr, Grnode_t* tail, Grnode_t* head, Void_t* label, int type)
120 Gredge_t edge, *ed, *e, *pe;
129 return NIL(Gredge_t*);
137 { for(pe = NIL(Gredge_t*), e = ed->tail->oedge; e; pe = e, e = e->onext)
145 for(pe = NIL(Gredge_t*), e = ed->head->iedge; e; pe = e, e = e->inext)
156 return NIL(Gredge_t*);
162 if((sz = gr->disc ? gr->disc->edgesz : 0) < sizeof(Gredge_t))
163 sz = sizeof(Gredge_t);
164 if(!(ed = (Gredge_t*)calloc(1, sz)) )
165 return NIL(Gredge_t*);
176 return (Gredge_t*)dtinsert(gr->edges, ed);
208 Gredge_t *ed;
211 { nd->oedge = nd->iedge = NIL(Gredge_t*);
215 for(ed = (Gredge_t*)dtflatten(gr->edges); ed; ed = (Gredge_t*)dtlink(gr,ed))
218 ed->link = NIL(Gredge_t*);