Lines Matching defs:paths
505 printf("%s:", conf.manpath.paths[i]);
506 printf("%s\n", conf.manpath.paths[i]);
778 fs_lookup(const struct manpaths *paths, size_t ipath,
798 paths->paths[ipath], sec, name, sec);
804 paths->paths[ipath], sec, name);
813 paths->paths[ipath], sec, arch, name, sec);
819 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 +
822 glob_esc(&cp, paths->paths[ipath], slman);
839 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 +
843 glob_esc(&cp, paths->paths[ipath], slman);
859 if (res != NULL || ipath + 1 != paths->sz)
869 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]);
882 fs_search(const struct mansearch *cfg, const struct manpaths *paths,
895 for (ipath = 0; ipath < paths->sz; ipath++) {
897 if (fs_lookup(paths, ipath, cfg->sec, cfg->arch,
902 if (fs_lookup(paths, ipath, sections[isec],
923 (void)chdir(conf->manpath.paths[resp->ipath]);
1083 check_xr(struct manpaths *paths)
1097 if (mansearch(&search, paths, 1, &xr->name, NULL, &sz))
1099 if (fs_search(&search, paths, xr->name, NULL, &sz) != -1)