Lines Matching refs:NODE
141 typedef struct node_str NODE;
143 NODE **n_prevp; /* pointer to previous node's n_next */
144 NODE *n_next; /* next node in graph */
145 NODE **n_arcs; /* array of arcs to other nodes */
153 static NODE *graph = NULL, **cycle_buf = NULL, **longest_cycle = NULL;
155 static NODE *sorted = NULL, *last = NULL;
158 static NODE *
161 NODE *n;
168 n = xnfalloc(sizeof(NODE));
193 NODE *n1;
194 NODE *n2;
230 NODE *n;
238 remove_node(NODE * n)
240 NODE **np;
241 NODE *newnode;
247 newnode = xnfalloc(sizeof(NODE));
248 memcpy(newnode, n, sizeof(NODE));
265 free_nodes(NODE * nodelist)
267 NODE *n, *nextnode;
278 find_cycle(NODE * from, NODE * to, int longest_len, int depth)
280 NODE **np;
297 (char *)cycle_buf, longest_len * sizeof(NODE *));
327 NODE *n, *next;
357 cycle_buf = xnfalloc(sizeof(NODE *) * cnt);
358 longest_cycle = xnfalloc(sizeof(NODE *) * cnt);
392 NODE *node;