Home
last modified time | relevance | path

Searched refs:outfp (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/usr.sbin/ndiscvt/
H A Dndiscvt.c280 FILE *fp, *outfp; in main() local
342 outfp = stdout; in main()
344 outfp = fopen(outfile, "w"); in main()
345 if (outfp == NULL) in main()
349 fprintf(outfp, "\n/*\n"); in main()
352 fprintf(outfp, " */\n\n"); in main()
368 fprintf (outfp, "};\n\n"); in main()
375 if (inf_parse(fp, outfp) != 0) in main()
390 fprintf(outfp, in main()
411 fprintf (outfp, "__asm__(\".byte "); in main()
[all …]
H A Dinf.c78 inf_parse (FILE *fp, FILE *outfp) in inf_parse() argument
84 ofp = outfp; in inf_parse()
93 fprintf(outfp, "#ifdef NDIS_REGVALS\n"); in inf_parse()
95 fprintf(outfp, "#endif /* NDIS_REGVALS */\n"); in inf_parse()
/freebsd-12.1/lib/libpmc/pmu-events/
H A Djevents.c312 FILE *outfp; member
331 FILE *outfp = pd->outfp; in print_events_table_entry() local
338 fprintf(outfp, "{\n"); in print_events_table_entry()
360 fprintf(outfp, "},\n"); in print_events_table_entry()
441 fprintf(outfp, "{\n"); in print_events_table_suffix()
447 fprintf(outfp, "},\n"); in print_events_table_suffix()
747 fprintf(outfp, "{\n"); in print_mapping_table_suffix()
843 FILE *outfp; in create_empty_mapping() local
849 if (!outfp) { in create_empty_mapping()
857 fclose(outfp); in create_empty_mapping()
[all …]
/freebsd-12.1/usr.bin/uudecode/
H A Duudecode.c71 static FILE *infp, *outfp; variable
158 outfp = stdout; in decode()
259 outfp = stdout; in decode2()
327 if (fclose(outfp) != 0) { in checkend()
373 putc(ch, outfp); in uu_decode()
375 putc(ch, outfp); in uu_decode()
377 putc(ch, outfp); in uu_decode()
383 putc(ch, outfp); in uu_decode()
391 putc(ch, outfp); in uu_decode()
398 putc(ch, outfp); in uu_decode()
[all …]
/freebsd-12.1/usr.sbin/autofs/
H A Dpopen.c63 FILE *outfp; member
128 close(fileno(p->outfp)); in auto_popen()
137 cur->outfp = fdopen(outfds[0], "r"); in auto_popen()
145 return (cur->outfp); in auto_popen()
159 if (cur->outfp == iop) in auto_pclose()
171 fclose(cur->outfp); in auto_pclose()
/freebsd-12.1/contrib/openbsm/libbsm/
H A Dbsm_io.c889 au_print_xml_header(FILE *outfp) in au_print_xml_header() argument
892 fprintf(outfp, "<?xml version='1.0' ?>\n"); in au_print_xml_header()
893 fprintf(outfp, "<audit>\n"); in au_print_xml_header()
900 au_print_xml_footer(FILE *outfp) in au_print_xml_footer() argument
903 fprintf(outfp, "</audit>\n"); in au_print_xml_footer()
4315 print_arb_tok(outfp, tok, del, oflags); in au_print_flags_tok()
4327 print_exit_tok(outfp, tok, del, oflags); in au_print_flags_tok()
4339 print_file_tok(outfp, tok, del, oflags); in au_print_flags_tok()
4355 print_ip_tok(outfp, tok, del, oflags); in au_print_flags_tok()
4359 print_ipc_tok(outfp, tok, del, oflags); in au_print_flags_tok()
[all …]
/freebsd-12.1/usr.sbin/uefisign/
H A Dchild.c232 FILE *outfp = NULL, *infp = NULL; in child() local
237 outfp = checked_fopen(outpath, "w"); in child()
270 save(x, outfp, outpath); in child()
/freebsd-12.1/usr.bin/sdiff/
H A Dsdiff.c77 FILE *outfp; /* file to save changes to */ variable
325 if (outfile && (outfp = fopen(outfile, "w")) == NULL) in main()
570 fprintf(outfp, "%s\n", s1); in prompt()
579 fprintf(outfp, "%s\n", s2); in prompt()
607 fclose(outfp); in prompt()
1009 if (outfp) in processq()
1012 fprintf(outfp, "%s\n", left); in processq()
H A Dextern.h9 extern FILE *outfp; /* file to save changes to */
H A Dedit.c196 nwritten = fwrite(buf, sizeof(*buf), nread, outfp); in eparse()
/freebsd-12.1/contrib/openbsm/bsm/
H A Dlibbsm.h862 void au_print_tok(FILE *outfp, tokenstr_t *tok,
864 void au_print_flags_tok(FILE *outfp, tokenstr_t *tok,
866 void au_print_tok_xml(FILE *outfp, tokenstr_t *tok,
872 void au_print_xml_header(FILE *outfp);
873 void au_print_xml_footer(FILE *outfp);