dir               225 htags/common.c upperdir(const char *dir)
dir               230 htags/common.c 	strbuf_sprintf(sb, "../%s", dir);
dir               320 htags/common.c 	const char *dir = NULL;
dir               324 htags/common.c 		dir = "";
dir               327 htags/common.c 		 dir = "../";
dir               330 htags/common.c 		 dir = "$basedir/";	/* decided by the CGI script */
dir               341 htags/common.c 			strbuf_sprintf(sb, "<?xml-stylesheet type='text/css' href='%sstyle.css'?>\n", dir);
dir               367 htags/common.c 		strbuf_sprintf(sb, "<link rel='stylesheet' type='text/css' href='%sstyle.css'%s>\n", dir, empty_element);
dir               433 htags/common.c 	const char *dir = (where == PARENT) ? "../icons" : "icons";
dir               438 htags/common.c 			dir, file, icon_suffix, fix_attr_value(alt), empty_element);
dir               441 htags/common.c 			dir, file, icon_suffix, fix_attr_value(alt), icon_spec, empty_element);
dir               497 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               508 htags/common.c 		if (dir) {
dir               509 htags/common.c 			strbuf_puts(sb, dir);
dir               554 htags/common.c gen_href_begin(const char *dir, const char *file, const char *suffix, const char *key)
dir               556 htags/common.c 	return gen_href_begin_with_title_target(dir, file, suffix, key, NULL, NULL);
dir               565 htags/common.c gen_href_begin_with_title(const char *dir, const char *file, const char *suffix, const char *key, const char *title)
dir               567 htags/common.c 	return gen_href_begin_with_title_target(dir, file, suffix, key, title, NULL);
dir               229 htags/fileindex.c localpath(const char *path, char *dir)
dir               231 htags/fileindex.c 	int length = strlen(dir);
dir               233 htags/fileindex.c 	if (!strncmp(path, dir, length) && *(path + length) == '/')
dir               483 htags/fileindex.c print_directory_header(FILE *op, int level, const char *dir)
dir               491 htags/fileindex.c 	strbuf_puts(sb, removedotslash(dir));
dir               503 htags/fileindex.c 		strlimcpy(path, dir, sizeof(path));
dir               527 htags/fileindex.c 		(void)dirpart(dir, parentdir);
dir               559 htags/fileindex.c print_directory_footer(FILE *op, int level, const char *dir)
dir               567 htags/fileindex.c 	(void)dirpart(dir, parentdir);
dir               458 htags/src2html.c 			const char *dir, *file, *suffix = NULL;
dir               482 htags/src2html.c 				dir = (*action == '/') ? NULL : "..";
dir               485 htags/src2html.c 					dir = upperdir(DEFS);
dir               487 htags/src2html.c 					dir = upperdir(SYMS);
dir               489 htags/src2html.c 					dir = upperdir(REFS);
dir               493 htags/src2html.c 			strbuf_puts(outbuf, gen_href_begin_with_title(dir, file, suffix, NULL, tooltip(type, -1, count)));
dir               771 htags/src2html.c 	STATIC_STRBUF(dir);
dir               776 htags/src2html.c 	strbuf_clear(dir);
dir               779 htags/src2html.c 		strbuf_nputs(dir, file, p - file);
dir               782 htags/src2html.c 		strbuf_putc(dir, '.');
dir               787 htags/src2html.c 	if (strcmp(strbuf_value(dir), prev_dir) != 0) {
dir               788 htags/src2html.c 		strlimcpy(prev_dir, strbuf_value(dir), sizeof(prev_dir));
dir               790 htags/src2html.c 		strbuf_puts(dir, "/CVS/Repository");
dir               791 htags/src2html.c 		ip = fopen(strbuf_value(dir), "r");
dir               916 htags/src2html.c 			const char *dir, *file, *suffix, *key, *title;
dir               924 htags/src2html.c 				dir = upperdir(INCREFS);
dir               940 htags/src2html.c 				dir = NULL;
dir               946 htags/src2html.c 			fputs(gen_href_begin_with_title(dir, file, suffix, key, title), out);
dir               126 libltdl/ltdl.c static	int	find_module	      (lt_dlhandle *handle, const char *dir,
dir               148 libltdl/ltdl.c 				       const char *dir);
dir               535 libltdl/ltdl.c find_module (lt_dlhandle *handle, const char *dir, const char *libdir,
dir               562 libltdl/ltdl.c 	  if (tryall_dlopen_module (handle, dir, objdir,
dir               569 libltdl/ltdl.c 	  if (dir && (tryall_dlopen_module (handle, (const char *) 0,
dir               570 libltdl/ltdl.c 					    dir, dlname, advise) == 0))
dir              1159 libltdl/ltdl.c   char *	dir		= 0;
dir              1229 libltdl/ltdl.c       dir = MALLOC (char, 1+ dirlen);
dir              1230 libltdl/ltdl.c       if (!dir)
dir              1236 libltdl/ltdl.c       strncpy (dir, canonical, dirlen);
dir              1237 libltdl/ltdl.c       dir[dirlen] = LT_EOS_CHAR;
dir              1279 libltdl/ltdl.c   if (!dir)
dir              1345 libltdl/ltdl.c       if (!dir)
dir              1350 libltdl/ltdl.c 	    file = find_file (user_search_path, base_name, &dir);
dir              1356 libltdl/ltdl.c 		file = find_file (search_path, base_name, &dir);
dir              1364 libltdl/ltdl.c 		file = find_file (search_path, base_name, &dir);
dir              1370 libltdl/ltdl.c 	      file = find_file (sys_dlsearch_path, base_name, &dir);
dir              1416 libltdl/ltdl.c 	  if (find_module (&newhandle, dir, libdir, dlname, old_name,
dir              1460 libltdl/ltdl.c       if ((dir || (!find_handle (user_search_path, base_name,
dir              1503 libltdl/ltdl.c   FREE (dir);
dir              2112 libltdl/ltdl.c lt_dlpath_insertdir (char **ppath, char *before, const char *dir)
dir              2120 libltdl/ltdl.c   assert (dir && *dir);
dir              2122 libltdl/ltdl.c   if (canonicalize_path (dir, &canonical) != 0)
dir              2134 libltdl/ltdl.c       assert (dir);		/* Without DIR, don't call this function!  */
dir              2136 libltdl/ltdl.c       *ppath = lt__strdup (dir);
dir              2164 libltdl/ltdl.c   if (lt_argz_insert (&argz, &argz_len, before, dir) != 0)
dir               382 libutil/find.c static char dir[MAXPATHLEN];			/**< directory path */
dir               396 libutil/find.c getrealpath(const char *dir)
dir               400 libutil/find.c 	if (realpath(dir, real) == NULL)
dir               401 libutil/find.c 		die("cannot get real path of '%s'.", trimpath(dir));
dir               411 libutil/find.c has_symlinkloop(const char *dir)
dir               417 libutil/find.c 	if (!strcmp(dir, "./"))
dir               419 libutil/find.c 	if (realpath(dir, real) == NULL)
dir               420 libutil/find.c 		die("cannot get real path of '%s'.", trimpath(dir));
dir               423 libutil/find.c 	fprintf(stderr, "dir = '%s', real path = '%s'\n", dir, real);
dir               461 libutil/find.c getdirs(const char *dir, STRBUF *sb)
dir               467 libutil/find.c 	if (check_looplink && has_symlinkloop(dir)) {
dir               468 libutil/find.c 		warning("symbolic link loop detected. '%s' is ignored.", trimpath(dir));
dir               471 libutil/find.c 	if ((dirp = opendir(dir)) == NULL) {
dir               472 libutil/find.c 		warning("cannot open directory '%s'. ignored.", trimpath(dir));
dir               480 libutil/find.c 		if (stat(makepath(dir, dp->d_name, NULL), &st) < 0) {
dir               520 libutil/find.c                 die("cannot get real path of '%s'.", trimpath(dir));
dir               527 libutil/find.c 	strlimcpy(dir, start, sizeof(dir));
dir               528 libutil/find.c 	curp->dirp = dir + strlen(dir);
dir               530 libutil/find.c 	curp->real = getrealpath(dir);
dir               531 libutil/find.c 	if (getdirs(dir, curp->sb) < 0)
dir               622 libutil/find.c 			strlimcpy(path, makepath(dir, unit, NULL), sizeof(path));
dir               668 libutil/find.c 				if (getdirs(dir, sb) < 0) {
dir               678 libutil/find.c 				curp->real = getrealpath(dir);
dir                70 libutil/makepath.c makepath(const char *dir, const char *file, const char *suffix)
dir                77 libutil/makepath.c 	if (dir != NULL) {
dir                78 libutil/makepath.c 		if ((length = strlen(dir)) > MAXPATHLEN)
dir                79 libutil/makepath.c 			die("path name too long. '%s'\n", dir);
dir                83 libutil/makepath.c 		if (dir[0] == '\\' || dir[2] == '\\')
dir                86 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));