| /src/external/mit/libcbor/dist/test/ |
| pretty_printer_test.c | 25 FILE *outfile = tmpfile(); local 28 cbor_describe(item, outfile); 33 cbor_describe(item, outfile); 36 fclose(outfile);
|
| pretty_printer_test.c | 25 FILE *outfile = tmpfile(); local 28 cbor_describe(item, outfile); 33 cbor_describe(item, outfile); 36 fclose(outfile);
|
| /src/sys/arch/alpha/stand/mkbootimage/ |
| mkbootimage.c | 61 const char *infile, *outfile; local 91 outfile = argv[1]; /* NULL if argc == 1 */ 96 outfile != NULL ? outfile : "<stdout>"); 152 if (outfile == NULL) { 154 outfile = "<stdout>"; 155 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1) 156 err(EXIT_FAILURE, "open %s", outfile); 161 err(EXIT_FAILURE, "write %s", outfile); 163 errx(EXIT_FAILURE, "write %s: short write", outfile); [all...] |
| mkbootimage.c | 61 const char *infile, *outfile; local 91 outfile = argv[1]; /* NULL if argc == 1 */ 96 outfile != NULL ? outfile : "<stdout>"); 152 if (outfile == NULL) { 154 outfile = "<stdout>"; 155 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1) 156 err(EXIT_FAILURE, "open %s", outfile); 161 err(EXIT_FAILURE, "write %s", outfile); 163 errx(EXIT_FAILURE, "write %s: short write", outfile); [all...] |
| /src/external/bsd/libpcap/dist/testprogs/fuzz/ |
| fuzz_both.c | 9 FILE * outfile = NULL; variable 33 if (outfile != NULL) { 34 fclose(outfile); 36 outfile = fopen(name, "w"); 51 if (outfile == NULL) { 52 outfile = fopen("/dev/null", "w"); 53 if (outfile == NULL) { 74 fprintf(outfile, "Couldn't open pcap file %s\n", errbuf); 88 fprintf(outfile, "packet length=%d/%d filter=%d\n",header->caplen, header->len, pcap_offline_filter(&bpf, header, pkt));
|
| fuzz_pcap.c | 8 FILE * outfile = NULL; variable 32 if (outfile != NULL) { 33 fclose(outfile); 35 outfile = fopen(name, "w"); 47 if (outfile == NULL) { 48 outfile = fopen("/dev/null", "w"); 49 if (outfile == NULL) { 62 fprintf(outfile, "Couldn't open pcap file %s\n", errbuf); 70 fprintf(outfile, "packet length=%d/%d\n",header->caplen, header->len); 74 fprintf(outfile, "number of packets=%d\n", stats.ps_recv) [all...] |
| fuzz_both.c | 9 FILE * outfile = NULL; variable 33 if (outfile != NULL) { 34 fclose(outfile); 36 outfile = fopen(name, "w"); 51 if (outfile == NULL) { 52 outfile = fopen("/dev/null", "w"); 53 if (outfile == NULL) { 74 fprintf(outfile, "Couldn't open pcap file %s\n", errbuf); 88 fprintf(outfile, "packet length=%d/%d filter=%d\n",header->caplen, header->len, pcap_offline_filter(&bpf, header, pkt));
|
| fuzz_pcap.c | 8 FILE * outfile = NULL; variable 32 if (outfile != NULL) { 33 fclose(outfile); 35 outfile = fopen(name, "w"); 47 if (outfile == NULL) { 48 outfile = fopen("/dev/null", "w"); 49 if (outfile == NULL) { 62 fprintf(outfile, "Couldn't open pcap file %s\n", errbuf); 70 fprintf(outfile, "packet length=%d/%d\n",header->caplen, header->len); 74 fprintf(outfile, "number of packets=%d\n", stats.ps_recv) [all...] |
| /src/sbin/gpt/ |
| backup.c | 60 "[-o outfile]", 205 backup(gpt_t gpt, const char *outfile) 266 fp = strcmp(outfile, "-") == 0 ? stdout : fopen(outfile, "w"); 268 gpt_warn(gpt, "Can't open `%s'", outfile); 287 const char *outfile = "-"; local 292 outfile = optarg; 301 return backup(gpt, outfile);
|
| backup.c | 60 "[-o outfile]", 205 backup(gpt_t gpt, const char *outfile) 266 fp = strcmp(outfile, "-") == 0 ? stdout : fopen(outfile, "w"); 268 gpt_warn(gpt, "Can't open `%s'", outfile); 287 const char *outfile = "-"; local 292 outfile = optarg; 301 return backup(gpt, outfile);
|
| /src/sys/arch/alpha/stand/setnetbootinfo/ |
| setnetbootinfo.c | 51 char *netboot, *outfile, *addr, *host; variable 62 fprintf(stderr, "\tsetnetboot [-v] [-f] [-o outfile] \\\n"); 64 fprintf(stderr, "\tsetnetboot [-v] -u -o outfile infile\n"); 93 outfile = optarg; 118 if (outfile == NULL) 138 if (outfile != NULL) 139 outfilename = outfile; 246 if (outfile == NULL)
|
| setnetbootinfo.c | 51 char *netboot, *outfile, *addr, *host; variable 62 fprintf(stderr, "\tsetnetboot [-v] [-f] [-o outfile] \\\n"); 64 fprintf(stderr, "\tsetnetboot [-v] -u -o outfile infile\n"); 93 outfile = optarg; 118 if (outfile == NULL) 138 if (outfile != NULL) 139 outfilename = outfile; 246 if (outfile == NULL)
|
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| ctfconvert.c | 54 static const char *outfile = NULL; variable 61 "Usage: %s [-gis] -l label | -L labelenv [-o outfile] object_file\n" 72 if (!outfile) { 185 outfile = optarg; 256 if (outfile && strcmp(infile, outfile) != 0) { 257 write_ctf(mstrtd, infile, outfile, dynsym | keep_stabs);
|
| ctfconvert.c | 54 static const char *outfile = NULL; variable 61 "Usage: %s [-gis] -l label | -L labelenv [-o outfile] object_file\n" 72 if (!outfile) { 185 outfile = optarg; 256 if (outfile && strcmp(infile, outfile) != 0) { 257 write_ctf(mstrtd, infile, outfile, dynsym | keep_stabs);
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| /src/external/gpl3/binutils/usr.sbin/ncdcs/ |
| ncdcs.c | 14 ** Usage: ncdcs <infile> [outfile] 130 char *infile, *outfile; local 145 outfile = argc > 2 ? argv[2] : NULL; 224 if(outfile) { 230 if((fd = open(outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode)) < 0) { 231 perror(outfile); 236 perror(outfile);
|
| ncdcs.c | 14 ** Usage: ncdcs <infile> [outfile] 130 char *infile, *outfile; local 145 outfile = argc > 2 ? argv[2] : NULL; 224 if(outfile) { 230 if((fd = open(outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode)) < 0) { 231 perror(outfile); 236 perror(outfile);
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| /src/external/gpl3/binutils.old/usr.sbin/ncdcs/ |
| ncdcs.c | 14 ** Usage: ncdcs <infile> [outfile] 130 char *infile, *outfile; local 145 outfile = argc > 2 ? argv[2] : NULL; 224 if(outfile) { 230 if((fd = open(outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode)) < 0) { 231 perror(outfile); 236 perror(outfile);
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| pex-msdos.c | 168 char *outfile; local 207 outfile = ""; 212 outfile = ms->files[outindex]; 219 + strlen (outfile) 228 outfile);
|