dbpath 108 global/global.c const char *dbpath; /**< dbpath directory */ dbpath 230 global/global.c if (gpath_open(dbpath, 0) < 0) dbpath 239 global/global.c dbop = dbop_open(makepath(dbpath, dbname(GTAGS), NULL), 0, 0, 0); dbpath 314 global/global.c if (!strcmp(dbpath, libdbpath)) dbpath 616 global/global.c dbpath = get_dbpath(); dbpath 622 global/global.c fprintf(stdout, "%s\n", (rflag) ? root : dbpath); dbpath 654 global/global.c strbuf_puts(sb, dbpath); dbpath 685 global/global.c completion_idutils(dbpath, root, av); dbpath 687 global/global.c completion_path(dbpath, av); dbpath 689 global/global.c completion(dbpath, root, av, db); dbpath 754 global/global.c idutils(av, dbpath); dbpath 761 global/global.c grep(av, argv, dbpath); dbpath 768 global/global.c pathlist(av, dbpath); dbpath 775 global/global.c parsefile(argv, cwd, root, dbpath, db); dbpath 781 global/global.c tagsearch(av, cwd, root, dbpath, db); dbpath 795 global/global.c completion_tags(const char *dbpath, const char *root, const char *prefix, int db) dbpath 798 global/global.c GTOP *gtop = gtags_open(dbpath, root, db, GTAGS_READ, 0); dbpath 868 global/global.c completion(const char *dbpath, const char *root, const char *prefix, int db) dbpath 875 global/global.c count = completion_tags(dbpath, root, prefix, db); dbpath 892 global/global.c if (!strcmp(dbpath, libdbpath)) dbpath 916 global/global.c completion_idutils(const char *dbpath, const char *root, const char *prefix) dbpath 932 global/global.c strbuf_sprintf(sb, " --file='%s/ID'", dbpath); dbpath 967 global/global.c completion_path(const char *dbpath, const char *prefix) dbpath 988 global/global.c gp = gfind_open(dbpath, localprefix, target); dbpath 1070 global/global.c idutils(const char *pattern, const char *dbpath) dbpath 1093 global/global.c strbuf_sprintf(ib, " --file='%s/ID'", dbpath); dbpath 1107 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout, NOTAGS); dbpath 1156 global/global.c fprintf(stderr, " (using idutils index in '%s').\n", dbpath); dbpath 1167 global/global.c grep(const char *pattern, char *const *argv, const char *dbpath) dbpath 1216 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout, NOTAGS); dbpath 1226 global/global.c args_open_gfind(gp = gfind_open(dbpath, localprefix, target)); dbpath 1289 global/global.c pathlist(const char *pattern, const char *dbpath) dbpath 1325 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout, GPATH); dbpath 1328 global/global.c gp = gfind_open(dbpath, localprefix, target); dbpath 1363 global/global.c fprintf(stderr, " (using '%s').\n", makepath(dbpath, dbname(GPATH), NULL)); dbpath 1439 global/global.c parsefile(char *const *argv, const char *cwd, const char *root, const char *dbpath, int db) dbpath 1472 global/global.c data.cv = convert_open(type, format, root, cwd, dbpath, stdout, db); dbpath 1473 global/global.c if (gpath_open(dbpath, 0) < 0) dbpath 1476 global/global.c data.dbop = dbop_open(makepath(dbpath, dbname(GTAGS), NULL), 0, 0, 0); dbpath 1570 global/global.c search(const char *pattern, const char *root, const char *cwd, const char *dbpath, int db) dbpath 1588 global/global.c gtop = gtags_open(dbpath, root, db, GTAGS_READ, 0); dbpath 1589 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout, db); dbpath 1795 global/global.c tagsearch(const char *pattern, const char *cwd, const char *root, const char *dbpath, int db) dbpath 1803 global/global.c count = search(pattern, root, cwd, dbpath, db); dbpath 1823 global/global.c if (!strcmp(dbpath, libdbpath)) dbpath 1834 global/global.c dbpath = libdbpath; dbpath 1843 global/global.c fprintf(stderr, " (using '%s')", makepath(dbpath, dbname(db), NULL)); dbpath 73 gozilla/gozilla.c const char *cwd, *root, *dbpath; dbpath 183 gozilla/gozilla.c if (test("d", makepath(dbpath, "HTML", NULL))) dbpath 184 gozilla/gozilla.c strlimcpy(htmldir, makepath(dbpath, "HTML", NULL), sizeof(htmldir)); dbpath 303 gozilla/gozilla.c dbpath = get_dbpath(); dbpath 404 gozilla/gozilla.c if (p != NULL && convertpath(dbpath, htmldir, p, sb) == 0) dbpath 445 gozilla/gozilla.c convertpath(const char *dbpath, const char *htmldir, const char *path, STRBUF *sb) dbpath 458 gozilla/gozilla.c if (gpath_open(dbpath, 0) == 0) { dbpath 171 gtags/gtags.c char dbpath[MAXPATHLEN]; dbpath 415 gtags/gtags.c realpath(*argv, dbpath); dbpath 416 gtags/gtags.c else if (!gtagsexist(cwd, dbpath, MAXPATHLEN, vflag)) dbpath 417 gtags/gtags.c strlimcpy(dbpath, cwd, sizeof(dbpath)); dbpath 420 gtags/gtags.c realpath(*argv, dbpath); dbpath 426 gtags/gtags.c strlimcpy(dbpath, objdir, sizeof(dbpath)); dbpath 428 gtags/gtags.c strlimcpy(dbpath, cwd, sizeof(dbpath)); dbpath 430 gtags/gtags.c if (iflag && (!test("f", makepath(dbpath, dbname(GTAGS), NULL)) || dbpath 431 gtags/gtags.c !test("f", makepath(dbpath, dbname(GRTAGS), NULL)) || dbpath 432 gtags/gtags.c !test("f", makepath(dbpath, dbname(GPATH), NULL)))) { dbpath 437 gtags/gtags.c if (!test("d", dbpath)) dbpath 438 gtags/gtags.c die("directory '%s' not found.", dbpath); dbpath 473 gtags/gtags.c GTOP *gtop = gtags_open(dbpath, cwd, GTAGS, GTAGS_MODIFY, 0); dbpath 480 gtags/gtags.c if (!test("f", makepath(dbpath, dbname(GPATH), NULL))) dbpath 482 gtags/gtags.c (void)incremental(dbpath, cwd); dbpath 489 gtags/gtags.c createtags(dbpath, cwd); dbpath 501 gtags/gtags.c strbuf_sprintf(sb, " --file='%s/ID'", dbpath); dbpath 514 gtags/gtags.c if (chmod(makepath(dbpath, "ID", NULL), 0644) < 0) dbpath 534 gtags/gtags.c incremental(const char *dbpath, const char *root) dbpath 549 gtags/gtags.c fprintf(stderr, " Tag found in '%s'.\n", dbpath); dbpath 555 gtags/gtags.c path = makepath(dbpath, dbname(GTAGS), NULL); dbpath 560 gtags/gtags.c if (gpath_open(dbpath, 2) < 0) dbpath 680 gtags/gtags.c updatetags(dbpath, root, deleteset, addlist); dbpath 709 gtags/gtags.c utime(makepath(dbpath, dbname(db), NULL), NULL); dbpath 767 gtags/gtags.c updatetags(const char *dbpath, const char *root, IDSET *deleteset, STRBUF *addlist) dbpath 778 gtags/gtags.c data.gtop[GTAGS] = gtags_open(dbpath, root, GTAGS, GTAGS_MODIFY, 0); dbpath 779 gtags/gtags.c if (test("f", makepath(dbpath, dbname(GRTAGS), NULL))) { dbpath 780 gtags/gtags.c data.gtop[GRTAGS] = gtags_open(dbpath, root, GRTAGS, GTAGS_MODIFY, 0); dbpath 854 gtags/gtags.c createtags(const char *dbpath, const char *root) dbpath 866 gtags/gtags.c data.gtop[GTAGS] = gtags_open(dbpath, root, GTAGS, GTAGS_CREATE, openflags); dbpath 870 gtags/gtags.c data.gtop[GRTAGS] = gtags_open(dbpath, root, GRTAGS, GTAGS_CREATE, openflags); dbpath 715 htags/fileindex.c gp = gfind_open(dbpath, NULL, other_files ? GPATH_BOTH : GPATH_SOURCE); dbpath 83 htags/htags.c char dbpath[MAXPATHLEN]; dbpath 746 htags/htags.c if (enable_idutils && test("f", makepath(dbpath, "ID", NULL))) { dbpath 938 htags/htags.c gp = gfind_open(dbpath, NULL, other_files ? GPATH_BOTH : GPATH_SOURCE); dbpath 953 htags/htags.c gp = gfind_open(dbpath, NULL, other_files ? GPATH_BOTH : GPATH_SOURCE); dbpath 1832 htags/htags.c strlimcpy(dbpath, arg_dbpath, sizeof(dbpath)); dbpath 1834 htags/htags.c set_env("GTAGSDBPATH", dbpath); dbpath 1836 htags/htags.c strlimcpy(dbpath, cwdpath, sizeof(dbpath)); dbpath 1939 htags/htags.c path = makepath(dbpath, dbname(i), NULL); dbpath 1952 htags/htags.c gtop = gtags_open(dbpath, cwdpath, GTAGS, GTAGS_READ, 0); dbpath 1957 htags/htags.c gtop = gtags_open(dbpath, cwdpath, GRTAGS, GTAGS_READ, 0); dbpath 1967 htags/htags.c if (realpath(dbpath, buf) == NULL) dbpath 1969 htags/htags.c strlimcpy(dbpath, buf, sizeof(dbpath)); dbpath 1976 htags/htags.c GFIND *gp = gfind_open(dbpath, NULL, 0); dbpath 1985 htags/htags.c set_env("GTAGSDBPATH", dbpath); dbpath 2140 htags/htags.c load_gpath(dbpath); dbpath 72 htags/htags.h extern char dbpath[MAXPATHLEN]; dbpath 45 htags/path2url.c load_gpath(const char *dbpath) dbpath 53 htags/path2url.c dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), 0, 0, 0); dbpath 55 htags/path2url.c die("cannot open '%s'.", makepath(dbpath, dbname(GPATH), NULL)); dbpath 43 libutil/defined.c const char *dbpath; dbpath 48 libutil/defined.c if (!(dbpath = getenv("GTAGSDBPATH"))) dbpath 49 libutil/defined.c dbpath = "."; dbpath 50 libutil/defined.c dbop = dbop_open(makepath(dbpath, "GTAGS", NULL), 0, 0, 0); dbpath 141 libutil/getdbpath.c gtagsexist(const char *candidate, char *dbpath, int size, int verbose) dbpath 162 libutil/getdbpath.c snprintf(dbpath, size, "%s", candidate); dbpath 172 libutil/getdbpath.c snprintf(dbpath, size, "%s/%s", candidate_without_slash, makeobjdir); dbpath 183 libutil/getdbpath.c snprintf(dbpath, size, "%s%s", makeobjdirprefix, candidate_without_slash); dbpath 189 libutil/getdbpath.c static char dbpath[MAXPATHLEN]; dbpath 251 libutil/getdbpath.c strlimcpy(dbpath, getenv("GTAGSDBPATH"), MAXPATHLEN); dbpath 253 libutil/getdbpath.c if (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) { dbpath 266 libutil/getdbpath.c while (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) { dbpath 332 libutil/getdbpath.c return (const char *)dbpath; dbpath 106 libutil/gpathop.c gpath_open(const char *dbpath, int mode) dbpath 120 libutil/gpathop.c dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), mode, 0644, 0); dbpath 301 libutil/gpathop.c gfind_open(const char *dbpath, const char *local, int target) dbpath 305 libutil/gpathop.c gfind->dbop = dbop_open(makepath(dbpath, dbname(GPATH), NULL), 0, 0, 0); dbpath 327 libutil/gtagsop.c gtags_open(const char *dbpath, const char *root, int db, int mode, int flags) dbpath 360 libutil/gtagsop.c strlimcpy(tagfile, makepath(dbpath, dbname(db == GSYMS ? GRTAGS : db), NULL), sizeof(tagfile)); dbpath 368 libutil/gtagsop.c const char *gtags = makepath(dbpath, dbname(GTAGS), NULL); dbpath 437 libutil/gtagsop.c if (gpath_open(dbpath, dbmode) < 0) { dbpath 197 libutil/pathconvert.c convert_open(int type, int format, const char *root, const char *cwd, const char *dbpath, FILE *op, int db) dbpath 220 libutil/pathconvert.c if (gpath_open(dbpath, 0) < 0)