    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 	if (enable_xhtml) {
    dir               390 htags/common.c const char *
    dir               395 htags/common.c
    dir               398 htags/common.c 		strbuf_sprintf(sb, "<img class='icon' src='%s/%s.%s' alt='[%s]'%s>",
    dir               449 htags/common.c  *	i)	target	target='xxx'
    dir               460 htags/common.c 	 * href='dir/file.suffix#key'
    dir               461 htags/common.c 	 */
    dir               500 htags/common.c /*
    dir               502 htags/common.c  */
    dir               508 htags/common.c /*
    dir               510 htags/common.c  */
    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 		 */
    dir               369 htags/src2html.c 			const char *dir, *file, *suffix = NULL;
    dir               381 htags/src2html.c 				snprintf(tmp, sizeof(tmp), "%s?pattern=%s%stype=%s",
    dir               383 htags/src2html.c 				file = tmp;
    dir               385 htags/src2html.c 				if (type == 'R')
    dir               389 htags/src2html.c 				else	/* 'D', 'M' or 'T' */
    dir               627 htags/src2html.c  */
    dir               632 htags/src2html.c 	STATIC_STRBUF(dir);
    dir               635 htags/src2html.c 	FILE *ip;
    dir               638 htags/src2html.c 	p = locatestring(file, "/", MATCH_LAST);
    dir               643 htags/src2html.c 		strbuf_putc(dir, '.');
    dir               644 htags/src2html.c 		p = file;
    dir               646 htags/src2html.c 	if (basename != NULL)
    dir               647 htags/src2html.c 		*basename = p;
    dir               770 htags/src2html.c 	/*
    dir               778 htags/src2html.c
    dir               794 htags/src2html.c 				char s_count[32];
    dir               800 htags/src2html.c 				suffix = HTML;
    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));