    dir               212 htags/common.c upperdir(const char *dir)
    dir               217 htags/common.c 	strbuf_sprintf(sb, "../%s", dir);
    dir               305 htags/common.c 	const char *dir = (place == SUBDIR) ? "../" : "";
    dir               315 htags/common.c 			strbuf_sprintf(sb, "<?xml-stylesheet type='text/css' href='%sstyle.css'?>\n", dir);
    dir               341 htags/common.c 		strbuf_sprintf(sb, "<link rel='stylesheet' type='text/css' href='%sstyle.css'%s>\n", dir, empty_element);
    dir               390 htags/common.c 	const char *dir = (where == PARENT) ? "../icons" : "icons";
    dir               395 htags/common.c 			dir, file, icon_suffix, alt, empty_element);
    dir               398 htags/common.c 			dir, file, icon_suffix, alt, icon_spec, empty_element);
    dir               449 htags/common.c gen_href_begin_with_title_target(const char *dir, const char *file, const char *suffix, const char *key, const char *title, const char *target)
    dir               460 htags/common.c 		if (dir) {
    dir               461 htags/common.c 			strbuf_puts(sb, dir);
    dir               500 htags/common.c gen_href_begin(const char *dir, const char *file, const char *suffix, const char *key)
    dir               502 htags/common.c 	return gen_href_begin_with_title_target(dir, file, suffix, key, NULL, NULL);
    dir               508 htags/common.c gen_href_begin_with_title(const char *dir, const char *file, const char *suffix, const char *key, const char *title)
    dir               510 htags/common.c 	return gen_href_begin_with_title_target(dir, file, suffix, key, title, NULL);
    dir               221 htags/fileindex.c localpath(const char *path, char *dir)
    dir               223 htags/fileindex.c 	int length = strlen(dir);
    dir               225 htags/fileindex.c 	if (!strncmp(path, dir, length) && *(path + length) == '/')
    dir               432 htags/fileindex.c print_directory_header(FILE *op, int level, const char *dir)
    dir               439 htags/fileindex.c 	strbuf_puts(sb, removedotslash(dir));
    dir               451 htags/fileindex.c 		strlimcpy(path, dir, sizeof(path));
    dir               475 htags/fileindex.c 		(void)dirpart(dir, parentdir);
    dir               507 htags/fileindex.c print_directory_footer(FILE *op, int level, const char *dir)
    dir               514 htags/fileindex.c 	(void)dirpart(dir, parentdir);
    dir               364 htags/src2html.c 			const char *dir, *file, *suffix = NULL;
    dir               369 htags/src2html.c 				dir = (*action == '/') ? NULL : "..";
    dir               381 htags/src2html.c 					dir = upperdir(DEFS);
    dir               383 htags/src2html.c 					dir = upperdir(SYMS);
    dir               385 htags/src2html.c 					dir = upperdir(REFS);
    dir               389 htags/src2html.c 			strbuf_puts(outbuf, gen_href_begin_with_title(dir, file, suffix, NULL, tooltip(type, -1, count)));
    dir               627 htags/src2html.c 	STATIC_STRBUF(dir);
    dir               632 htags/src2html.c 	strbuf_clear(dir);
    dir               635 htags/src2html.c 		strbuf_nputs(dir, file, p - file);
    dir               638 htags/src2html.c 		strbuf_putc(dir, '.');
    dir               643 htags/src2html.c 	if (strcmp(strbuf_value(dir), prev_dir) != 0) {
    dir               644 htags/src2html.c 		strlimcpy(prev_dir, strbuf_value(dir), sizeof(prev_dir));
    dir               646 htags/src2html.c 		strbuf_puts(dir, "/CVS/Repository");
    dir               647 htags/src2html.c 		ip = fopen(strbuf_value(dir), "r");
    dir               770 htags/src2html.c 			const char *dir, *file, *suffix, *key, *title;
    dir               778 htags/src2html.c 				dir = upperdir(INCREFS);
    dir               794 htags/src2html.c 				dir = NULL;
    dir               800 htags/src2html.c 			fputs(gen_href_begin_with_title(dir, file, suffix, key, title), out);
    dir               333 libutil/find.c static  char dir[MAXPATHLEN+1];			/* directory path */
    dir               351 libutil/find.c getdirs(const char *dir, STRBUF *sb)
    dir               357 libutil/find.c 	if ((dirp = opendir(dir)) == NULL)
    dir               364 libutil/find.c 		if (stat(makepath(dir, dp->d_name, NULL), &st) < 0) {
    dir               399 libutil/find.c 	strlimcpy(dir, start, sizeof(dir));
    dir               400 libutil/find.c 	curp->dirp = dir + strlen(dir);
    dir               402 libutil/find.c 	if (getdirs(dir, curp->sb) < 0)
    dir               500 libutil/find.c 				strlimcpy(path, makepath(dir, unit, NULL), sizeof(path));
    dir               548 libutil/find.c 				if (getdirs(dir, sb) < 0) {
    dir               549 libutil/find.c 					warning("cannot open directory '%s'. (Ignored)", dir);
    dir                56 libutil/makepath.c makepath(const char *dir, const char *file, const char *suffix)
    dir                63 libutil/makepath.c 	if (dir != NULL) {
    dir                64 libutil/makepath.c 		if ((length = strlen(dir)) > MAXPATHLEN)
    dir                65 libutil/makepath.c 			die("path name too long. '%s'\n", dir);
    dir                69 libutil/makepath.c 		if (dir[0] == '\\' || dir[2] == '\\')
    dir                72 libutil/makepath.c 		strbuf_puts(sb, dir);
    dir                59 libutil/usable.c 	const char *dir;
    dir                91 libutil/usable.c 		dir = p;
    dir                94 libutil/usable.c 		if (test("fx", makepath(dir, command, NULL))) {
    dir                95 libutil/usable.c 			strlimcpy(path, makepath(dir, command, NULL), sizeof(path));
    dir               100 libutil/usable.c 			if (test("f", makepath(dir, command, suffix[i]))) {
    dir               101 libutil/usable.c 				strlimcpy(path, makepath(dir, command, suffix[i]), sizeof(path));