Home
last modified time | relevance | path

Searched refs:ifile (Results 1 – 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c83 set_flag(char *ifile, ulong_t flval) in set_flag() argument
94 if ((fd = open(ifile, O_RDWR)) < 0) in set_flag()
95 die("Can't open %s", ifile); in set_flag()
98 elfdie("Can't start ELF for %s", ifile); in set_flag()
101 die("Can't find .dynamic section in %s\n", ifile); in set_flag()
129 "field\n", ifile); in set_flag()
133 elfdie("Couldn't update %s with changes", ifile); in set_flag()
/illumos-gate/usr/src/cmd/troff/
H A Dn1.c396 ifile = 0; in init2()
1052 if ((j = read(ifile, ibuf, IBUFSZ)) <= 0) in getch0()
1180 if (ifile) in nextfile()
1181 close(ifile); in nextfile()
1196 numtab[CD].val = ifile = stdi = mflg = 0; in nextfile()
1205 ifile = 0; in nextfile()
1207 } else if ((ifile = open(p, 0)) < 0) { in nextfile()
1229 if ((ifile = ifl[ifi]) == 0) { in popf()
1238 if (lseek(ifile, (long)(ioff & ~(IBUFSZ-1)), 0) == (long) -1 in popf()
1239 || (i = read(ifile, ibuf, IBUFSZ)) < 0) in popf()
[all …]
H A Dnii.c94 int ifile; variable
H A Dext.h102 extern int ifile;
/illumos-gate/usr/src/cmd/eqn/
H A Dlex.c49 if (++ifile > svargc) { in gtc()
64 if (strcmp(svargv[ifile], "-") == 0) { in openinfile()
67 } else if ((curfile = fopen(svargv[ifile], "r")) != NULL) { in openinfile()
70 error(FATAL, gettext("can't open file %s"), svargv[ifile]); in openinfile()
H A Dio.c235 ifile = 1; in setfile()
267 svargv[ifile], eqline, linect); in error()
273 svargv[ifile], eqline, linect); in error()
H A Dglob.c31 int ifile; variable
H A De.h54 extern int ifile; /* input file number */
/illumos-gate/usr/src/cmd/bc/
H A Dbc.y624 int ifile; /* current index into sargv */ variable
874 if (++ifile >= sargc) { in getch()
875 if (ifile >= sargc+1) in getch()
883 if ((in = fopen(sargv[ifile], "r")) != NULL) { in getch()
885 ss = sargv[ifile]; in getch()
889 sargv[ifile]); in getch()
961 if (ifile >= sargc) in yyerror()
1028 ifile = 0; in yyinit()
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c111 ifile[ifx] = m4open(&argv, "r", &argc); in main()
122 (void) fclose(ifile[ifx]); in main()
148 if (ifile[ifx] != stdin) in main()
149 (void) fclose(ifile[ifx]); in main()
152 ifile[ifx] = m4open(&argv, "r", &argc); in main()
154 ifile[ifx] = stdin; in main()
966 C = (wchar_t)(feof(ifile[ifx]) ? in getchr()
967 WEOF : (wint_t)getc(ifile[ifx])); in getchr()
1147 fp = ifile[idx]; in myfgetwc()
1193 return (ibuffer[idx].nbytes == 0 && feof(ifile[idx])); in myfeof()
H A Dm4ext.c69 FILE *ifile[10] = {stdin}; /* stack */ variable
H A Dm4.h108 extern FILE *ifile[];
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c1271 char *ifile = NULL; in main() local
1463 if ((ifile = calloc(1, PATH_MAX)) == NULL) in main()
1466 ifile = ifiles[0]; in main()
1471 if (*ifile == '\0') { in main()
1487 (void) snprintf(ifile, PATH_MAX, "%s/var/fm/fmd/%slog%s", in main()
1495 rotated_logs = get_rotated_logs(ifile); in main()
1504 if ((lp = fmd_log_open(FMD_LOG_VERSION, ifile, &err)) == NULL) { in main()
1505 fmdump_fatal("failed to open %s: %s\n", ifile, in main()
1525 fmdump_fatal("failed to seek %s: %s\n", ifile, in main()
1560 "log of type %s: %s\n", fmd_log_label(lp), ifile); in main()
[all …]
/illumos-gate/usr/src/tools/btxld/
H A Dversion.c46 add_version(const char *ifile, const char *ofile, char *version) in add_version() argument
59 fd = open(ifile, O_RDONLY); in add_version()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dtest-suite131 ifile="$1"
136 grep "$patt:" "$ifile" | \
175 ifile="$1"
178 grep "$patt([0-9-]*\(, *\)*[0-9-]*):" "$ifile" | \
/illumos-gate/usr/src/cmd/tbl/
H A Dt1.c132 tabin = fopen(ifile= *sargv, "r"); in swapin()
136 fprintf(tabout, ".ds f. %s\n",ifile); in swapin()
H A Dt0.c55 char *ifile = "Input"; variable
H A Dte.c25 (void) fprintf(stderr, gettext("\n%s: line %d: %s\n"), ifile, iline, s); in error()
H A Dt..c67 extern char *last, *ifile;
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsunwmove.c176 Ifl_desc *ifile = isp->is_file; in ld_process_move() local
180 DBG_CALL(Dbg_move_input(ofl->ofl_lml, ifile->ifl_name)); in ld_process_move()
286 isc = ifile->ifl_isdesc[ sym->st_shndx]; in ld_process_move()
H A Dsupport.c230 ld_sup_file(Ofl_desc *ofl, const char *ifile, const Elf_Kind ekind, int flags, in ld_sup_file() argument
247 support[LDS_FILE].sup_name, LDS_FILE, ifile)); in ld_sup_file()
248 (*flp->fl_fptr)(ifile, ekind, _flags, elf); in ld_sup_file()
/illumos-gate/usr/src/cmd/dd/
H A Ddd.c164 static char *ifile; /* input file name pointer */ variable
584 ifile = string; in main()
883 if (ifile) { in main()
884 ibf = open(ifile, 0); in main()
886 ifile = ""; in main()
891 (void) fprintf(stderr, "dd: %s: ", ifile); in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpplex.c2390 char* ifile; in pool() local
2408 while (ifile = sfgetr(sfstdin, '\n', 1)) in pool()
2410 if (!(ofile = strchr(ifile, ' '))) in pool()
2411 error(3, "%s: pool output file expected", ifile); in pool()
2424 if (open(ifile, O_RDONLY)) in pool()
2425 error(ERROR_SYSTEM|3, "%s: cannot read", ifile); in pool()
2430 pathcanon(ifile, 0, 0); in pool()
2431 ifile = ppsetfile(ifile)->name; in pool()
2440 PUSH_FILE(ifile, 0); in pool()
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A DMakefile.in666 for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] \
668 if test -f $$ifile; then \
669 relfile=`echo "$$ifile" | sed 's|^.*/||'`; \
670 echo " $(INSTALL_DATA) '$$ifile' '$(DESTDIR)$(infodir)/$$relfile'"; \
671 $(INSTALL_DATA) "$$ifile" "$(DESTDIR)$(infodir)/$$relfile"; \
/illumos-gate/usr/src/cmd/diff/
H A Ddiff.c1868 filename(char **pa1, char **pa2, struct stat *st, char **ifile) in filename() argument
1876 *ifile = strdup("-"); in filename()
1878 *ifile = strdup(*pa1); in filename()
1880 if (*ifile == (char *)NULL) { in filename()
1896 *ifile = strdup(*pa1); in filename()
1898 if (*ifile == (char *)NULL) { in filename()

12