Lines Matching +defs:t +defs:root
96 int mtree_Wflag; /* Don't "whack" permissions */
114 NODE ginfo, *root;
118 root = NULL;
141 while ((p = strsep(&next, " \t")) != NULL && *p == '\0')
157 /* Don't go up, if haven't gone down. */
158 if (root == NULL)
161 if (last == root)
184 cur = root;
217 if (root == NULL) {
222 * Allow a bare "." root node by forcing it to
229 "root node must be the directory `.',"
233 "root node must type %#x != %#x",
235 last = root = centry;
236 root->parent = root;
248 replacenode(root, centry);
268 return (root);
272 free_nodes(NODE *root)
276 if (root == NULL)
280 for (cur = root; cur != NULL; cur = next) {
323 dump_nodes(FILE *fp, const char *dir, NODE *root, int pathlast)
331 for (cur = root; cur != NULL; cur = cur->next) {
412 /* don't output leading or trailing commas */
437 static const char extra[] = { ' ', '\t', '\n', '\\', '#', '\0' };
438 static const char extra_glob[] = { ' ', '\t', '\n', '\\', '#', '*',
500 * don't want children retained in this case.
544 set(char *t, NODE *ip)
553 while ((kw = strsep(&t, "= \t")) != NULL) {
562 while ((val = strsep(&t, " \t")) != NULL && *val == '\0')
588 if (mtree_Wflag) /* don't parse if whacking */
666 if (mtree_Wflag) /* don't parse if whacking */
706 unset(char *t, NODE *ip)
710 while ((p = strsep(&t, " \t")) != NULL) {