| /src/external/public-domain/xz/dist/doc/examples/ |
| 11_file_info.c | 26 print_file_size(lzma_stream *strm, FILE *infile, const char *filename) 34 if (fseek(infile, 0, SEEK_END)) { 40 const long file_size = ftell(infile); 43 rewind(infile); 78 infile); 80 if (ferror(infile)) { 104 if (fseek(infile, (long)(strm->seek_pos), SEEK_SET)) { 182 FILE *infile = fopen(argv[i], "rb"); local 184 if (infile == NULL) { 190 success &= print_file_size(&strm, infile, argv[i]) [all...] |
| 02_decompress.c | 103 decompress(lzma_stream *strm, const char *inname, FILE *infile, FILE *outfile) 126 if (strm->avail_in == 0 && !feof(infile)) { 129 infile); 131 if (ferror(infile)) { 142 if (feof(infile)) 263 FILE *infile = fopen(argv[i], "rb"); local 265 if (infile == NULL) { 271 success &= decompress(&strm, argv[i], infile, stdout); 272 fclose(infile);
|
| /src/games/adventure/ |
| setup.c | 77 FILE *infile; local 85 if ((infile = fopen(argv[1], "r")) == NULL) { 99 while ((c = getc(infile)) != EOF) { 103 while ((c = getc(infile)) == ' ' && c != EOF); 121 fclose(infile);
|
| /src/sys/arch/alpha/stand/mkbootimage/ |
| mkbootimage.c | 61 const char *infile, *outfile; local 90 infile = argv[0]; 94 fprintf(stderr, "input file: %s\n", infile); 103 if ((infd = open(infile, O_RDONLY)) == -1) 104 err(EXIT_FAILURE, "open %s", infile); 106 err(EXIT_FAILURE, "fstat %s", infile); 108 errx(EXIT_FAILURE, "%s must be a regular file", infile); 127 err(EXIT_FAILURE, "read %s", infile); 129 errx(EXIT_FAILURE, "read %s: short read", infile);
|
| /src/crypto/external/apache2/openssl/dist/apps/ |
| nseq.c | 47 char *infile = NULL, *outfile = NULL, *prog; local 65 infile = opt_arg(); 81 in = bio_open_default(infile, 'r', FORMAT_PEM); 102 prog, infile); 114 prog, infile);
|
| pkeyparam.c | 58 char *infile = NULL, *outfile = NULL, *prog; local 73 infile = opt_arg(); 101 in = bio_open_default(infile, 'r', FORMAT_PEM);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| pem_read_depr_test.c | 29 BIO *infile = NULL; local 33 infile = BIO_new_file(paramsfile, "r"); 37 return infile; 44 BIO *infile = getfile("dhparams.pem"); local 47 if (!TEST_ptr(infile)) 50 dh = PEM_read_bio_DHparams(infile, NULL, NULL, NULL); 57 BIO_free(infile); 65 BIO *infile = getfile("x942params.pem"); local 68 if (!TEST_ptr(infile)) 71 dh = PEM_read_bio_DHparams(infile, NULL, NULL, NULL) 88 BIO *infile = getfile("dsaparams.pem"); local 109 BIO *infile = getfile("dsaprivatekey.pem"); local 130 BIO *infile = getfile("dsapublickey.pem"); local 152 BIO *infile = getfile("rsaprivatekey.pem"); local 173 BIO *infile = getfile("rsapublickey.pem"); local [all...] |
| /src/crypto/external/bsd/openssl/dist/apps/ |
| nseq.c | 45 char *infile = NULL, *outfile = NULL, *prog; local 63 infile = opt_arg(); 80 in = bio_open_default(infile, 'r', FORMAT_PEM); 101 prog, infile); 113 prog, infile);
|
| pkeyparam.c | 54 char *infile = NULL, *outfile = NULL, *prog; local 69 infile = opt_arg(); 98 in = bio_open_default(infile, 'r', FORMAT_PEM);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| pem_read_depr_test.c | 29 BIO *infile = NULL; local 33 infile = BIO_new_file(paramsfile, "r"); 37 return infile; 44 BIO *infile = getfile("dhparams.pem"); local 47 if (!TEST_ptr(infile)) 50 dh = PEM_read_bio_DHparams(infile, NULL, NULL, NULL); 57 BIO_free(infile); 65 BIO *infile = getfile("x942params.pem"); local 68 if (!TEST_ptr(infile)) 71 dh = PEM_read_bio_DHparams(infile, NULL, NULL, NULL) 88 BIO *infile = getfile("dsaparams.pem"); local 109 BIO *infile = getfile("dsaprivatekey.pem"); local 130 BIO *infile = getfile("dsapublickey.pem"); local 152 BIO *infile = getfile("rsaprivatekey.pem"); local 173 BIO *infile = getfile("rsapublickey.pem"); local [all...] |
| /src/crypto/external/cpl/tpm-tools/dist/src/tpm_mgmt/ |
| tpm_revokeek.c | 34 logCmdOption("-i, --infile FILE", 65 FILE *infile = NULL; local 70 infile = fopen(in_filename, "r"); 71 if ( !infile ){ 78 iBytes = fread( *buffer, 1, bytesToRead, infile ); 83 } else if ( (iBytes = fread( &eofile, 1, 1, infile )) ) { 85 if ( !feof( infile)) 93 fclose( infile); 103 {"infile", required_argument, NULL, 'i'}, 118 logError(_("Please specify which file contains the secret to revoke the Ek (use option -i, --infile).\n")) [all...] |
| /src/sys/arch/atari/stand/tostools/rawwrite/ |
| rawwrite.c | 59 char *infile; local 102 infile = argv[optind]; 104 if ((fd = open(infile, O_RDONLY)) < 0) 105 fatal(-1, "Cannot open '%s'\n", infile); 114 fatal(-1, "\n\rRead error on '%s'\n", infile); 116 fatal(-1, "\n\rUnexpected short-read on '%s'\n", infile); 151 eprintf("Usage: %s [-hvVw] [-o <log-file>] <infile>\r\n", progname); 161 Usage: %s [-hvVw] [-o <log-file>] <infile>\r
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| nseq.c | 37 char *infile = NULL, *outfile = NULL, *prog; local 55 infile = opt_arg(); 66 in = bio_open_default(infile, 'r', FORMAT_PEM); 85 prog, infile); 97 prog, infile);
|
| pkeyparam.c | 44 char *infile = NULL, *outfile = NULL, *prog; local 59 infile = opt_arg(); 82 in = bio_open_default(infile, 'r', FORMAT_PEM);
|
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| ctfconvert.c | 53 static char *infile = NULL; variable 73 fprintf(stderr, "Removing %s\n", infile); 74 unlink(infile); 213 infile = argv[optind]; 214 if (access(infile, R_OK) != 0) 215 terminate("Can't access %s", infile); 240 if (!file_read(filetd, infile, ignore_non_c)) 241 terminate("%s doesn't have type data to convert\n", infile); 256 if (outfile && strcmp(infile, outfile) != 0) { 257 write_ctf(mstrtd, infile, outfile, dynsym | keep_stabs) [all...] |
| /src/external/gpl3/binutils/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/external/gpl3/binutils/usr.sbin/ncdcs/ |
| ncdcs.c | 14 ** Usage: ncdcs <infile> [outfile] 130 char *infile, *outfile; local 144 infile = argv[1]; 149 if ((fd = open(infile, O_RDONLY)) == -1) { 150 perror(infile); 155 perror(infile); 161 perror(infile); 167 perror(infile); 176 fprintf(stderr, "%s: not an ELF file\n", infile); 180 fprintf(stderr, "%s: not a 32bit big-endian PPC ELF file\n", infile); [all...] |
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/external/gpl3/binutils.old/usr.sbin/ncdcs/ |
| ncdcs.c | 14 ** Usage: ncdcs <infile> [outfile] 130 char *infile, *outfile; local 144 infile = argv[1]; 149 if ((fd = open(infile, O_RDONLY)) == -1) { 150 perror(infile); 155 perror(infile); 161 perror(infile); 167 perror(infile); 176 fprintf(stderr, "%s: not an ELF file\n", infile); 180 fprintf(stderr, "%s: not a 32bit big-endian PPC ELF file\n", infile); [all...] |
| /src/external/gpl3/gcc/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| pex-msdos.c | 166 char *infile; local 196 infile = ""; 201 infile = ms->files[inindex]; 218 + strlen (infile) 226 infile,
|
| /src/sbin/gpt/ |
| restore.c | 61 "[-F] [-i infile]", 175 restore(gpt_t gpt, const char *infile, int force) 213 strcmp(infile, "-") == 0 ? "/dev/stdin" : infile); 395 const char *infile = "-"; local 400 infile = optarg; 413 return restore(gpt, infile, force);
|
| /src/usr.bin/ktrace/ |
| ktrace.c | 87 const char *infile; local 100 outfile = infile = NULL; 127 infile = optarg; 195 if (!infile) 204 if (infile) { 205 dumpfile(infile, 0, trpoints); 289 "[-aCcdilnRT] [-e emulation] [-f infile] [-g pgrp] "
|