path              219 global/global.c 	char path[MAXPATHLEN], s_fid[MAXFIDLEN];
path              225 global/global.c 	if (normalize(file, get_root_with_slash(), cwd, path, sizeof(path)) == NULL)
path              232 global/global.c 	if ((p = gpath_path2fid(path, NULL)) == NULL)
path              972 global/global.c 	const char *path;
path              989 global/global.c 	while ((path = gfind_read(gp)) != NULL) {
path              990 global/global.c 		path++;					/* skip '.'*/
path              992 global/global.c 			dbop_put(dbop, path + 1, "");
path              994 global/global.c 			const char *p = path;
path             1001 global/global.c 			const char *p = locatestring(path, prefix, flags);
path             1008 global/global.c 	for (path = dbop_first(dbop, NULL, NULL, DBOP_KEY); path != NULL; path = dbop_next(dbop)) {
path             1009 global/global.c 		fputs(path, stdout);
path             1076 global/global.c 	char path[MAXPATHLEN];
path             1109 global/global.c 	strcpy(path, "./");
path             1111 global/global.c 		q = path + 2;
path             1123 global/global.c 			if (!locatestring(path, localprefix, MATCH_AT_FIRST))
path             1129 global/global.c 			convert_put_path(cv, path);
path             1146 global/global.c 			convert_put_using(cv, encoded_pattern, path, linenum, p, NULL);
path             1173 global/global.c 	const char *path;
path             1229 global/global.c 	while ((path = args_read()) != NULL) {
path             1233 global/global.c 			if (normalize(path, get_root_with_slash(), cwd, buf, sizeof(buf)) == NULL) {
path             1234 global/global.c 				warning("'%s' is out of the source project.", path);
path             1238 global/global.c 				warning("'%s' is a directory. Ignored.", path);
path             1242 global/global.c 				warning("'%s' not found. Ignored.", path);
path             1245 global/global.c 			path = buf;
path             1247 global/global.c 		if (lflag && !locatestring(path, localprefix, MATCH_AT_FIRST))
path             1250 global/global.c 			literal_search(cv, path);
path             1252 global/global.c 			if (!(fp = fopen(path, "r")))
path             1253 global/global.c 				die("cannot open file '%s'.", path);
path             1261 global/global.c 						convert_put_path(cv, path);
path             1264 global/global.c 						convert_put_using(cv, encoded_pattern, path, linenum, buffer,
path             1293 global/global.c 	const char *path, *p;
path             1329 global/global.c 	while ((path = gfind_read(gp)) != NULL) {
path             1333 global/global.c 		p = path + strlen(localprefix) - 1;
path             1342 global/global.c 			convert_put_path(cv, path);
path             1344 global/global.c 			convert_put_using(cv, "path", path, 1, " ", gp->dbop->lastdat);
path             1389 global/global.c put_syms(int type, const char *tag, int lno, const char *path, const char *line_image, void *arg)
path             1435 global/global.c 	convert_put_using(data->cv, tag, path, lno, line_image, data->fid);
path             1446 global/global.c 	char path[MAXPATHLEN];
path             1499 global/global.c 		if (normalize(av, get_root_with_slash(), cwd, path, sizeof(path)) == NULL) {
path             1504 global/global.c 		if (!test("f", makepath(root, path, NULL))) {
path             1519 global/global.c 			const char *p = gpath_path2fid(path, &type);
path             1529 global/global.c 		if (lflag && !locatestring(path, localprefix, MATCH_AT_FIRST))
path             1532 global/global.c 		parse_file(path, flags, put_syms, &data);
path             1612 global/global.c 		if (lflag && !locatestring(gtp->path, localprefix, MATCH_AT_FIRST))
path             1615 global/global.c 			convert_put_path(cv, gtp->path);
path             1639 global/global.c 				if (strcmp(gtp->path, curpath) != 0) {
path             1643 global/global.c 					strlimcpy(curpath, gtp->path, sizeof(curpath));
path             1705 global/global.c 					convert_put_using(cv, tagname, gtp->path, n, src, fid);
path             1735 global/global.c 					convert_put_using(cv, tagname, gtp->path, n, src, fid);
path             1771 global/global.c 			convert_put_using(cv, tagname, gtp->path, gtp->lineno, image, fid);
path              361 gozilla/gozilla.c 	const char *path = makepath(htmldir, "MAP", NULL);
path              363 gozilla/gozilla.c 	if (!test("f", path))
path              364 gozilla/gozilla.c 		die("'%s' not found. Please invoke htags(1) with the --map-file option.", path);
path              365 gozilla/gozilla.c 	fp = fopen(path, "r");
path              367 gozilla/gozilla.c 		die("cannot open '%s'.", path);
path              445 gozilla/gozilla.c convertpath(const char *dbpath, const char *htmldir, const char *path, STRBUF *sb)
path              461 gozilla/gozilla.c 		p = gpath_path2fid(path, NULL);
path              483 gozilla/gozilla.c 	for (p = path + 1; *p; p++)
path              516 gozilla/gozilla.c makefileurl(const char *path, int line, STRBUF *url)
path              523 gozilla/gozilla.c 	if (isalpha(*path) && *(path+1) == ':') {
path              524 gozilla/gozilla.c 		strbuf_putc(url, *path);
path              526 gozilla/gozilla.c 		path += 2;
path              529 gozilla/gozilla.c 	strbuf_puts(url, path);
path              563 gozilla/gozilla.c 	char *path;
path              571 gozilla/gozilla.c 	if (!(path = usable(browser))) {
path              575 gozilla/gozilla.c 		if (!(path = usable("start")))
path              576 gozilla/gozilla.c 			path = "cmd /c start \"\"";
path              577 gozilla/gozilla.c 		snprintf(com, sizeof(com), "%s %s \"%s\"", path, browser, url);
path              579 gozilla/gozilla.c 		snprintf(com, sizeof(com), "%s \"%s\"", path, url);
path               42 gtags-cscope/basename.c mybasename(char *path)
path               46 gtags-cscope/basename.c 	if ((s = strrchr(path, '/')) != 0) {
path               49 gtags-cscope/basename.c 	return(path);
path              717 gtags-cscope/display.c pathcomponents(char *path, int components)
path              722 gtags-cscope/display.c 	s = path + strlen(path) - 1;
path              724 gtags-cscope/display.c 		while (s > path && *--s != '/') {
path              728 gtags-cscope/display.c 	if (s > path && *s == '/') {
path              138 gtags-cscope/edit.c 	static	char	path[PATHLEN + 1];
path              141 gtags-cscope/edit.c 		(void) snprintf(path, sizeof(path), "%s/%s", prependpath, file);
path              142 gtags-cscope/edit.c 		file = path;
path              284 gtags-cscope/global-cscope.h char	*pathcomponents(char *path, int components);
path              287 gtags-cscope/global-cscope.h void	addsrcfile(char *path);
path               68 gtags-cscope/gtags-cscope.c #define mkdir(path,mode) mkdir(path)
path               43 gtags-cscope/library.h char	*mybasename(char *path);
path               44 gtags-cscope/library.h FILE	*myfopen(char *path, char *mode);
path               46 gtags-cscope/library.h int	myopen(char *path, int flag, int mode);
path               68 gtags-cscope/mypopen.c myopen(char *path, int flag, int mode)
path               81 gtags-cscope/mypopen.c 	fd = open(path, flag, mode);
path               83 gtags-cscope/mypopen.c 	fd = open(path, flag);
path              110 gtags-cscope/mypopen.c myfopen(char *path, char *mode)
path              115 gtags-cscope/mypopen.c     fp = fopen(path, mode);
path              261 gtags/gtags.c  		char path[MAXPATHLEN];
path              263 gtags/gtags.c  		if (realpath(gtagsconf, path) == NULL)
path              265 gtags/gtags.c  		set_env("GTAGSCONF", path);
path              544 gtags/gtags.c  	const char *path;
path              555 gtags/gtags.c  	path = makepath(dbpath, dbname(GTAGS), NULL);
path              556 gtags/gtags.c  	if (stat(path, &statp) < 0)
path              557 gtags/gtags.c  		die("stat failed '%s'.", path);
path              606 gtags/gtags.c  		while ((path = find_read()) != NULL) {
path              612 gtags/gtags.c  			if (*path == ' ') {
path              613 gtags/gtags.c  				if (test("b", ++path))
path              617 gtags/gtags.c  			if (stat(path, &statp) < 0)
path              618 gtags/gtags.c  				die("stat failed '%s'.", path);
path              619 gtags/gtags.c  			fid = gpath_path2fid(path, NULL);
path              626 gtags/gtags.c  					strbuf_puts0(addlist_other, path);
path              629 gtags/gtags.c  					strbuf_puts0(addlist, path);
path              632 gtags/gtags.c  					strbuf_puts0(addlist, path);
path              652 gtags/gtags.c  			if ((path = gpath_fid2path(fid, &type)) == NULL)
path              659 gtags/gtags.c  				if (!idset_contains(findset, id) || !test("f", path) || test("b", path))
path              660 gtags/gtags.c  					strbuf_puts0(deletelist, path);
path              662 gtags/gtags.c  				if (!idset_contains(findset, id) || !test("f", path)) {
path              663 gtags/gtags.c  					strbuf_puts0(deletelist, path);
path              739 gtags/gtags.c  put_syms(int type, const char *tag, int lno, const char *path, const char *line_image, void *arg)
path              771 gtags/gtags.c  	const char *path, *start, *end;
path              800 gtags/gtags.c  				path = gpath_fid2path(fid, NULL);
path              801 gtags/gtags.c  				if (path == NULL)
path              803 gtags/gtags.c  				fprintf(stderr, " [%d/%d] deleting tags of %s\n", seqno++, total, path + 2);
path              830 gtags/gtags.c  	for (path = start; path < end; path += strlen(path) + 1) {
path              831 gtags/gtags.c  		gpath_put(path, GPATH_SOURCE);
path              832 gtags/gtags.c  		data.fid = gpath_path2fid(path, NULL);
path              834 gtags/gtags.c  			die("GPATH is corrupted.('%s' not found)", path);
path              836 gtags/gtags.c  			fprintf(stderr, " [%d/%d] extracting tags of %s\n", ++seqno, total, path + 2);
path              837 gtags/gtags.c  		parse_file(path, flags, put_syms, &data);
path              860 gtags/gtags.c  	const char *path;
path              887 gtags/gtags.c  	while ((path = find_read()) != NULL) {
path              888 gtags/gtags.c  		if (*path == ' ') {
path              889 gtags/gtags.c  			path++;
path              890 gtags/gtags.c  			if (!test("b", path))
path              891 gtags/gtags.c  				gpath_put(path, GPATH_OTHER);
path              894 gtags/gtags.c  		gpath_put(path, GPATH_SOURCE);
path              895 gtags/gtags.c  		data.fid = gpath_path2fid(path, NULL);
path              897 gtags/gtags.c  			die("GPATH is corrupted.('%s' not found)", path);
path              900 gtags/gtags.c  			fprintf(stderr, " [%d] extracting tags of %s\n", seqno, path + 2);
path              901 gtags/gtags.c  		parse_file(path, flags, put_syms, &data);
path               59 htags-refkit/htags_path2url.c 	const char *path;
path              168 htags-refkit/htags_path2url.c 		m[i].path = p;
path              266 htags-refkit/htags_path2url.c htags_path2url(const char *path, int line, char *url, int size)
path              273 htags-refkit/htags_path2url.c 	tmp.name = path;
path              278 htags-refkit/htags_path2url.c 		snprintf(url, size, "%s#L%d", result->path, line);
path              280 htags-refkit/htags_path2url.c 		snprintf(url, size, "%s", result->path);
path              301 htags-refkit/htags_path2url.c 	char *path, *html;
path              310 htags-refkit/htags_path2url.c 	path = argv[2];
path              327 htags-refkit/htags_path2url.c 	ret = htags_path2url(path, line, url, sizeof(url));
path              337 htags-refkit/htags_path2url.c 	fprintf(stdout, "%s, line %d => %s\n", path, line, url);
path              109 htags/anchor.c anchor_load(const char *path)
path              115 htags/anchor.c 		const char *p = path2fid(path);
path              117 htags/anchor.c 			die("anchor_load: internal error. file '%s' not found in GPATH.", path);
path              954 htags/asm.c    			char path[MAXPATHLEN], *p = path;
path              971 htags/asm.c    				const char *basename = locatestring(path, "/", MATCH_LAST);
path              976 htags/asm.c    					basename = path;
path              979 htags/asm.c    					put_include_anchor(inc, path);
path              981 htags/asm.c    					echos(path);
path              984 htags/asm.c    				echos(path);
path              999 htags/c.c      			char path[MAXPATHLEN], *p = path;
path             1016 htags/c.c      				const char *basename = locatestring(path, "/", MATCH_LAST);
path             1021 htags/c.c      					basename = path;
path             1024 htags/c.c      					put_include_anchor(inc, path);
path             1026 htags/c.c      					echos(path);
path             1029 htags/c.c      				echos(path);
path               93 htags/cflowindex.c 		char *anchor, *name, *path, *lineno;
path               96 htags/cflowindex.c 		anchor = name = path = lineno = anchor_end = name_end = path_end = lineno_end = NULL;
path              145 htags/cflowindex.c 			path = p;
path              174 htags/cflowindex.c 		if (path) {
path              180 htags/cflowindex.c 			if (test("f", path) && (fid = path2fid_readonly(path)) != NULL)
path              183 htags/cflowindex.c 				path = lineno = NULL;		/* not to print </a> */
path              194 htags/cflowindex.c 		if (path || lineno)
path              189 htags/common.c save_current_path(const char *path)
path              193 htags/common.c 	strlimcpy(current_path, path, sizeof(current_path));
path              195 htags/common.c 	strlimcpy(current_dir, path, sizeof(current_path));
path              206 htags/common.c 	strlimcpy(current_file, path, sizeof(current_file));
path              618 htags/common.c 	char path[MAXPATHLEN];
path              627 htags/common.c 	strlimcpy(path, decode_path(ptable.part[PART_PATH].start + 2), sizeof(path));
path              629 htags/common.c 		fid = path2fid(path);
path              638 htags/common.c 				ptable.part[PART_LNO].start, path);
path              646 htags/common.c 				ptable.part[PART_LNO].start, path);
path              680 htags/common.c 		strbuf_puts(sb, path);
path              954 htags/cpp.c    			char path[MAXPATHLEN], *p = path;
path              971 htags/cpp.c    				const char *basename = locatestring(path, "/", MATCH_LAST);
path              976 htags/cpp.c    					basename = path;
path              979 htags/cpp.c    					put_include_anchor(inc, path);
path              981 htags/cpp.c    					echos(path);
path              984 htags/cpp.c    				echos(path);
path              223 htags/defineindex.c 			const char *path = gpath_fid2path(fid, NULL);
path              225 htags/defineindex.c 			path += 2;		/* remove './' */
path              231 htags/defineindex.c 			snprintf(guide, sizeof(guide), "Defined at %s in %s.", lno, path);
path              155 htags/dupindex.c 						char path[MAXPATHLEN];
path              157 htags/dupindex.c 						snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, dirs[db], count, HTML);
path              158 htags/dupindex.c 						fileop = open_output_file(path, cflag);
path              185 htags/fileindex.c lastpart(const char *path)
path              187 htags/fileindex.c 	const char *p = strrchr(path, '/');
path              189 htags/fileindex.c 	return p ? p + 1 : path;
path              204 htags/fileindex.c dirpart(const char *path, char *result)
path              207 htags/fileindex.c 	const char *q = path, *limit = strrchr(path, '/');
path              229 htags/fileindex.c localpath(const char *path, char *dir)
path              233 htags/fileindex.c 	if (!strncmp(path, dir, length) && *(path + length) == '/')
path              234 htags/fileindex.c 		return path + length + 1;
path              251 htags/fileindex.c appendslash(const char *path)
path              256 htags/fileindex.c 	strbuf_puts(sb, path);
path              272 htags/fileindex.c removedotslash(const char *path)
path              274 htags/fileindex.c 	return (*path == '.' && *(path + 1) == '/') ? path + 2 : path;
path              358 htags/fileindex.c 	const char *path;
path              382 htags/fileindex.c 	while ((path = getpath()) != NULL) {
path              383 htags/fileindex.c 		const char *p, *local = localpath(path, basedir);
path              437 htags/fileindex.c 				const char *file_name = print_file_name(level, path);
path              440 htags/fileindex.c 					int size = filesize(path);
path              450 htags/fileindex.c 						gen_href_begin_with_title_target(SRCS, path2fid(path), HTML, NULL, tips, target),
path              451 htags/fileindex.c 						full_path ? removedotslash(path) : lastpart(path),
path              457 htags/fileindex.c 					fprintf(FILEMAP, "%s\t%s/%s.%s\n", removedotslash(path), SRCS, path2fid(path), HTML);
path              500 htags/fileindex.c 		char path[MAXPATHLEN];
path              503 htags/fileindex.c 		strlimcpy(path, dir, sizeof(path));
path              504 htags/fileindex.c 		for (p = path + 1; p != NULL; p = strchr(p, '/')) {
path              514 htags/fileindex.c 				fputs(gen_href_begin(NULL, path2fid(path), HTML, NULL), op);
path              597 htags/fileindex.c print_file_name(int level, const char *path)
path              601 htags/fileindex.c 	int size = filesize(path);
path              604 htags/fileindex.c 	message(" [%d] adding %s", ++src_count, removedotslash(path));
path              613 htags/fileindex.c 	if (regexec(&is_include_file, path, 0, 0, 0) == 0)
path              614 htags/fileindex.c 		put_inc(lastpart(path), path, src_count);
path              625 htags/fileindex.c 			path2fid(path), HTML, NULL, tips, target));
path              629 htags/fileindex.c 		if ((suffix = locatestring(path, ".", MATCH_LAST)) != NULL
path              636 htags/fileindex.c 		strbuf_puts(sb, gen_image(level == 0 ? CURRENT : PARENT, text_icon, removedotslash(path)));
path              639 htags/fileindex.c 	strbuf_puts(sb, full_path ? removedotslash(path) : lastpart(path));
path              658 htags/fileindex.c print_directory_name(int level, const char *path, int count)
path              667 htags/fileindex.c 	path = removedotslash(path);
path              674 htags/fileindex.c 			path2fid(path), HTML, NULL, tips));
path              676 htags/fileindex.c 		strbuf_puts(sb, gen_image(level == 0 ? CURRENT : PARENT, dir_icon, appendslash(path)));
path              679 htags/fileindex.c 	strbuf_sprintf(sb, "%s/%s", lastpart(path), gen_href_end());
path              868 htags/fileindex.c 			char path[MAXPATHLEN];
path              870 htags/fileindex.c 			snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCS, no, HTML);
path              871 htags/fileindex.c 			fileop_INCLUDE = open_output_file(path, cflag);
path              913 htags/fileindex.c 			char path[MAXPATHLEN];
path              915 htags/fileindex.c 			snprintf(path, sizeof(path), "%s/%s/%d.%s", distpath, INCREFS, no, HTML);
path              916 htags/fileindex.c 			fileop_INCLUDE = open_output_file(path, cflag);
path               67 htags/htags.c  #define mkdir(path,mode) mkdir(path)
path              415 htags/htags.c  	char path[MAXPATHLEN];
path              418 htags/htags.c  	strlimcpy(path, makepath(distpath, name, NULL), sizeof(path));
path              419 htags/htags.c  	if (!test("d", path))
path              420 htags/htags.c  		if (mkdir(path, 0775))
path              421 htags/htags.c  			die("cannot make directory '%s'.", path);
path              425 htags/htags.c  	op = fopen(makepath(path, "index.html", NULL), "w");
path              427 htags/htags.c  		die("cannot make file '%s'.", makepath(path, "index.html", NULL));
path              440 htags/htags.c  	const char *path = makepath(distpath, name, NULL);
path              442 htags/htags.c  	op = fopen(path, "w");
path              450 htags/htags.c  		die("cannot make file '%s'.", path); 
path              920 htags/htags.c  	const char *path;
path              939 htags/htags.c  	while ((path = gfind_read(gp)) != NULL) {
path              942 htags/htags.c  		fputs(path, anchor_stream);
path              954 htags/htags.c  	while ((path = gfind_read(gp)) != NULL) {
path              963 htags/htags.c  		anchor_load(path);
path              967 htags/htags.c  		save_current_path(path);
path              969 htags/htags.c  		path += 2;		/* remove './' at the head */
path              970 htags/htags.c  		message(" [%d/%d] converting %s", count, total, path);
path              971 htags/htags.c  		snprintf(html, sizeof(html), "%s/%s/%s.%s", distpath, SRCS, path2fid(path), HTML);
path              972 htags/htags.c  		src2html(path, html, gp->type == GPATH_OTHER);
path             1877 htags/htags.c  		char path[MAXBUFLEN];
path             1884 htags/htags.c  		snprintf(path, sizeof(path), "%s/gtags/%s", localstatedir, SITEKEYDIRNAME);
path             1885 htags/htags.c  		if (!test("d", path)) {
path             1887 htags/htags.c  			message("htags: directory '%s' not found.", path);
path             1895 htags/htags.c  		snprintf(path, sizeof(path), "%s/gtags/%s/%s", localstatedir, SITEKEYDIRNAME, sitekey);
path             1896 htags/htags.c  		if (test("f", path)) {
path             1897 htags/htags.c  			FILE *ip = fopen(path, "r");
path             1900 htags/htags.c  				die("cannot open file '%s'.", path);
path             1904 htags/htags.c  		if (!test("f", path))
path             1917 htags/htags.c  			FILE *op = fopen(path, "w");
path             1924 htags/htags.c  				if (chmod(path, 0644) < 0)
path             1925 htags/htags.c  					die("cannot chmod file '%s'(errno = %d).", path, errno);
path             1935 htags/htags.c  		const char *path;
path             1939 htags/htags.c  			path = makepath(dbpath, dbname(i), NULL);
path             1940 htags/htags.c  			gtags_exist[i] = test("fr", path);
path             2113 htags/htags.c  		const char *path = makepath(distpath, "compress", NULL);
path             2114 htags/htags.c  		FILE *op = fopen(path, "w");
path             2116 htags/htags.c  			die("cannot make file '%s'.", path);
path             2124 htags/htags.c  		const char *path = makepath(distpath, "GTAGSROOT", NULL);
path             2125 htags/htags.c  		FILE *op = fopen(path, "w");
path             2127 htags/htags.c  			die("cannot make file '%s'.", path);
path             2271 htags/htags.c  			char path[MAXBUFLEN];
path             2272 htags/htags.c  			snprintf(path, sizeof(path), "%s/gtags/%s/%s", localstatedir, SITEKEYDIRNAME, sitekey);
path             2275 htags/htags.c  			message("   you don't have the permission to create file '%s'.", path);
path               74 htags/incop.c  put_inc(const char *file, const char *path, int id)
path               95 htags/incop.c  	strbuf_puts0(data->contents, path);
path              144 htags/incop.c  put_included(struct data *data, const char *path)
path              148 htags/incop.c  	strbuf_puts0(data->ref_contents, path);
path               48 htags/path2url.c 	const char *path;
path               56 htags/path2url.c 	for (path = dbop_first(dbop, "./", NULL, DBOP_PREFIX | DBOP_KEY); path; path = dbop_next(dbop)) {
path               59 htags/path2url.c 		path += 2;			/* remove './' */
path               60 htags/path2url.c 		assoc_put(assoc, path, no);
path               84 htags/path2url.c path2fid(const char *path)
path               89 htags/path2url.c 	if (strlen(path) > MAXPATHLEN)
path               90 htags/path2url.c 		die("path name too long. '%s'", path);
path               94 htags/path2url.c 	if (*path == '.' && *(path + 1) == '/')
path               95 htags/path2url.c 		path += 2;
path               96 htags/path2url.c 	p = assoc_get(assoc, path);
path               99 htags/path2url.c 		assoc_put(assoc, path, number);
path              111 htags/path2url.c path2fid_readonly(const char *path)
path              113 htags/path2url.c 	if (strlen(path) > MAXPATHLEN)
path              114 htags/path2url.c 		die("path name too long. '%s'", path);
path              118 htags/path2url.c 	if (*path == '.' && *(path + 1) == '/')
path              119 htags/path2url.c 		path += 2;
path              120 htags/path2url.c 	return assoc_get(assoc, path);
path             1097 htags/php.c    			char path[MAXPATHLEN], *p = path;
path             1119 htags/php.c    				snprintf(tmp, sizeof(tmp), "%s/%s", get_current_dir(), path);
path             1125 htags/php.c    					put_include_anchor_direct(normalized_path, path);
path             1127 htags/php.c    					echos(path);
path             1130 htags/php.c    				echos(path);
path              198 htags/src2html.c fill_anchor(const char *root, const char *path)
path              204 htags/src2html.c 	strlimcpy(buf, path, sizeof(buf));
path              213 htags/src2html.c 		const char *path = buf;
path              223 htags/src2html.c 		strbuf_puts(sb, gen_href_begin("../files", path2fid(path), HTML, NULL));
path              499 htags/src2html.c 			const char *path = gpath_fid2path(fid, NULL);
path              501 htags/src2html.c 			path += 2;              /* remove './' */
path              510 htags/src2html.c 			strbuf_puts(outbuf, gen_href_begin_with_title(upperdir(SRCS), fid, HTML, lno, tooltip(type, atoi(lno), path)));
path              544 htags/src2html.c put_include_anchor(struct data *inc, const char *path)
path              553 htags/src2html.c 	strbuf_puts(outbuf, path);
path              563 htags/src2html.c put_include_anchor_direct(const char *file, const char *path)
path              566 htags/src2html.c 	strbuf_puts(outbuf, path);
path              409 libdb/bt_open.c 	char path[1024];
path              416 libdb/bt_open.c 	if (envtmp && strlen(envtmp) + strlen("/bt.XXXXXX") >= sizeof(path))
path              418 libdb/bt_open.c 	(void)snprintf(path, sizeof(path),
path              425 libdb/bt_open.c 	if ((fd = mkstemp(path)) != -1)
path              426 libdb/bt_open.c 		(void)unlink(path);
path               77 libltdl/libltdl/lt__dirent.h LT_SCOPE DIR *		opendir		(const char *path);
path               50 libltdl/lt__dirent.c opendir (const char *path)
path               55 libltdl/lt__dirent.c   assert (path != (char *) 0);
path               56 libltdl/lt__dirent.c   if (lt_strlcpy (file_spec, path, sizeof file_spec) >= sizeof file_spec
path              117 libltdl/ltdl.c static	int     canonicalize_path     (const char *path, char **pcanonical);
path              118 libltdl/ltdl.c static	int	argzize_path	      (const char *path,
path              580 libltdl/ltdl.c canonicalize_path (const char *path, char **pcanonical)
path              584 libltdl/ltdl.c   assert (path && *path);
path              587 libltdl/ltdl.c   canonical = MALLOC (char, 1+ LT_STRLEN (path));
path              594 libltdl/ltdl.c     for (src = 0; path[src] != LT_EOS_CHAR; ++src)
path              599 libltdl/ltdl.c 	if (path[src] == LT_PATHSEP_CHAR)
path              602 libltdl/ltdl.c 		|| (path[1+ src] == LT_PATHSEP_CHAR)
path              603 libltdl/ltdl.c 		|| (path[1+ src] == LT_EOS_CHAR))
path              608 libltdl/ltdl.c 	if ((path[src] != '/')
path              610 libltdl/ltdl.c 	    && (path[src] != LT_DIRSEP_CHAR)
path              614 libltdl/ltdl.c 	    canonical[dest++] = path[src];
path              619 libltdl/ltdl.c 	else if ((path[1+ src] != LT_PATHSEP_CHAR)
path              620 libltdl/ltdl.c 		 && (path[1+ src] != LT_EOS_CHAR)
path              622 libltdl/ltdl.c 		 && (path[1+ src] != LT_DIRSEP_CHAR)
path              624 libltdl/ltdl.c 		 && (path[1+ src] != '/'))
path              641 libltdl/ltdl.c argzize_path (const char *path, char **pargz, size_t *pargz_len)
path              645 libltdl/ltdl.c   assert (path);
path              649 libltdl/ltdl.c   if ((error = argz_create_sep (path, LT_PATHSEP_CHAR, pargz, pargz_len)))
path              339 libparser/parser.c parse_file(const char *path, int flags, PARSER_CALLBACK put, void *arg)
path              346 libparser/parser.c 	suffix = locatestring(path, ".", MATCH_LAST);
path              358 libparser/parser.c 		fprintf(stderr, "File '%s' is handled as follows:\n", path);
path              369 libparser/parser.c 	param.file = path;
path              188 libutil/abs2rel.c normalize(const char *path, const char *root, const char *cwd, char *result, const int size)
path              192 libutil/abs2rel.c 	if (normalize_pathname(path, result, size) == NULL)
path              194 libutil/abs2rel.c 	if (isabspath(path)) {
path              249 libutil/abs2rel.c normalize_pathname(const char *path, char *result, const int size)
path              251 libutil/abs2rel.c 	const char *savep, *p = path;
path              335 libutil/abs2rel.c abs2rel(const char *path, const char *base, char *result, const int size)
path              344 libutil/abs2rel.c 	if (!isabspath(path)) {
path              345 libutil/abs2rel.c 		if (strlen(path) >= size)
path              347 libutil/abs2rel.c 		strcpy(result, path);
path              357 libutil/abs2rel.c 	branch = path;
path              358 libutil/abs2rel.c 	for (pp = path, bp = base; *pp && *bp && *pp == *bp; pp++, bp++)
path              378 libutil/abs2rel.c 	for (bp = base + (branch - path); *bp; bp++)
path              416 libutil/abs2rel.c rel2abs(const char *path, const char *base, char *result, const int size)
path              426 libutil/abs2rel.c 	if (isabspath(path)) {
path              427 libutil/abs2rel.c 		if (strlen(path) >= size)
path              429 libutil/abs2rel.c 		strcpy(result, path);
path              439 libutil/abs2rel.c 	if (!strcmp(path, ".") || !strcmp(path, "./")) {
path              456 libutil/abs2rel.c 		if (*++path == '/') {
path              473 libutil/abs2rel.c 	for (pp = path; *pp && *pp == '.'; ) {
path              113 libutil/dbop.c 	char* path;
path              124 libutil/dbop.c 	path = strrchr(_pgmptr, '\\');
path              125 libutil/dbop.c 	sprintf(sort, "%.*s\\sort.exe", path - _pgmptr, _pgmptr);
path              255 libutil/dbop.c dbop_open(const char *path, int mode, int perm, int flags)
path              296 libutil/dbop.c 	if (path != NULL && mode == 1 && test("f", path))
path              297 libutil/dbop.c 		(void)unlink(path);
path              298 libutil/dbop.c 	db = dbopen(path, rw, 0600, DB_BTREE, &info);
path              302 libutil/dbop.c 	if (path == NULL)
path              305 libutil/dbop.c 		strlimcpy(dbop->dbname, path, sizeof(dbop->dbname));
path              434 libutil/dbop.c dbop_delete(DBOP *dbop, const char *path)
path              440 libutil/dbop.c 	if (path) {
path              441 libutil/dbop.c 		key.data = (char *)path;
path              442 libutil/dbop.c 		key.size = strlen(path)+1;
path               69 libutil/fileop.c open_input_file(const char *path)
path               71 libutil/fileop.c 	FILE *fp = fopen(path, "r");
path               75 libutil/fileop.c 		die("cannot open file '%s'.", path);
path               78 libutil/fileop.c 	strlimcpy(fileop->path, path, sizeof(fileop->path));
path               92 libutil/fileop.c open_output_file(const char *path, int compress)
path               99 libutil/fileop.c 		snprintf(command, sizeof(command), "gzip -c >\"%s\"", path);
path              104 libutil/fileop.c 		fp = fopen(path, "w");
path              106 libutil/fileop.c 			die("cannot create file '%s'.", path);
path              109 libutil/fileop.c 	strlimcpy(fileop->path, path, sizeof(fileop->path));
path               38 libutil/fileop.h 	char path[MAXPATHLEN];
path              316 libutil/find.c issourcefile(const char *path)
path              323 libutil/find.c 	if (regexec(suff, path, 0, 0, 0) == 0)
path              339 libutil/find.c skipthisfile(const char *path)
path              352 libutil/find.c 	if (regexec(skip, path, 0, 0, 0) == 0)
path              366 libutil/find.c 			if (!STRNCMP(path + 1, first, last - first)) {
path              370 libutil/find.c 			if (!STRCMP(path + 1, first)) {
path              586 libutil/find.c 	static char *path;
path              590 libutil/find.c 		path = NULL;
path              592 libutil/find.c 		path = find_read_filelist();
path              594 libutil/find.c 		path = find_read_traverse();
path              597 libutil/find.c 	return path;
path              608 libutil/find.c 	char path[MAXPATHLEN];
path              622 libutil/find.c 			strlimcpy(path, makepath(dir, unit, NULL), sizeof(path));
path              624 libutil/find.c 				strcat(path, "/");
path              625 libutil/find.c 			if (skipthisfile(path))
path              634 libutil/find.c 				if (!test("f", path)) {
path              635 libutil/find.c 					if (test("d", path))
path              636 libutil/find.c 						warning("'%s' is a directory. ignored.", trimpath(path));
path              638 libutil/find.c 						warning("'%s' not found. ignored.", trimpath(path));
path              645 libutil/find.c 				if (!allow_blank && locatestring(path, " ", MATCH_FIRST)) {
path              646 libutil/find.c 					warning("'%s' ignored, because it includes blank.", trimpath(path));
path              653 libutil/find.c 				if (issourcefile(path)) {
path              654 libutil/find.c 					strlimcpy(val, path, sizeof(val));
path              658 libutil/find.c 					strlimcpy(&val[1], path, sizeof(val) - 1);
path              709 libutil/find.c 	static char *path;
path              713 libutil/find.c 		path = strbuf_fgets(ib, ip, STRBUF_NOCRLF);
path              714 libutil/find.c 		if (path == NULL) {
path              719 libutil/find.c 		if (*path == '\0') {
path              726 libutil/find.c 		if (*path == '.' && *(path + 1) == ' ')
path              734 libutil/find.c 		if (!test("f", path)) {
path              735 libutil/find.c 			if (test("d", path))
path              736 libutil/find.c 				warning("'%s' is a directory. ignored.", trimpath(path));
path              738 libutil/find.c 				warning("'%s' not found. ignored.", trimpath(path));
path              747 libutil/find.c 		if (normalize(path, rootdir, cwddir, buf, sizeof(buf)) == NULL) {
path              748 libutil/find.c 			warning("'%s' is out of source tree. ignored.", trimpath(path));
path              751 libutil/find.c 		path = buf;
path              756 libutil/find.c 		if (!allow_blank && locatestring(path, " ", MATCH_LAST)) {
path              757 libutil/find.c 			warning("'%s' ignored, because it includes blank.", trimpath(path));
path              760 libutil/find.c 		if (skipthisfile(path))
path              766 libutil/find.c 		if (!issourcefile(path))
path              767 libutil/find.c 			*--path = ' ';
path              768 libutil/find.c 		return path;
path               93 libutil/getdbpath.c 	static char path[MAXPATHLEN];
path              100 libutil/getdbpath.c 	snprintf(path, sizeof(path), "%s/%s", candidate, makeobjdir);
path              101 libutil/getdbpath.c 	if (test("d", path)) {
path              102 libutil/getdbpath.c 		if (!test("drw", path))
path              103 libutil/getdbpath.c 			die("Found objdir '%s', but you don't have read/write permission for it.", path);
path              105 libutil/getdbpath.c 			fprintf(stderr, "Using objdir '%s'.\n", path);
path              106 libutil/getdbpath.c 		return path;
path              110 libutil/getdbpath.c 		snprintf(path, sizeof(path), "%s%s", makeobjdirprefix, candidate);
path              111 libutil/getdbpath.c 		if (test("d", path)) {
path              112 libutil/getdbpath.c 			if (!test("drw", path))
path              113 libutil/getdbpath.c 				die("Found objdir '%s', but you don't have read/write permission for it.", path);
path              115 libutil/getdbpath.c 				fprintf(stderr, "Using objdir '%s'.\n", path);
path              116 libutil/getdbpath.c 			return path;
path              119 libutil/getdbpath.c 			die("Found the base for objdir '%s', but you cannot create new directory in it.", path);
path              121 libutil/getdbpath.c 			fprintf(stderr, "Using objdir '%s'.\n", path);
path              122 libutil/getdbpath.c 		return path;
path              143 libutil/getdbpath.c 	char path[MAXPATHLEN];
path              156 libutil/getdbpath.c 	snprintf(path, sizeof(path), "%s/%s", candidate_without_slash, dbname(GTAGS));
path              158 libutil/getdbpath.c 		fprintf(stderr, "checking %s\n", path);
path              159 libutil/getdbpath.c 	if (test("fr", path)) {
path              161 libutil/getdbpath.c 			fprintf(stderr, "GTAGS found at '%s'.\n", path);
path              165 libutil/getdbpath.c 	snprintf(path, sizeof(path),
path              168 libutil/getdbpath.c 		fprintf(stderr, "checking %s\n", path);
path              169 libutil/getdbpath.c 	if (test("fr", path)) {
path              171 libutil/getdbpath.c 			fprintf(stderr, "GTAGS found at '%s'.\n", path);
path              176 libutil/getdbpath.c 	snprintf(path, sizeof(path),
path              179 libutil/getdbpath.c 		fprintf(stderr, "checking %s\n", path);
path              180 libutil/getdbpath.c 	if (test("fr", path)) {
path              182 libutil/getdbpath.c 			fprintf(stderr, "GTAGS found at '%s'.\n", path);
path              288 libutil/getdbpath.c 			const char *s, *path;
path              290 libutil/getdbpath.c 			path = makepath(root, "GTAGSROOT", NULL);
path              291 libutil/getdbpath.c 			if (!test("fr", path)) {
path              294 libutil/getdbpath.c 			fp = fopen(path, "r");
path              297 libutil/getdbpath.c 					fprintf(stderr, "'%s' ignored because it cannot be opened.\n", path);
path              304 libutil/getdbpath.c 					fprintf(stderr, "'%s' ignored because it doesn't include existent directory name.\n", path);
path              309 libutil/getdbpath.c 					fprintf(stderr, "GTAGSROOT found at '%s'.\n", path);
path              129 libutil/gpathop.c 		const char *path = dbop_get(dbop, NEXTKEY);
path              131 libutil/gpathop.c 		if (path == NULL)
path              133 libutil/gpathop.c 		_nextkey = atoi(path);
path              152 libutil/gpathop.c gpath_put(const char *path, int type)
path              160 libutil/gpathop.c 	if (dbop_get(dbop, path) != NULL)
path              173 libutil/gpathop.c 	dbop_put_withlen(dbop, path, strbuf_value(sb), strbuf_getlen(sb));
path              178 libutil/gpathop.c 	strbuf_puts0(sb, path);
path              193 libutil/gpathop.c gpath_path2fid(const char *path, int *type)
path              195 libutil/gpathop.c 	const char *fid = dbop_get(dbop, path);
path              216 libutil/gpathop.c 	const char *path = dbop_get(dbop, fid);
path              218 libutil/gpathop.c 	if (path && type) {
path              222 libutil/gpathop.c 	return path;
path              230 libutil/gpathop.c gpath_delete(const char *path)
path              236 libutil/gpathop.c 	assert(path[0] == '.' && path[1] == '/');
path              237 libutil/gpathop.c 	fid = dbop_get(dbop, path);
path              241 libutil/gpathop.c 	dbop_delete(dbop, path);
path              308 libutil/gpathop.c 	gfind->path = NULL;
path              338 libutil/gpathop.c 			gfind->path = dbop_first(gfind->dbop, gfind->prefix, NULL, DBOP_KEY | DBOP_PREFIX);
path              340 libutil/gpathop.c 			gfind->path = dbop_next(gfind->dbop);
path              342 libutil/gpathop.c 		if (gfind->path == NULL) {
path              355 libutil/gpathop.c 	return gfind->path;
path               50 libutil/gpathop.h 	const char *path;	/**< return value of gfind_read() */
path               94 libutil/gtagsop.c 	if ((ret = strcmp(e1->path, e2->path)) != 0)
path              699 libutil/gtagsop.c 		gtop->gtp.path = gtop->path_array[gtop->path_index++];
path              750 libutil/gtagsop.c 		gtop->gtp.path = gtop->path_array[gtop->path_index++];
path              958 libutil/gtagsop.c 	const char *tagline, *fid, *path, *lineno;
path              989 libutil/gtagsop.c 		path = gpath_fid2path(fid, NULL);
path              990 libutil/gtagsop.c 		if (path == NULL)
path              992 libutil/gtagsop.c 		sh = strhash_assign(gtop->path_hash, path, 1);
path              993 libutil/gtagsop.c 		gtp->path = sh->name;
path               94 libutil/gtagsop.h 	const char *path;
path               64 libutil/linetable.c linetable_open(const char *path)
path               70 libutil/linetable.c 	if (stat(path, &sb) < 0)
path               74 libutil/linetable.c 	if ((ip = fopen(path, "r")) == NULL)
path               75 libutil/path.c canonpath(char *path)
path               88 libutil/path.c 		_truename(path, path);
path               94 libutil/path.c 		if (access(path, F_OK) != 0) {
path               95 libutil/path.c 			base = basename(path);
path               98 libutil/path.c 			_truename(path, path);
path               99 libutil/path.c 			strcat(path, name);
path              105 libutil/path.c 			for (p = path+3, base = p-1; *base; p++) {
path              122 libutil/path.c 	path[0] = tolower(path[0]);
path              123 libutil/path.c 	for (p = path+2; *p; ++p)
path              129 libutil/path.c 	p = path;
path              140 libutil/path.c 	p = path;
path              151 libutil/path.c 	return path;
path              236 libutil/path.c trimpath(const char *path)
path              238 libutil/path.c 	if (*path == '.' && *(path + 1) == '/')
path              239 libutil/path.c 		path += 2;
path              240 libutil/path.c 	return path;
path               87 libutil/pathconvert.c decode_path(const char *path)
path               92 libutil/pathconvert.c 	if (strchr(path, '%') == NULL)
path               93 libutil/pathconvert.c 		return (char *)path;
path               95 libutil/pathconvert.c 	for (p = path; *p; p++) {
path              112 libutil/pathconvert.c convert_pathname(CONVERT *cv, const char *path)
path              123 libutil/pathconvert.c 		strbuf_puts(cv->abspath, path + 1);
path              129 libutil/pathconvert.c 			path = strbuf_value(cv->abspath);
path              143 libutil/pathconvert.c 			path = buf;
path              144 libutil/pathconvert.c 			if (cv->type == PATH_SHORTER && strlen(path) > strbuf_getlen(cv->abspath))
path              145 libutil/pathconvert.c 				path = strbuf_value(cv->abspath);
path              159 libutil/pathconvert.c 		for (p = path; *p; p++) {
path              170 libutil/pathconvert.c 			for (p = path; *p; p++) {
path              179 libutil/pathconvert.c 			path = buf;
path              182 libutil/pathconvert.c 	return (const char *)path;
path              237 libutil/pathconvert.c 	char *tag = NULL, *lineno = NULL, *path, *rest = NULL;
path              281 libutil/pathconvert.c 		path = p;
path              292 libutil/pathconvert.c 	path = decode_path(path);
path              297 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              302 libutil/pathconvert.c 		fid = gpath_path2fid(path, NULL);
path              304 libutil/pathconvert.c 			die("convert_put: unknown file. '%s'", path);
path              318 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              323 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              330 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              337 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              362 libutil/pathconvert.c convert_put_path(CONVERT *cv, const char *path)
path              366 libutil/pathconvert.c 	fputs(convert_pathname(cv, path), cv->op);
path              380 libutil/pathconvert.c convert_put_using(CONVERT *cv, const char *tag, const char *path, int lineno, const char *rest, const char *fid)
path              384 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              389 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              395 libutil/pathconvert.c 			fid = gpath_path2fid(path, NULL);
path              397 libutil/pathconvert.c 				die("convert_put_using: unknown file. '%s'", path);
path              404 libutil/pathconvert.c 			tag, lineno, convert_pathname(cv, path), rest);
path              407 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              414 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path              421 libutil/pathconvert.c 		fputs(convert_pathname(cv, path), cv->op);
path               52 libutil/test.c is_binary(const char *path)
path               58 libutil/test.c 	ip = open(path, O_RDONLY);
path               60 libutil/test.c 		die("cannot open file '%s' in read mode.", path);
path               94 libutil/test.c test(const char *flags, const char *path)
path               99 libutil/test.c 	if (path != NULL)
path              100 libutil/test.c 		if (stat(path, &sb) < 0)
path              105 libutil/test.c 	 		if (!is_binary(path))
path              117 libutil/test.c 			if (access(path, R_OK) < 0)
path              125 libutil/test.c 			if (access(path, W_OK) < 0)
path              131 libutil/test.c 			if (strlen(path) < 5)
path              135 libutil/test.c 			if (!locatestring(path, ".exe", MATCH_AT_LAST|IGNORE_CASE) &&
path              136 libutil/test.c 				!locatestring(path, ".com", MATCH_AT_LAST|IGNORE_CASE) &&
path              137 libutil/test.c 				!locatestring(path, ".bat", MATCH_AT_LAST|IGNORE_CASE))
path              140 libutil/test.c 			if (access(path, X_OK) < 0)
path              158 libutil/test.c filesize(const char *path)
path              162 libutil/test.c 	if (stat(path, &sb) < 0)
path               60 libutil/usable.c 	static char path[MAXPATHLEN];
path               69 libutil/usable.c 			strlimcpy(path, command, sizeof(path));
path               70 libutil/usable.c 			return path;
path               78 libutil/usable.c 		strlimcpy(path, makepath(BINDIR, command, NULL), sizeof(path));
path               79 libutil/usable.c 		return path;
path               84 libutil/usable.c 	*path = 0;
path               95 libutil/usable.c 			strlimcpy(path, makepath(dir, command, NULL), sizeof(path));
path              101 libutil/usable.c 				strlimcpy(path, makepath(dir, command, suffix[i]), sizeof(path));
path              108 libutil/usable.c 	return *path ? path : NULL;
path              153 libutil/xargs.c 	char *path = (p);\
path              154 libutil/xargs.c 	length = strlen(path);\
path              155 libutil/xargs.c 	if (*path == ' ') {\
path              156 libutil/xargs.c 		if (xp->put_gpath && !test("b", ++path))\
path              157 libutil/xargs.c 			gpath_put(path, GPATH_OTHER);\
path              164 libutil/xargs.c 		gpath_put(path, GPATH_SOURCE);\
path              165 libutil/xargs.c 	if (xp->skip_assembly && locatestring(path, ".s", MATCH_AT_LAST|IGNORE_CASE) != NULL) {\
path              167 libutil/xargs.c 			xp->verbose(path + 2, xp->seqno, 1);\
path              170 libutil/xargs.c 			xp->verbose(path + 2, xp->seqno, 0);\
path              173 libutil/xargs.c 		strbuf_puts(comline, path);\
path              232 libutil/xargs.c 				((p = (strbuf_getlen(xp->path) > 0 ?
path              233 libutil/xargs.c 				strbuf_value(xp->path) :
path              234 libutil/xargs.c 				strbuf_fgets(xp->path, xp->ip, STRBUF_NOCRLF))) != NULL))
path              237 libutil/xargs.c 			strbuf_reset(xp->path)
path              341 libutil/xargs.c 	xp->path = strbuf_open(0);
path              482 libutil/xargs.c 		strbuf_close(xp->path);
path               79 libutil/xargs.h 	STRBUF *path;