root 91 global/global.c char root[MAXPATHLEN+1]; /* root of source tree */ root 181 global/global.c if (!strcmp(root, "/")) root 182 global/global.c strlimcpy(rootdir, root, sizeof(rootdir)); root 184 global/global.c snprintf(rootdir, sizeof(rootdir), "%s/", root); root 422 global/global.c getdbpath(cwd, root, dbpath, (pflag && vflag)); root 423 global/global.c if (Iflag && !test("f", makepath(root, "ID", NULL))) root 429 global/global.c fprintf(stdout, "%s\n", (rflag) ? root : dbpath); root 441 global/global.c if (chdir(root) < 0) root 442 global/global.c die("cannot change directory to '%s'.", root); root 458 global/global.c completion(dbpath, root, av); root 469 global/global.c if (strcmp(root, cwd) != 0) { root 470 global/global.c char *p = cwd + strlen(root); root 479 global/global.c fprintf(stderr, "root=%s\n", root); root 520 global/global.c chdir(root); root 527 global/global.c chdir(root); root 534 global/global.c chdir(root); root 541 global/global.c parsefile(argc, argv, cwd, root, dbpath, db); root 547 global/global.c tagsearch(av, cwd, root, dbpath, db); root 559 global/global.c completion(const char *dbpath, const char *root, const char *prefix) root 572 global/global.c gtop = gtags_open(dbpath, root, db, GTAGS_READ); root 680 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout); root 766 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout); root 839 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout); root 886 global/global.c parsefile(int argc, char **argv, const char *cwd, const char *root, const char *dbpath, int db) root 900 global/global.c if (!strcmp(root, "/")) root 901 global/global.c strlimcpy(rootdir, root, sizeof(rootdir)); root 903 global/global.c snprintf(rootdir, sizeof(rootdir), "%s/", root); root 923 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout); root 944 global/global.c if (!test("f", makepath(root, path, NULL))) { root 966 global/global.c if (chdir(root) < 0) root 967 global/global.c die("cannot move to '%s' directory.", root); root 1027 global/global.c search(const char *pattern, const char *root, const char *cwd, const char *dbpath, int db) root 1045 global/global.c gtop = gtags_open(dbpath, root, db, GTAGS_READ); root 1046 global/global.c cv = convert_open(type, format, root, cwd, dbpath, stdout); root 1103 global/global.c fp = fopen(makepath(root, curpath, NULL), "r"); root 1233 global/global.c tagsearch(const char *pattern, const char *cwd, const char *root, const char *dbpath, int db) root 1241 global/global.c count = search(pattern, root, cwd, dbpath, db); root 69 gozilla/gozilla.c char root[MAXPATHLEN+1]; root 188 gozilla/gozilla.c else if (test("d", makepath(root, "HTML", NULL))) root 189 gozilla/gozilla.c strlimcpy(htmldir, makepath(root, "HTML", NULL), sizeof(htmldir)); root 190 gozilla/gozilla.c else if (test("d", makepath(root, "html/HTML", NULL))) root 192 gozilla/gozilla.c strlimcpy(htmldir, makepath(root, "html/HTML", NULL), sizeof(htmldir)); root 289 gozilla/gozilla.c getdbpath(cwd, root, dbpath, 0); root 387 gozilla/gozilla.c if (!strcmp(root, "/")) root 388 gozilla/gozilla.c strlimcpy(rootdir, root, sizeof(rootdir)); root 390 gozilla/gozilla.c snprintf(rootdir, sizeof(rootdir), "%s/", root); root 105 gtags-cscope/gtags-cscope.c char root[MAXPATHLEN+1]; root 108 gtags-cscope/gtags-cscope.c getdbpath(cwd, root, dbpath, vflag); root 444 gtags/gtags.c incremental(const char *dbpath, const char *root) root 483 gtags/gtags.c find_open_filelist(file_list, root); root 565 gtags/gtags.c updatetags(dbpath, root, deleteset, addlist, db); root 638 gtags/gtags.c updatetags(const char *dbpath, const char *root, IDSET *deleteset, STRBUF *addlist, int db) root 655 gtags/gtags.c gtop = gtags_open(dbpath, root, db, GTAGS_MODIFY); root 746 gtags/gtags.c createtags(const char *dbpath, const char *root, int db) root 764 gtags/gtags.c gtop = gtags_open(dbpath, root, db, GTAGS_CREATE); root 787 gtags/gtags.c find_open_filelist(file_list, root); root 172 htags/src2html.c * i) $root root or index page root 184 htags/src2html.c for (p = buf; *p; p++) root 374 libdb/bt_open.c PAGE *meta, *root; root 388 libdb/bt_open.c if ((root = mpool_new(t->bt_mp, &npg)) == NULL) root 393 libdb/bt_open.c root->pgno = npg; root 394 libdb/bt_open.c root->prevpg = root->nextpg = P_INVALID; root 395 libdb/bt_open.c root->lower = BTDATAOFF; root 396 libdb/bt_open.c root->upper = t->bt_psize; root 397 libdb/bt_open.c root->flags = P_BLEAF; root 400 libdb/bt_open.c mpool_put(t->bt_mp, root, MPOOL_DIRTY); root 182 libutil/abs2rel.c normalize(const char *path, const char *root, const char *cwd, char *result, const int size) root 201 libutil/abs2rel.c p = locatestring(abs, root, MATCH_AT_FIRST); root 421 libutil/find.c find_open_filelist(const char *filename, const char *root) root 448 libutil/find.c if (!strcmp(root, "/")) root 449 libutil/find.c strlimcpy(rootdir, root, sizeof(rootdir)); root 451 libutil/find.c snprintf(rootdir, sizeof(rootdir), "%s/", root); root 452 libutil/find.c strlimcpy(cwddir, root, sizeof(cwddir)); root 150 libutil/getdbpath.c getdbpath(char *cwd, char *root, char *dbpath, int verbose) root 166 libutil/getdbpath.c if (realpath(p, root) == NULL) root 180 libutil/getdbpath.c if (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) root 189 libutil/getdbpath.c strlimcpy(root, cwd, MAXPATHLEN); root 190 libutil/getdbpath.c p = root + strlen(root); root 191 libutil/getdbpath.c while (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) { root 192 libutil/getdbpath.c while (*--p != '/' && p > root) root 195 libutil/getdbpath.c if (root == p) /* reached root directory */ root 198 libutil/getdbpath.c if (*root == 0) root 209 libutil/getdbpath.c path = makepath(root, "GTAGSROOT", NULL); root 229 libutil/getdbpath.c s = realpath(makepath(root, s, NULL), buf); root 231 libutil/getdbpath.c strlimcpy(root, s, MAXPATHLEN); root 273 libutil/gtagsop.c gtags_open(const char *dbpath, const char *root, int db, int mode) root 368 libutil/gtagsop.c assert(root != NULL); root 369 libutil/gtagsop.c strlimcpy(gtop->root, root, sizeof(gtop->root)); root 82 libutil/gtagsop.h char root[MAXPATHLEN+1]; /* root directory of source tree */ root 95 libutil/pathconvert.c convert_open(int type, int format, const char *root, const char *cwd, const char *dbpath, FILE *op) root 102 libutil/pathconvert.c strbuf_puts(cv->abspath, root);