/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/ |
H A D | setdynflag.c | 83 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 D | n1.c | 396 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 D | nii.c | 94 int ifile; variable
|
H A D | ext.h | 102 extern int ifile;
|
/illumos-gate/usr/src/cmd/eqn/ |
H A D | lex.c | 49 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 D | io.c | 235 ifile = 1; in setfile() 267 svargv[ifile], eqline, linect); in error() 273 svargv[ifile], eqline, linect); in error()
|
H A D | glob.c | 31 int ifile; variable
|
H A D | e.h | 54 extern int ifile; /* input file number */
|
/illumos-gate/usr/src/cmd/bc/ |
H A D | bc.y | 624 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 D | m4.c | 111 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 D | m4ext.c | 69 FILE *ifile[10] = {stdin}; /* stack */ variable
|
H A D | m4.h | 108 extern FILE *ifile[];
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 1271 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 D | version.c | 46 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 D | test-suite | 131 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 D | t1.c | 132 tabin = fopen(ifile= *sargv, "r"); in swapin() 136 fprintf(tabout, ".ds f. %s\n",ifile); in swapin()
|
H A D | t0.c | 55 char *ifile = "Input"; variable
|
H A D | te.c | 25 (void) fprintf(stderr, gettext("\n%s: line %d: %s\n"), ifile, iline, s); in error()
|
H A D | t..c | 67 extern char *last, *ifile;
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | sunwmove.c | 176 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 D | support.c | 230 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 D | dd.c | 164 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 D | pplex.c | 2390 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 D | Makefile.in | 666 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 D | diff.c | 1868 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()
|