Lines Matching refs:output
93 FILE *output);
94 static int process_fd (struct convtable *tbl, int fd, FILE *output);
95 static int process_file (struct convtable *tbl, FILE *input, FILE *output);
141 FILE *output; in charmap_conversion() local
144 output = fopen (output_file, "w"); in charmap_conversion()
145 if (output == NULL) in charmap_conversion()
149 output = stdout; in charmap_conversion()
154 if (process_file (cvtbl, stdin, output) != 0) in charmap_conversion()
194 if (process_block (cvtbl, addr, st.st_size, output) < 0) in charmap_conversion()
215 if (process_fd (cvtbl, fd, output) != 0) in charmap_conversion()
236 if (output != stdout) in charmap_conversion()
237 fclose (output); in charmap_conversion()
424 process_block (struct convtable *tbl, char *addr, size_t len, FILE *output) in process_block() argument
473 fputc_unlocked (out->bytes[cnt], output); in process_block()
484 process_fd (struct convtable *tbl, int fd, FILE *output) in process_fd() argument
558 return process_block (tbl, inbuf, actlen, output); in process_fd()
563 process_file (struct convtable *tbl, FILE *input, FILE *output) in process_file() argument
567 return process_fd (tbl, fileno (input), output); in process_file()