Lines Matching refs:paths
472 printf("%s:", conf.manpath.paths[i]); in main()
473 printf("%s\n", conf.manpath.paths[i]); in main()
735 fs_lookup(const struct manpaths *paths, size_t ipath, in fs_lookup() argument
755 paths->paths[ipath], sec, name, sec); in fs_lookup()
761 paths->paths[ipath], sec, name); in fs_lookup()
770 paths->paths[ipath], sec, arch, name, sec); in fs_lookup()
776 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
779 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup()
796 cp = file = mandoc_malloc(strlen(paths->paths[ipath]) * 2 + in fs_lookup()
800 glob_esc(&cp, paths->paths[ipath], slman); in fs_lookup()
816 if (res != NULL || ipath + 1 != paths->sz) in fs_lookup()
826 name, sec, BINM_MAKEWHATIS, paths->paths[ipath]); in fs_lookup()
839 fs_search(const struct mansearch *cfg, const struct manpaths *paths, in fs_search() argument
852 for (ipath = 0; ipath < paths->sz; ipath++) { in fs_search()
854 if (fs_lookup(paths, ipath, cfg->sec, cfg->arch, in fs_search()
859 if (fs_lookup(paths, ipath, sections[isec], in fs_search()
880 (void)chdir(conf->manpath.paths[resp->ipath]); in process_onefile()
1040 check_xr(struct manpaths *paths) in check_xr() argument
1054 if (mansearch(&search, paths, 1, &xr->name, NULL, &sz)) in check_xr()
1056 if (fs_search(&search, paths, xr->name, NULL, &sz) != -1) in check_xr()