Lines Matching refs:ipath
510 resn->ipath = SIZE_MAX; in main()
580 res[i].ipath = SIZE_MAX; in main()
711 fs_append(char **file, size_t filesz, int copy, size_t ipath, in fs_append() argument
724 page->ipath = ipath; in fs_append()
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()
831 ipath, sec, form, res, ressz); in fs_lookup()
833 fs_append(&file, 1, 0, ipath, sec, form, res, ressz); in fs_lookup()
846 size_t ipath, isec; in fs_search() local
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()
879 if (resp->ipath != SIZE_MAX) in process_onefile()
880 (void)chdir(conf->manpath.paths[resp->ipath]); in process_onefile()
887 mandoc_msg(resp->ipath == SIZE_MAX ? in process_onefile()