Lines Matching defs:tail
43 if(e1->tail != e2->tail)
44 return e1->tail < e2->tail ? -1 : 1;
88 gredge(gr, e->tail, e->head, e->label, -1);
92 gredge(gr, e->tail, e->head, e->label, -1);
118 Gredge_t* gredge(Graph_t* gr, Grnode_t* tail, Grnode_t* head, Void_t* label, int type)
124 if(gr->type == GR_UNDIRECTED) /* enforce tail <= head */
125 if(tail > head)
126 { nd = tail; tail = head; head = nd; }
128 if(!(edge.tail = tail) || !(edge.head = head) )
137 { for(pe = NIL(Gredge_t*), e = ed->tail->oedge; e; pe = e, e = e->onext)
141 else ed->tail->oedge->onext = e->onext;
168 ed->tail = edge.tail;
171 ed->onext = edge.tail->oedge; edge.tail->oedge = ed;
216 { ed->onext = ed->tail->oedge; ed->tail->oedge = ed;