Lines Matching refs:NODE
100 static void replacenode(NODE *, NODE *);
101 static void set(char *, NODE *);
102 static void unset(char *, NODE *);
103 static void addchild(NODE *, NODE *);
104 static int nodecmp(const NODE *, const NODE *);
109 NODE *
112 NODE *centry, *last, *pathparent, *cur; in spec()
114 NODE ginfo, *root; in spec()
207 if ((centry = calloc(1, sizeof(NODE) + strlen(p))) == NULL) in spec()
268 free_nodes(NODE *root) in free_nodes()
270 NODE *cur, *next; in free_nodes()
319 dump_nodes(FILE *fp, const char *dir, NODE *root, int pathlast) in dump_nodes()
321 NODE *cur; in dump_nodes()
485 replacenode(NODE *cur, NODE *new) in replacenode()
539 set(char *t, NODE *ip) in set()
700 unset(char *t, NODE *ip) in unset()
719 addchild(NODE *pathparent, NODE *centry) in addchild()
721 NODE *samename; /* node with the same name as centry */ in addchild()
722 NODE *replacepos; /* if non-NULL, centry should replace this node */ in addchild()
723 NODE *insertpos; /* if non-NULL, centry should be inserted in addchild()
725 NODE *cur; /* for stepping through the list */ in addchild()
726 NODE *last; /* the last node in the list */ in addchild()
843 nodecmp(const NODE *a, const NODE *b) in nodecmp()