Lines Matching defs:paths
615 (void)chdir(conf.manpath.paths[resp->ipath]);
797 fs_lookup(const struct manpaths *paths, size_t ipath,
810 paths->paths[ipath], sec, name, sec);
816 paths->paths[ipath], sec, name);
825 paths->paths[ipath], sec, arch, name, sec);
832 paths->paths[ipath], sec, name);
846 if (res != NULL || ipath + 1 != paths->sz)
856 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]);
874 fs_search(const struct mansearch *cfg, const struct manpaths *paths,
889 for (ipath = 0; ipath < paths->sz; ipath++) {
891 if (fs_lookup(paths, ipath, cfg->sec,
896 if (fs_lookup(paths, ipath, sections[isec],
1007 static struct manpaths paths;
1012 if (paths.sz == 0)
1013 manpath_base(&paths);
1023 if (mansearch(&search, &paths, 1, &xr->name, NULL, &sz))
1025 if (fs_search(&search, &paths, 1, &xr->name, NULL, &sz) != -1)