Lines Matching refs:paths
523 (void)chdir(conf.manpath.paths[resp->ipath]);
700 fs_lookup(const struct manpaths *paths, size_t ipath,
712 paths->paths[ipath], sec, name, sec);
718 paths->paths[ipath], sec, name);
727 paths->paths[ipath], sec, arch, name, sec);
734 paths->paths[ipath], sec, name);
744 if (res != NULL || ipath + 1 != paths->sz)
755 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]);
773 fs_search(const struct mansearch *cfg, const struct manpaths *paths,
788 for (ipath = 0; ipath < paths->sz; ipath++) {
790 if (fs_lookup(paths, ipath, cfg->sec,
795 if (fs_lookup(paths, ipath, sections[isec],
906 static struct manpaths paths;
911 if (paths.sz == 0)
912 manpath_base(&paths);
922 if (mansearch(&search, &paths, 1, &xr->name, NULL, &sz))
924 if (fs_search(&search, &paths, 1, &xr->name, NULL, &sz))