/freebsd/contrib/less/ |
H A D | ifile.c | 14 * It is actually a pointer to an ifile structure, 26 struct ifile { struct 27 struct ifile *h_next; /* Links for command line list */ argument 28 struct ifile *h_prev; argument 34 char h_opened; /* Has this ifile been opened? */ argument 44 #define int_ifile(h) ((struct ifile *)(h)) argument 50 static struct ifile anchor = { &anchor, &anchor, NULL, NULL, NULL, 0, 0, '\0', 54 static void incr_index(struct ifile *p, int incr) in incr_index() 61 * Link an ifile into the ifile lis 178 getoff_ifile(IFILE ifile) getoff_ifile() argument 244 get_filename(IFILE ifile) get_filename() argument 254 get_real_filename(IFILE ifile) get_real_filename() argument 264 get_index(IFILE ifile) get_index() argument 272 store_pos(IFILE ifile,struct scrpos * scrpos) store_pos() argument 281 get_pos(IFILE ifile,struct scrpos * scrpos) get_pos() argument 289 set_open(IFILE ifile) set_open() argument 297 opened(IFILE ifile) opened() argument 302 hold_ifile(IFILE ifile,int incr) hold_ifile() argument 307 held_ifile(IFILE ifile) held_ifile() argument 312 get_filestate(IFILE ifile) get_filestate() argument 317 set_filestate(IFILE ifile,void * filestate) set_filestate() argument 322 set_altpipe(IFILE ifile,void * p) set_altpipe() argument 327 get_altpipe(IFILE ifile) get_altpipe() argument 332 set_altfilename(IFILE ifile,char * altfilename) set_altfilename() argument 340 get_altfilename(IFILE ifile) get_altfilename() argument [all...] |
H A D | edit.c | 326 public void close_altpipe(IFILE ifile) in close_altpipe() 328 FILE *altpipe = get_altpipe(ifile); in close_altpipe() 332 set_altpipe(ifile, NULL); 405 static int edit_error(constant char *filename, constant char *alt_filename, void *altpipe, IFILE ifile) in edit_error() 413 del_ifile(ifile); in edit_error() 417 if (curr_ifile == ifile) in edit_error() 420 * Whoops. The "current" ifile is the one we just deleted. in edit_error() 430 * ifile == NULL means just close the current file. 432 public int edit_ifile(IFILE ifile) in edit_ifile() 446 if (ifile in edit_ifile() 323 close_altpipe(IFILE ifile) close_altpipe() argument 402 edit_error(char * filename,char * alt_filename,void * altpipe,IFILE ifile,IFILE was_curr_ifile) edit_error() argument 431 edit_ifile(IFILE ifile) edit_ifile() argument [all...] |
H A D | funcs.h | 134 public void close_altpipe(IFILE ifile); 137 public int edit_ifile(IFILE ifile); 187 public IFILE getoff_ifile(IFILE ifile); 190 public constant char * get_filename(IFILE ifile); 191 public constant char * get_real_filename(IFILE ifile); 192 public int get_index(IFILE ifile); 193 public void store_pos(IFILE ifile, struct scrpos *scrpos); 194 public void get_pos(IFILE ifile, struct scrpos *scrpos); 195 public void set_open(IFILE ifile); 196 public int opened(IFILE ifile); [all...] |
H A D | mark.c | 20 * A mark is an ifile (input file) plus a position within the file. 27 * because we don't want to create an ifile until the 52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument 54 m->m_ifile = ifile; in cmark() 86 static void mark_set_ifile(struct mark *m, IFILE ifile) in mark_set_ifile() argument 88 m->m_ifile = ifile; in mark_set_ifile() 330 * Clear the marks associated with a specified ifile. 332 public void unmark(IFILE ifile) in unmark() argument 337 if (marks[i].m_ifile == ifile) in unmark() 342 * Check if any marks refer to a specified ifile v 345 mark_check_ifile(IFILE ifile) mark_check_ifile() argument [all...] |
H A D | main.c | 243 IFILE ifile; in main() 356 * to "register" them with the ifile system. in skipsp() 358 ifile = NULL_IFILE; in skipsp() 360 ifile = get_ifile(FAKE_HELPFILE, ifile); 381 (void) get_ifile(qfilename, ifile); in sprefix() 383 ifile = prev_ifile(NULL_IFILE); in sprefix() 387 (void) get_ifile(*argv++, ifile); in sprefix() 388 ifile = prev_ifile(NULL_IFILE); in sprefix() 74 IFILE ifile; main() local
|
H A D | filename.c | 361 IFILE ifile = (*fr == '%') ? curr_ifile : (*fr == '#') ? old_ifile : NULL_IFILE; in fexpand() 362 if (ifile == NULL_IFILE) in fexpand() 365 xcpy_filename(&xp, get_filename(ifile)); in fexpand() 299 IFILE ifile; fexpand() local
|
/freebsd/contrib/bmake/ |
H A D | mkdeps.sh | 167 for ifile in $* 174 [ -f "$dir/$ifile" ] && break 177 if [ ! -f "$dir/$ifile" ]; then 179 iline=`grep -n ".*include.*[\"<]$ifile[\">]" $file | cut -d: -f1` 180 echo "\"$file\", line $iline: cannot find include file \"$ifile\"" >> $EF 185 ifile=$dir/$ifile 188 case `grep "$ifile" $TF` in 189 "") echo "$ifile" >> $TF;; 195 len=`expr "$ifile " : '.*'` 201 echo $N "$ifile $C" >> .depend [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | stride_dd.c | 27 static char *ifile = NULL; variable 137 ifile = optarg; in parse_options() 183 if (bsize <= 0 || stride <= 0 || ifile == NULL || ofile == NULL || in parse_options() 291 ifd = open(ifile, ifd_flags); in main() 293 (void) fprintf(stderr, "%s: %s: ", execname, ifile); in main()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | dbufstat.in | 532 ifile = None 572 ifile = arg 664 if not ifile: 665 ifile = default_ifile() 667 if ifile != "-": 669 tmp = open(ifile, "r") 672 sys.stderr.write("Cannot open %s for reading\n" % ifile)
|
/freebsd/tools/test/stress2/misc/ |
H A D | sendfile13.sh | 321 char ifile[128]; 323 sprintf(ifile, "%s/f%06d.%06d", fromdir, getpid(), num); 324 writer(ifile); 326 if (unlink(ifile) != 0) 327 err(1, "unlink(%s)", ifile);
|
H A D | sendfile14.sh | 316 char ifile[128]; 324 sprintf(ifile, "%s/f%06d.%06d", fromdir, getpid(), num); 325 writer(ifile); 327 if (unlink(ifile) != 0) 328 err(1, "unlink(%s)", ifile);
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.lilly | 11 system("awk -f foo <\"lilly.ifile\" ") 20 system("../a.out -f foo <\"lilly.ifile\" ")
|
/freebsd/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm.c | 522 FILE *ifile; in output_listing() local 537 if ((ifile = fopen(ifilename, "r")) == NULL) { in output_listing() 608 fgets(buf, sizeof(buf), ifile); in output_listing() 630 fgets(buf, sizeof(buf), ifile); in output_listing() 641 while(fgets(buf, sizeof(buf), ifile) != NULL) in output_listing() 644 fclose(ifile); in output_listing()
|
/freebsd/usr.bin/less/ |
H A D | Makefile | 4 decode.c evar.c edit.c filename.c forwback.c help.c ifile.c input.c \
|
/freebsd/usr.bin/m4/ |
H A D | eval.c | 731 doincl(const char *ifile) in doincl() argument 735 if (fopen_trypath(infile+ilevel+1, ifile) != NULL) { in doincl()
|
/freebsd/crypto/heimdal/doc/ |
H A D | Makefile.in | 781 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \ 783 if test -f $$ifile; then \ 784 echo "$$ifile"; \
|