| /freebsd/contrib/less/ |
| H A D | ifile.c | 26 struct ifile { struct 27 struct ifile *h_next; /* Links for command line list */ argument 28 struct ifile *h_prev; 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() 63 static void link_ifile(struct ifile *p, struct ifile *prev) in link_ifile() 86 static void unlink_ifile(struct ifile *p) in unlink_ifile() 100 static struct ifile * new_ifile(constant char *filename, struct ifile *prev) in new_ifile() 102 struct ifile *p; in new_ifile() [all …]
|
| H A D | edit.c | 327 public void close_altpipe(IFILE ifile) in close_altpipe() argument 329 FILE *altpipe = get_altpipe(ifile); in close_altpipe() 333 set_altpipe(ifile, NULL); in close_altpipe() 406 …ic int edit_error(constant char *filename, constant char *alt_filename, void *altpipe, IFILE ifile) in edit_error() argument 414 del_ifile(ifile); in edit_error() 418 if (curr_ifile == ifile) in edit_error() 433 public int edit_ifile(IFILE ifile) in edit_ifile() argument 447 if (ifile == curr_ifile) in edit_ifile() 456 if (ifile != NULL_IFILE) in edit_ifile() 461 filename = get_filename(ifile); in edit_ifile() [all …]
|
| H A D | mark.c | 53 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument 55 m->m_ifile = ifile; in cmark() 93 static void mark_set_ifile(struct mark *m, IFILE ifile) in mark_set_ifile() argument 95 m->m_ifile = ifile; in mark_set_ifile() 365 public void unmark(IFILE ifile) in unmark() argument 370 if (marks[i].m_ifile == ifile) in unmark() 378 public void mark_check_ifile(IFILE ifile) in mark_check_ifile() argument 381 constant char *filename = get_real_filename(ifile); in mark_check_ifile() 391 mark_set_ifile(m, ifile); in mark_check_ifile() 402 static void cmarkf(struct mark *m, IFILE ifile, POSITION pos, int ln, constant char *filename) in cmarkf() argument [all …]
|
| H A D | funcs.h | 149 public void close_altpipe(IFILE ifile); 152 public int edit_ifile(IFILE ifile); 202 public IFILE getoff_ifile(IFILE ifile); 205 public constant char * get_filename(IFILE ifile); 206 public constant char * get_real_filename(IFILE ifile); 207 public int get_index(IFILE ifile); 208 public void store_pos(IFILE ifile, constant struct scrpos *scrpos); 209 public void get_pos(IFILE ifile, struct scrpos *scrpos); 210 public void set_open(IFILE ifile); 211 public lbool opened(IFILE ifile); [all …]
|
| H A D | main.c | 244 IFILE ifile; in main() local 376 ifile = NULL_IFILE; in main() 378 ifile = get_ifile(FAKE_HELPFILE, ifile); in main() 401 (void) get_ifile(qfilename, ifile); in main() 403 ifile = prev_ifile(NULL_IFILE); in main() 407 (void) get_ifile(argv[files[f]], ifile); in main() 408 ifile = prev_ifile(NULL_IFILE); in main()
|
| H A D | filename.c | 361 IFILE ifile = (*fr == '%') ? curr_ifile : (*fr == '#') ? old_ifile : NULL_IFILE; in fexpand_copy() local 362 if (ifile == NULL_IFILE) in fexpand_copy() 365 xcpy_filename(&xp, get_filename(ifile)); in fexpand_copy()
|
| /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 | 28 static char *ifile = NULL; variable 138 ifile = optarg; in parse_options() 184 if (bsize <= 0 || stride <= 0 || ifile == NULL || ofile == NULL || in parse_options() 292 ifd = open(ifile, ifd_flags); in main() 294 (void) fprintf(stderr, "%s: %s: ", execname, ifile); in main()
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | dbufstat.in | 533 ifile = None 573 ifile = arg 665 if not ifile: 666 ifile = default_ifile() 668 if ifile != "-": 670 tmp = open(ifile, "r") 673 sys.stderr.write("Cannot open %s for reading\n" % 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/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/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 | 719 doinclude(const char *ifile) in doinclude() argument 723 if (fopen_trypath(infile+ilevel+1, ifile) != NULL) { in doinclude()
|
| /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"; \
|
| /freebsd/crypto/krb5/src/kadmin/dbutil/ |
| H A D | dump.c | 1112 current_dump_sno_in_ulog(krb5_context context, const char *ifile) in current_dump_sno_in_ulog() argument 1120 f = fopen(ifile, "r"); in current_dump_sno_in_ulog()
|