Searched defs:gr (Results 1 - 6 of 6) sorted by relevance

/ast/src/lib/libvgraph/
H A Dgrsearch.c19 Grnode_t* grdfs(Graph_t* gr) argument
H A Dgraph.c21 Graph_t *gr = GRSTRUCTOF(Graph_t, nddc, disc); local
25 { if(gr->disc && gr->disc->eventf)
26 (*gr->disc->eventf)(gr, GR_NODE|GR_CLOSING, node, gr->disc );
54 Graph_t *gr = GRSTRUCTOF(Graph_t, eddc, disc); local
58 { if(gr->disc && gr->disc->eventf)
59 (*gr
71 grnode(Graph_t* gr, Void_t* label, int type) argument
118 gredge(Graph_t* gr, Grnode_t* tail, Grnode_t* head, Void_t* label, int type) argument
205 grrestore(Graph_t* gr) argument
225 grclose(Graph_t* gr) argument
252 Graph_t *gr; local
[all...]
H A Dgrbranching.c81 static int prid(Graph_t* gr, ssize_t id) argument
83 return prnode(grnode(gr, (void*)id, 0));
93 static int prgraph(Graph_t* gr) argument
96 for(nd = (Grnode_t*)dtflatten(gr->nodes); nd; nd = (Grnode_t*)dtlink(gr->nodes,nd) )
106 ssize_t grbranching(Graph_t* gr) argument
113 for(w = 0, n = (Grnode_t*)dtflatten(gr->nodes); n; w += 1, n = (Grnode_t*)dtlink(gr->nodes,n) )
137 for(n = (Grnode_t*)dtflatten(gr->nodes); n; n = (Grnode_t*)dtlink(gr
306 Graph_t *gr; local
[all...]
/ast/src/lib/libast/string/
H A Dfmtgid.c64 register struct group* gr; local
78 if (gr = getgrgid(gid))
80 name = gr->gr_name;
H A Dstrgid.c73 register struct group* gr; local
88 if (gr = getgrnam(name))
89 id = gr->gr_gid;
103 else if (gr = getgrnam("Administrators"))
104 id = gr->gr_gid;
/ast/src/lib/libvcodex/
H A Dvcsfxsort.c366 Graph_t *gr; local
374 if(!(gr = gropen(NIL(Grdisc_t*), GR_DIRECTED)) )
384 if(!(hd = grnode(gr, TYPECAST(Void_t*,y), 1)) )
391 if(!(tl = grnode(gr, TYPECAST(Void_t*,z), 1)) ||
392 !(e = gredge(gr, tl, hd, (Void_t*)0, 1)) )
397 if((k = grbranching(gr)) < 0)
402 for(nd = (Grnode_t*)dtfirst(gr->nodes); nd; nd = (Grnode_t*)dtnext(gr->nodes,nd))
419 done: if(gr)
420 grclose(gr);
485 Graph_t *gr = NIL(Graph_t*); local
[all...]

Completed in 29 milliseconds