Home
last modified time | relevance | path

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

12

/titanic_52/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c85 set_flag(char *ifile, ulong_t flval) in set_flag() argument
96 if ((fd = open(ifile, O_RDWR)) < 0) in set_flag()
97 die("Can't open %s", ifile); in set_flag()
100 elfdie("Can't start ELF for %s", ifile); in set_flag()
103 die("Can't find .dynamic section in %s\n", ifile); in set_flag()
131 "field\n", ifile); in set_flag()
135 elfdie("Couldn't update %s with changes", ifile); in set_flag()
/titanic_52/usr/src/cmd/eqn/
H A Dlex.c51 if (++ifile > svargc) { in gtc()
61 * open file indexed by ifile in svargv, return non zero if fail
66 if (strcmp(svargv[ifile], "-") == 0) { in openinfile()
69 } else if ((curfile = fopen(svargv[ifile], "r")) != NULL) { in openinfile()
72 error(FATAL, gettext("can't open file %s"), svargv[ifile]); in openinfile()
H A Dio.c68 * eqnreg, svargv[ifile], eqline, linect); in eqn()
235 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.h56 extern int ifile; /* input file number */
/titanic_52/usr/src/cmd/troff/
H A Dn1.c397 ifile = 0; in init2()
1053 if ((j = read(ifile, ibuf, IBUFSZ)) <= 0) in getch0()
1181 if (ifile) in nextfile()
1182 close(ifile); in nextfile()
1197 numtab[CD].val = ifile = stdi = mflg = 0; in nextfile()
1206 ifile = 0; in nextfile()
1208 } else if ((ifile = open(p, 0)) < 0) { in nextfile()
1230 if ((ifile = ifl[ifi]) == 0) { in popf()
1239 if (lseek(ifile, (long)(ioff & ~(IBUFSZ-1)), 0) == (long) -1 in popf()
1240 || (i = read(ifile, ibu in popf()
[all...]
H A Dnii.c97 int ifile; variable
H A Dext.h104 extern int ifile;
/titanic_52/usr/src/cmd/bc/
H A Dbc.y460 int ifile; /* current index into sargv */ variable
710 if (++ifile >= sargc) { in getch()
711 if (ifile >= sargc+1) in getch()
719 if ((in = fopen(sargv[ifile], "r")) != NULL) { in getch()
721 ss = sargv[ifile]; in getch()
725 sargv[ifile]); in getch()
797 if (ifile >= sargc) in yyerror()
863 ifile = 0; in yyinit()
/titanic_52/usr/src/cmd/sgs/m4/common/
H A Dm4.c107 ifile[ifx] = m4open(&argv, "r", &argc); in main()
118 (void) fclose(ifile[ifx]); in main()
144 if (ifile[ifx] != stdin) in main()
145 (void) fclose(ifile[ifx]); in main()
148 ifile[ifx] = m4open(&argv, "r", &argc); in main()
150 ifile[ifx] = stdin; in main()
962 C = (wchar_t)(feof(ifile[ifx]) ? in getchr()
963 WEOF : (wint_t)getc(ifile[ifx])); in getchr()
1143 fp = ifile[idx]; in myfgetwc()
1189 return (ibuffer[idx].nbytes == 0 && feof(ifile[id in myfeof()
[all...]
H A Dm4ext.c69 FILE *ifile[10] = {stdin}; /* stack */ variable
H A Dm4.h108 extern FILE *ifile[];
/titanic_52/usr/src/cmd/tbl/
H A Dt1.c134 tabin = fopen(ifile= *sargv, "r"); in swapin()
138 fprintf(tabout, ".ds f. %s\n",ifile); in swapin()
H A Dt0.c57 char *ifile = "Input"; variable
H A Dte.c27 (void) fprintf(stderr, gettext("\n%s: line %d: %s\n"), ifile, iline, s); in error()
H A Dt..c69 extern char *last, *ifile;
H A Dt6.c200 ".if t .if \\n(TW>\\n(.li .tm Table at line %d file %s is too wide - \\n(TW units\n", iline-1, ifile); in maktab()
/titanic_52/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c1162 char *ifile = NULL; in main() local
1328 if ((ifile = calloc(1, PATH_MAX)) == NULL) in main()
1331 ifile = ifiles[0]; in main()
1336 if (*ifile == '\0') { in main()
1352 (void) snprintf(ifile, PATH_MAX, "%s/var/fm/fmd/%slog%s", in main()
1360 rotated_logs = get_rotated_logs(ifile); in main()
1369 if ((lp = fmd_log_open(FMD_LOG_VERSION, ifile, &err)) == NULL) { in main()
1370 fmdump_fatal("failed to open %s: %s\n", ifile, in main()
1390 fmdump_fatal("failed to seek %s: %s\n", ifile, in main()
1425 "log of type %s: %s\n", fmd_log_label(lp), ifile); in main()
[all...]
/titanic_52/usr/src/cmd/dd/
H A Ddd.c154 static char *ifile; /* input file name pointer */ variable
544 ifile = string; in main()
831 if (ifile) in main()
833 ibf = open(ifile, 0); in main()
837 ifile = ""; in main()
843 (void) fprintf(stderr, "dd: %s: ", ifile); in main()
/titanic_52/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.c231 ld_sup_file(Ofl_desc *ofl, const char *ifile, const Elf_Kind ekind, int flags, in ld_sup_file() argument
248 support[LDS_FILE].sup_name, LDS_FILE, ifile)); in ld_sup_file()
249 (*flp->fl_fptr)(ifile, ekind, _flags, elf); in ld_sup_file()
/titanic_52/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, in pool()
[all...]
/titanic_52/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"; \
/titanic_52/usr/src/cmd/diff/
H A Ddiff.c1857 filename(char **pa1, char **pa2, struct stat *st, char **ifile) in filename() argument
1865 *ifile = strdup("-"); in filename()
1867 *ifile = strdup(*pa1); in filename()
1869 if (*ifile == (char *)NULL) { in filename()
1885 *ifile = strdup(*pa1); in filename()
1887 if (*ifile == (char *)NULL) { in filename()
/titanic_52/usr/src/cmd/dc/
H A Ddc.h99 int ifile; variable

12