Home
last modified time | relevance | path

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

/freebsd-13.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-13.1/lib/libpmc/pmu-events/
H A Djevents.c324 FILE *outfp; member
343 FILE *outfp = pd->outfp; in print_events_table_entry() local
350 fprintf(outfp, "{\n"); in print_events_table_entry()
372 fprintf(outfp, "},\n"); in print_events_table_entry()
455 fprintf(outfp, "{\n"); in print_events_table_suffix()
461 fprintf(outfp, "},\n"); in print_events_table_suffix()
766 fprintf(outfp, "{\n"); in print_mapping_table_suffix()
869 FILE *outfp; in create_empty_mapping() local
875 if (!outfp) { in create_empty_mapping()
883 fclose(outfp); in create_empty_mapping()
[all …]
/freebsd-13.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-13.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-13.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-13.1/usr.sbin/uefisign/
H A Dchild.c231 FILE *outfp = NULL, *infp = NULL; in child() local
236 outfp = checked_fopen(outpath, "w"); in child()
269 save(x, outfp, outpath); in child()
/freebsd-13.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-13.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);
/freebsd-13.1/sys/kern/
H A Dvfs_syscalls.c4872 struct file *infp, *outfp; in kern_copy_file_range() local
4879 infp = outfp = NULL; in kern_copy_file_range()
4909 error = fget_write(td, outfd, &cap_write_rights, &outfp); in kern_copy_file_range()
4912 if (outfp->f_ops == &badfileops) { in kern_copy_file_range()
4916 if (outfp->f_vnode == NULL) { in kern_copy_file_range()
4925 outoffp = &outfp->f_offset; in kern_copy_file_range()
4930 outvp = outfp->f_vnode; in kern_copy_file_range()
4932 if ((outfp->f_flag & (FWRITE | FAPPEND)) != FWRITE || in kern_copy_file_range()
4968 flags, infp->f_cred, outfp->f_cred, td); in kern_copy_file_range()
4978 if (outfp != NULL) in kern_copy_file_range()
[all …]