Lines Matching defs:dirs
82 manpath_base(struct manpaths *dirs)
85 manpath_parseline(dirs, path_base, '\0');
92 manpath_parseline(struct manpaths *dirs, char *path, char option)
100 manpath_add(dirs, dir, option);
108 manpath_add(struct manpaths *dirs, const char *dir, char option)
118 for (i = 0; i < dirs->sz; i++)
119 if (strcmp(dirs->paths[i], dir) == 0)
125 dirs->paths = mandoc_reallocarray(dirs->paths,
126 dirs->sz + 1, sizeof(*dirs->paths));
127 dirs->paths[dirs->sz++] = mandoc_strdup(cp);