makepath 239 global/global.c dbop = dbop_open(makepath(dbpath, dbname(GTAGS), NULL), 0, 0, 0); makepath 316 global/global.c dbop = dbop_open(makepath(libdbpath, dbname(GTAGS), NULL), 0, 0, 0); makepath 894 global/global.c if (!test("f", makepath(libdbpath, dbname(db), NULL))) makepath 1363 global/global.c fprintf(stderr, " (using '%s').\n", makepath(dbpath, dbname(GPATH), NULL)); makepath 1476 global/global.c data.dbop = dbop_open(makepath(dbpath, dbname(GTAGS), NULL), 0, 0, 0); makepath 1504 global/global.c if (!test("f", makepath(root, path, NULL))) { makepath 1648 global/global.c fp = fopen(makepath(root, curpath, NULL), "r"); makepath 1825 global/global.c if (!test("f", makepath(libdbpath, dbname(db), NULL))) makepath 1843 global/global.c fprintf(stderr, " (using '%s')", makepath(dbpath, dbname(db), NULL)); makepath 122 gozilla/gozilla.c if (!test("r", makepath(p, gozillarc, NULL))) makepath 124 gozilla/gozilla.c if (!test("r", makepath(p, dos_gozillarc, NULL))) makepath 127 gozilla/gozilla.c if (!(ip = fopen(makepath(p, gozillarc, NULL), "r"))) makepath 129 gozilla/gozilla.c if (!(ip = fopen(makepath(p, dos_gozillarc, NULL), "r"))) makepath 183 gozilla/gozilla.c if (test("d", makepath(dbpath, "HTML", NULL))) makepath 184 gozilla/gozilla.c strlimcpy(htmldir, makepath(dbpath, "HTML", NULL), sizeof(htmldir)); makepath 185 gozilla/gozilla.c else if (test("d", makepath(root, "HTML", NULL))) makepath 186 gozilla/gozilla.c strlimcpy(htmldir, makepath(root, "HTML", NULL), sizeof(htmldir)); makepath 187 gozilla/gozilla.c else if (test("d", makepath(root, "html/HTML", NULL))) makepath 189 gozilla/gozilla.c strlimcpy(htmldir, makepath(root, "html/HTML", NULL), sizeof(htmldir)); makepath 361 gozilla/gozilla.c const char *path = makepath(htmldir, "MAP", NULL); makepath 383 gozilla/gozilla.c makefileurl(makepath(htmldir, ptable.part[1].start, NULL), 0, URL); makepath 430 gtags/gtags.c if (iflag && (!test("f", makepath(dbpath, dbname(GTAGS), NULL)) || makepath 431 gtags/gtags.c !test("f", makepath(dbpath, dbname(GRTAGS), NULL)) || makepath 432 gtags/gtags.c !test("f", makepath(dbpath, dbname(GPATH), NULL)))) { makepath 480 gtags/gtags.c if (!test("f", makepath(dbpath, dbname(GPATH), NULL))) makepath 514 gtags/gtags.c if (chmod(makepath(dbpath, "ID", NULL), 0644) < 0) makepath 555 gtags/gtags.c path = makepath(dbpath, dbname(GTAGS), NULL); makepath 709 gtags/gtags.c utime(makepath(dbpath, dbname(db), NULL), NULL); makepath 779 gtags/gtags.c if (test("f", makepath(dbpath, dbname(GRTAGS), NULL))) { makepath 60 htags/cflowindex.c if ((op = fopen(makepath(distpath, output, NULL), "w")) == NULL) { makepath 71 htags/defineindex.c fileop_MAP = open_output_file(makepath(distpath, "MAP", NULL), 0); makepath 74 htags/defineindex.c fileop_DEFINES = open_output_file(makepath(distpath, file, NULL), 0); makepath 742 htags/fileindex.c if ((filesop = fopen(makepath(distpath, file, NULL), "w")) == NULL) makepath 765 htags/fileindex.c if (!(FILEMAP = fopen(makepath(distpath, "FILEMAP", NULL), "w"))) makepath 766 htags/fileindex.c die("cannot open '%s'.", makepath(distpath, "FILEMAP", NULL)); makepath 418 htags/htags.c strlimcpy(path, makepath(distpath, name, NULL), sizeof(path)); makepath 425 htags/htags.c op = fopen(makepath(path, "index.html", NULL), "w"); makepath 427 htags/htags.c die("cannot make file '%s'.", makepath(path, "index.html", NULL)); makepath 440 htags/htags.c const char *path = makepath(distpath, name, NULL); makepath 582 htags/htags.c op = fopen(makepath(dist, file, NULL), "w"); makepath 626 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 651 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 746 htags/htags.c if (enable_idutils && test("f", makepath(dbpath, "ID", NULL))) { makepath 779 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 787 htags/htags.c fputs_nl(gen_frame("search", makepath(NULL, "search", normal_suffix)), op); makepath 795 htags/htags.c fputs_nl(gen_frame("defines", makepath(NULL, "defines", normal_suffix)), op); makepath 796 htags/htags.c fputs_nl(gen_frame("files", makepath(NULL, "files", normal_suffix)), op); makepath 798 htags/htags.c fputs_nl(gen_frame("mains", makepath(NULL, "mains", normal_suffix)), op); makepath 831 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 856 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 875 htags/htags.c op = fopen(makepath(distpath, file, NULL), "w"); makepath 1757 htags/htags.c if (!test("f", makepath(arg_dbpath, dbname(GTAGS), NULL))) makepath 1939 htags/htags.c path = makepath(dbpath, dbname(i), NULL); makepath 2082 htags/htags.c if (chmod(makepath(cgidir, "global.cgi", NULL), perm) < 0) makepath 2087 htags/htags.c if (chmod(makepath(cgidir, "completion.cgi", NULL), perm) < 0) makepath 2092 htags/htags.c if (chmod(makepath(cgidir, "ghtml.cgi", NULL), perm) < 0) makepath 2096 htags/htags.c if (chmod(makepath(distpath, ".htaccess", NULL), 0644) < 0) makepath 2103 htags/htags.c if (chmod(makepath(distpath, "bless.sh", NULL), 0640) < 0) makepath 2113 htags/htags.c const char *path = makepath(distpath, "compress", NULL); makepath 2124 htags/htags.c const char *path = makepath(distpath, "GTAGSROOT", NULL); makepath 2238 htags/htags.c if (chmod(makepath(distpath, "rebuild.sh", NULL), 0640) < 0) makepath 53 htags/path2url.c dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), 0, 0, 0); makepath 55 htags/path2url.c die("cannot open '%s'.", makepath(dbpath, dbname(GPATH), NULL)); makepath 215 libutil/conf.c else if ((p = get_home_directory()) && test("r", makepath(p, GTAGSRC, NULL))) makepath 216 libutil/conf.c strbuf_puts(sb, makepath(p, GTAGSRC, NULL)); makepath 218 libutil/conf.c else if ((p = get_home_directory()) && test("r", makepath(p, DOS_GTAGSRC, NULL))) makepath 219 libutil/conf.c strbuf_puts(sb, makepath(p, DOS_GTAGSRC, NULL)); makepath 229 libutil/conf.c else if (test("r", makepath(SYSCONFDIR, "gtags.conf", NULL))) makepath 230 libutil/conf.c strbuf_puts(sb, makepath(SYSCONFDIR, "gtags.conf", NULL)); makepath 50 libutil/defined.c dbop = dbop_open(makepath(dbpath, "GTAGS", NULL), 0, 0, 0); makepath 480 libutil/find.c if (stat(makepath(dir, dp->d_name, NULL), &st) < 0) { makepath 622 libutil/find.c strlimcpy(path, makepath(dir, unit, NULL), sizeof(path)); makepath 290 libutil/getdbpath.c path = makepath(root, "GTAGSROOT", NULL); makepath 311 libutil/getdbpath.c s = realpath(makepath(root, s, NULL), buf); makepath 120 libutil/gpathop.c dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), mode, 0644, 0); makepath 305 libutil/gpathop.c gfind->dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), 0, 0, 0); makepath 360 libutil/gtagsop.c strlimcpy(tagfile, makepath(dbpath, dbname(db == GSYMS ? GRTAGS : db), NULL), sizeof(tagfile)); makepath 368 libutil/gtagsop.c const char *gtags = makepath(dbpath, dbname(GTAGS), NULL); makepath 24 libutil/makepath.h const char *makepath(const char *, const char *, const char *); makepath 77 libutil/usable.c if (test("fx", makepath(BINDIR, command, NULL))) { makepath 78 libutil/usable.c strlimcpy(path, makepath(BINDIR, command, NULL), sizeof(path)); makepath 94 libutil/usable.c if (test("fx", makepath(dir, command, NULL))) { makepath 95 libutil/usable.c strlimcpy(path, makepath(dir, command, NULL), sizeof(path)); makepath 100 libutil/usable.c if (test("f", makepath(dir, command, suffix[i]))) { makepath 101 libutil/usable.c strlimcpy(path, makepath(dir, command, suffix[i]), sizeof(path));