Lines Matching defs:paths
504 printf("%s:", conf.manpath.paths[i]);
505 printf("%s\n", conf.manpath.paths[i]);
548 strlen(conf.manpath.paths[resn[i].ipath]);
754 fs_lookup(const struct manpaths *paths, size_t ipath,
774 paths->paths[ipath], sec, name, sec);
780 paths->paths[ipath], sec, name);
789 paths->paths[ipath], sec, arch, name, sec);
795 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 +
798 glob_esc(&cp, paths->paths[ipath], slman);
815 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 +
819 glob_esc(&cp, paths->paths[ipath], slman);
835 if (res != NULL || ipath + 1 != paths->sz)
845 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]);
858 fs_search(const struct mansearch *cfg, const struct manpaths *paths,
871 for (ipath = 0; ipath < paths->sz; ipath++) {
873 if (fs_lookup(paths, ipath, cfg->sec, cfg->arch,
878 if (fs_lookup(paths, ipath, sections[isec],
899 (void)chdir(conf->manpath.paths[resp->ipath]);
1051 check_xr(struct manpaths *paths)
1065 if (mansearch(&search, paths, 1, &xr->name, NULL, &sz))
1067 if (fs_search(&search, paths, xr->name, NULL, &sz) != -1)