| /netbsd-src/external/gpl2/gmake/dist/ |
| H A D | dir.c | 380 struct dirfile struct 390 return_ISTRING_HASH_1 (((struct dirfile const *) key)->name); in dirfile_hash_1() argument 396 return_ISTRING_HASH_2 (((struct dirfile const *) key)->name); in dirfile_hash_2() 402 struct dirfile const *x = ((struct dirfile const *) xv); in dirfile_hash_cmp() 403 struct dirfile const *y = ((struct dirfile const *) yv); in dirfile_hash_cmp() 583 struct dirfile *df; in dir_contents_file_exists_p() 615 struct dirfile dirfile_key; in dir_contents_file_exists_p() 624 df = (struct dirfile *) hash_find_item (&dir->dirfiles, &dirfile_key); in dir_contents_file_exists_p() 675 struct dirfile dirfile_key; in dir_contents_file_exists_p() 676 struct dirfile **dirfile_slot; in dir_contents_file_exists_p() [all …]
|
| H A D | ChangeLog | 2096 (struct dirfile) [next]: Remove member.
|
| /netbsd-src/sbin/restore/ |
| H A D | dirs.c | 114 static char dirfile[MAXPATHLEN] = "#"; /* No file */ variable 154 (void) snprintf(dirfile, sizeof(dirfile), "%s/rstdir%jd", in extractdirs() 157 (void) snprintf(dirfile, sizeof(dirfile), "%s/rstdir%jd-XXXXXX", in extractdirs() 159 if ((dfd = mkstemp(dirfile)) == -1) in extractdirs() 160 err(1, "cannot mkstemp temporary file %s", dirfile); in extractdirs() 164 df = fopen(dirfile, "w"); in extractdirs() 166 err(1, "cannot open temporary file %s", dirfile); in extractdirs() 201 fail_dirtmp(dirfile); in extractdirs() 202 dirp = opendirfile(dirfile); in extractdirs() 420 fail_dirtmp(dirfile); in putent() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/util/ |
| H A D | install-info.c | 479 ensure_dirfile_exists (char *dirfile) in ensure_dirfile_exists() argument 481 int desc = open (dirfile, O_RDONLY); in ensure_dirfile_exists() 487 f = fopen (dirfile, "w"); in ensure_dirfile_exists() 509 pfatal_with_name (dirfile); in ensure_dirfile_exists() 516 dirfile, readerr, strerror (errno)); in ensure_dirfile_exists() 720 output_dirfile (char *dirfile, int dir_nlines, struct line_data *dir_lines, in output_dirfile() argument 729 char *command = concat (compression_program, ">", dirfile); in output_dirfile() 733 output = fopen (dirfile, "w"); in output_dirfile() 737 perror (dirfile); in output_dirfile() 1134 char *infile = 0, *dirfile = 0; in main() local [all …]
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | cmdbuf.c | 1357 name = dirfile(lgetenv("XDG_STATE_HOME"), &LESSHISTFILE[1], must_exist); in histfile_find() 1360 char *dir = dirfile(home, ".local/state", 1); in histfile_find() 1363 name = dirfile(dir, &LESSHISTFILE[1], must_exist); in histfile_find() 1368 name = dirfile(lgetenv("XDG_DATA_HOME"), &LESSHISTFILE[1], must_exist); in histfile_find() 1370 name = dirfile(home, LESSHISTFILE, must_exist); in histfile_find()
|
| H A D | decode.c | 889 filename = dirfile(xdg, &def_filename[1], 1); in add_hometable() 895 char *cfg_dir = dirfile(home, ".config", 0); in add_hometable() 896 filename = dirfile(cfg_dir, &def_filename[1], 1); in add_hometable()
|
| H A D | filename.c | 217 public char * dirfile(char *dirname, char *filename, int must_exist) in dirfile() function 259 pathname = dirfile(lgetenv("HOME"), filename, 1); in homefile() 264 pathname = dirfile(lgetenv("INIT"), filename, 1); in homefile()
|
| H A D | funcs.h | 140 public char * dirfile(char *dirname, char *filename, int must_exist);
|
| /netbsd-src/external/mit/xorg/lib/libXfont/ |
| H A D | Makefile | 28 dirfile.c fileio.c filewr.c fontdir.c fontencc.c fontfile.c \
|
| /netbsd-src/external/gpl2/texinfo/dist/ |
| H A D | ChangeLog.46 | 7146 (main): Call it before trying to open dirfile for reading.
|