| /netbsd-src/external/gpl2/groff/dist/src/devices/grops/ |
| H A D | psrm.cpp | 38 static void print_ps_string(const string &s, FILE *outfp); 138 void print_type_and_name(FILE *outfp); 158 void resource::print_type_and_name(FILE *outfp) in print_type_and_name() argument 160 fputs(resource_table[type], outfp); in print_type_and_name() 161 putc(' ', outfp); in print_type_and_name() 162 print_ps_string(name, outfp); in print_type_and_name() 164 putc(' ', outfp); in print_type_and_name() 165 print_ps_string(version, outfp); in print_type_and_name() 166 fprintf(outfp, " %u", revision); in print_type_and_name() 276 void resource_manager::print_resources_comment(unsigned flag, FILE *outfp) in print_resources_comment() argument [all …]
|
| H A D | ps.h | 91 void supply_resource(resource *r, int rank, FILE *outfp, 93 void process_file(int rank, FILE *fp, const char *filename, FILE *outfp); 98 void print_resources_comment(unsigned flag, FILE *outfp); 99 void print_extensions_comment(FILE *outfp); 100 void print_language_level_comment(FILE *outfp); 101 int do_begin_resource(const char *ptr, int rank, FILE *fp, FILE *outfp); 102 int do_include_resource(const char *ptr, int rank, FILE *fp, FILE *outfp); 103 int do_begin_document(const char *ptr, int rank, FILE *fp, FILE *outfp); 104 int do_include_document(const char *ptr, int rank, FILE *fp, FILE *outfp); 105 int do_begin_procset(const char *ptr, int rank, FILE *fp, FILE *outfp); [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/preproc/refer/ |
| H A D | refer.cpp | 40 static FILE *outfp = stdout; variable 118 outfp = stdout; in main() 439 fprintf(outfp, ".lf 1 %s\n", filename); in do_file() 510 if (accumulate && outfp == stdout) in do_file() 635 label_processing_state state(citation, ncitations, outfp); in output_pending_line() 641 put_string(pending_line, outfp); in output_pending_line() 644 put_string(pending_lf_lines, outfp); in output_pending_line() 650 fprintf(outfp, ".lf %d %s\n", current_lineno, current_filename); in output_pending_line() 682 outfp = xtmpfile(); in divert_to_temporary_file() 781 fputs(".ds [F ", outfp); in immediately_output_references() [all …]
|
| /netbsd-src/sys/dev/microcode/siop/ |
| H A D | ncr53cxxx.c | 298 FILE *outfp; variable 405 outfp = fopen (outputfile, "w"); in main() 413 if (outfp) { in main() 416 fprintf(outfp, "/*\t$NetBSD: ncr53cxxx.c,v 1.17 2022/04/21 21:31:11 andvar Exp $\t*/\n"); in main() 417 fprintf(outfp, "/*\n"); in main() 418 fprintf(outfp, " *\tDO NOT EDIT - this file is automatically generated.\n"); in main() 420 fprintf(outfp, " *\tcreated from %s on %s", sourcefile, ctime(&cur_time)); in main() 421 fprintf(outfp, " */\n"); in main() 455 if (outfp && !partial_flag) { in main() 456 fprintf (outfp, "\nu_int32_t INSTRUCTIONS = 0x%08x;\n", ninsts); in main() [all …]
|
| /netbsd-src/usr.sbin/autofs/ |
| H A D | popen.c | 66 FILE *outfp; member 131 close(fileno(p->outfp)); in auto_popen() 140 cur->outfp = fdopen(outfds[0], "r"); in auto_popen() 148 return cur->outfp; in auto_popen() 162 if (cur->outfp == iop) in auto_pclose() 174 fclose(cur->outfp); in auto_pclose()
|
| /netbsd-src/usr.sbin/lockstat/ |
| H A D | main.c | 152 static FILE *outfp; variable 262 outfp = fdopen(fd, "w"); in main() 264 outfp = stdout; in main() 377 fprintf(outfp, "Elapsed time: %.2f seconds.", ms / MILLI); in main() 379 fprintf(outfp, " Displaying "); in main() 381 fprintf(outfp, "per-CPU "); in main() 383 fprintf(outfp, "per-second "); in main() 384 fprintf(outfp, "averages."); in main() 386 putc('\n', outfp); in main() 399 fprintf(outfp, "None of the selected events were recorded.\n"); in main() [all …]
|
| /netbsd-src/usr.bin/sort/ |
| H A D | msort.c | 136 fmerge(struct filelist *filelist, int nfiles, FILE *outfp, struct field *ftbl) in fmerge() argument 149 merge_sort(outfp, putline, ftbl); in fmerge() 153 merge_sort(FILE *outfp, put_func_t put, struct field *ftbl) in merge_sort() argument 161 merge_sort_fstack(outfp, put, ftbl); in merge_sort() 182 merge_sort_fstack(outfp, put, ftbl); in merge_sort() 196 merge_sort_fstack(FILE *outfp, put_func_t put, struct field *ftbl) in merge_sort_fstack() argument 255 put(cfile->rec, outfp); in merge_sort_fstack() 294 put(new_rec, outfp); in merge_sort_fstack()
|
| H A D | sort.c | 126 FILE *outfp = NULL; in main() local 321 outfp = stdout; in main() 343 if ((outfp = fdopen(outfd, "w")) == NULL) in main() 348 if ((outfp = fopen(outfile, "w")) == NULL) in main() 353 fmerge(&filelist, num_input_files, outfp, fldtab); in main() 355 fsort(&filelist, num_input_files, outfp, fldtab); in main()
|
| H A D | fsort.c | 82 fsort(struct filelist *filelist, int nfiles, FILE *outfp, struct field *ftbl) in fsort() argument 177 append(keylist, nelem, outfp, in fsort() 192 merge_sort(outfp, in fsort()
|
| /netbsd-src/external/gpl2/groff/dist/src/utils/addftinfo/ |
| H A D | addftinfo.cpp | 164 static void convert_font(const font_params ¶m, FILE *infp, FILE *outfp) in convert_font() argument 168 put_string(s, outfp); in convert_font() 184 putc(*q, outfp); in convert_font() 217 fputs(p, outfp); in convert_font()
|
| /netbsd-src/external/bsd/openpam/dist/lib/libpam/ |
| H A D | openpam_ttyconv.c | 350 FILE *infp, *outfp, *errfp; in openpam_ttyconv() local 364 if ((outfp = infp = errfp = fopen(_PATH_TTY, "w+")) == NULL) { in openpam_ttyconv() 366 outfp = stderr; in openpam_ttyconv() 391 fputs(msg[i]->msg, outfp); in openpam_ttyconv() 394 fputc('\n', outfp); in openpam_ttyconv()
|