/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 71 char *infile = NULL; // input/output file names local 234 infile = Stdin; 236 infile = argv[optind]; 243 open_input_file(infile, ihdr, israw, fflag, i_offset, fmt); 250 infile, err.msg()); 299 // get the *real* path of the infile (follow sym-links), 301 realfile = infile; 307 perror(infile); 333 infile); 363 // back to the infile [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | delete.c | 629 char *dir, char *infile) 649 if (infile != NULL) { 651 infile, strlen(infile)); 727 char *infile = NULL; local 747 "f:(infile)")) != EOF) { 791 infile = optarg_av; 908 infile); 939 dir, infile); 945 dir, infile, 628 delete_file_keys(KMF_HANDLE_T kmfhandle, int oclass, char *dir, char *infile) argument [all...] |
H A D | export.c | 86 char *infile, char *filename) 122 if (infile != NULL) { 124 KMF_CERT_FILENAME_ATTR, infile, 125 strlen(infile)); 686 char *infile = NULL; local 706 "I:(infile)o:(outfile)")) != EOF) { 760 if (infile) 762 infile = optarg_av; 924 infile, filename); 84 pk_export_file_objects(KMF_HANDLE_T kmfhandle, int oclass, char *issuer, char *subject, KMF_BIGINT *serial, char *infile, char *filename) argument
|
H A D | import.c | 425 char *infile, 436 if (infile) { 438 KMF_CRL_FILENAME_ATTR, infile, strlen(infile)); 456 char *infile, 472 if (infile) { 474 infile, strlen(infile)); 826 "T:(token)i:(infile)" 929 cryptoerror(LOG_STDERR, gettext("The 'infile' paramete 424 pk_import_file_crl(void *kmfhandle, char *infile, char *outfile, KMF_ENCODE_FORMAT outfmt) argument 454 pk_import_nss_crl(void *kmfhandle, boolean_t verify_crl_flag, char *infile, char *outdir, char *prefix) argument [all...] |
/illumos-gate/usr/src/boot/lib/libz/test/ |
H A D | minigzip.c | 500 char *infile, *outfile; local 517 infile = file; 522 infile = buf; 526 strcat(infile, GZ_SUFFIX); 529 in = gzopen(infile, "rb"); 531 fprintf(stderr, "%s: can't gzopen %s\n", prog, infile); 542 unlink(infile);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tail.c | 201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument 216 while ((n = sfmove(infile, out, number, delim)) > 0)
|
/illumos-gate/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 126 ucode_convert_amd(const char *infile, uint8_t *buf, size_t size) argument 130 if (infile == NULL || buf == NULL || size == 0) 133 if ((fd = open(infile, O_RDONLY)) < 0) 144 ucode_convert_intel(const char *infile, uint8_t *buf, size_t size) argument 151 if (infile == NULL || buf == NULL || size == 0) 154 if ((infd = fopen(infile, "r")) == NULL)
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 63 static short infile; variable 109 inleft = read(infile, &inbuff[0], BUFSIZ); 181 inleft = read(infile, inp = &inbuff[0], BUFSIZ); 349 if ((infile = open(filename, O_RDONLY)) == -1) { 360 error = facl_get(infile, ACL_NO_TRIVIAL, &aclp); 384 (void) fstat(infile, &status); 470 done: (void) close(infile); 571 inleft = read(infile, inp = inbuff, BUFSIZ);
|
/illumos-gate/usr/src/cmd/pack/ |
H A D | pack.c | 76 int infile; /* unpacked file */ variable 129 while ((i = read(infile, inbuff, BUFSIZ)) > 0) 172 (void) lseek(infile, 0L, 0); 178 inleft = read(infile, inp = &inbuff[0], BUFSIZ); 423 if ((infile = open(filename, 0)) < 0) { 434 (void) fstat(infile, &status); 467 error = facl_get(infile, ACL_NO_TRIVIAL, &aclp); 589 (void) close(infile);
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 62 FILE *infile, *outfile; /* I/O file streams */ variable 135 infile = tmpfile(); 138 if (fwrite(tmpbuf, 1, BUFSIZ, infile) == 0) 156 rewind(infile); 157 } else if ((infile = fopen(*argv, "r")) == NULL) 307 saveloc = ftello(infile); 318 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET); 322 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET); 404 * Getline gets a line via fgets from the input stream "infile". 416 ret = fgets(linbuf, LINSIZ, infile); [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | _elfedit.h | 155 const char *infile; /* Name of source file */ member in struct:__anon1464::__anon1465
|
/illumos-gate/usr/src/cmd/deroff/ |
H A D | deroff.c | 56 #define C ((c = getc(infile)) == EOF ? eof() : \ 58 #define C1 ((c = getc(infile)) == EOF ? eof() : c) 108 static FILE *infile; variable 173 infile = stdin; 175 infile = opn(argv[optind++]); 176 files[0] = infile; 195 while ((c = getc(infile)) != rdelim) { 199 while ((c = getc(infile)) != '"') { 203 if ((c = getc(infile)) == EOF) { 235 if (infile ! [all...] |
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 182 char infile[MAXLINE], local 194 (void) snprintf(infile, sizeof (infile), "%s", filename);
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | lib.c | 49 static FILE *infile = NULL; variable 76 infile = stdin; /* no filenames, so use stdin */ 96 while (argno < *ARGC || infile == stdin) { 98 if (infile == NULL) { /* have to open a new file */ 112 infile = stdin; 113 else if ((infile = fopen((char *)file, "r")) == NULL) 117 c = readrec(&nbuf, &len, infile); 141 if (infile != stdin) 142 (void) fclose(infile); 143 infile [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/ |
H A D | ncab2clf.c | 780 char *infile = NULL; /* input file name */ local 800 infile = xstrdup(optarg); 851 if (infile) { 853 if ((ifd = open(infile, O_RDONLY)) < 0) { 857 infile, strerror(errno));
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | exec.c | 282 char *infile; local 485 infile = 0; 496 infile = makereqerr(request); 512 infile = 0; 519 if (infile) { 520 if (Open(infile, O_RDONLY) == -1)
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_main.c | 163 checkfiles(cmd.infile, cmd.outfile); 165 checkfiles(cmd.infile, NULL); 168 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile); 170 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile); 172 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile); 174 s_output(argc, argv, cmd.infile, "-DRPC_SVC", DONT_EXTEND, 177 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile); 179 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND, 182 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND, 188 c_output(cmd.infile, " 248 open_output(char *infile, char *outfile) argument 318 open_input(char *infile, char *define) argument 401 c_output(char *infile, char *define, int extend, char *outfile) argument 510 h_output(char *infile, char *define, int extend, char *outfile) argument 628 s_output(int argc, char *argv[], char *infile, char *define, int extend, char *outfile, int nomain, int netflag) argument 716 l_output(char *infile, char *define, int extend, char *outfile) argument 753 t_output(char *infile, char *define, int extend, char *outfile) argument 775 svc_output(char *infile, char *define, int extend, char *outfile) argument 811 clnt_output(char *infile, char *define, int extend, char *outfile) argument 1010 checkfiles(char *infile, char *outfile) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | y2.c | 59 char *infile; /* input file name */ variable 331 if ((finput = fopen(infile = argv[optind], "r")) == NULL) 836 lineno, infile); 1321 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile); 1380 (void) fprintf(ftable, "\n# line %d \"%s\"\n", lineno, infile); 1448 (void) fprintf(faction, "\n# line %d \"%s\"\n", lineno, infile);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.c | 102 invmake(char *invname, char *invpost, FILE *infile) argument 175 while (fgets(line, LINEMAX, infile) != NULL) {
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 207 db_copy_file(char *infile, char *outfile) argument 209 return (InUseDictionary->copyfile(infile, outfile));
|
H A D | db_dictionary.cc | 1013 db_dictionary::copyfile(char *infile, char *outfile) argument 1026 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE); 1030 dbase = find_table(infile, &tbl, TRUE, TRUE, TRUE); 1038 dbase = find_table(infile, &tbl, TRUE, TRUE, FALSE);
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 166 static char *infile; variable 263 infile); 967 infile = NULL; 977 infile = strdup(optarg); 1014 if (infile) { 1015 input = fopen(infile, "r"); 1017 perror(infile); 1021 infile = strdup("<stdin>"); 1049 free(infile); 1050 infile [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 1353 register Sfio_t *infile = 0, *outfile; local 1368 infile = subopen(shp,shp->heredocs,iop->iooffset,iop->iosize); 1379 sfmove(infile,outfile,SF_UNBOUND,-1); 1380 sfclose(infile); 1385 sh_machere(shp,infile,outfile,iop->ioname); 1387 if(infile) 1388 sfclose(infile);
|
H A D | macro.c | 255 * Expand here document which is stored in <infile> or <string> 258 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument 277 if(infile) 278 fcfopen(infile);
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 253 static FILE *infile; /* disk-based input stream */ variable 527 if ((infile = fopen("/dev/null", "r")) == NULL) { 556 inp = infile; 678 inp = infile;
|