Lines Matching refs:config
53 struct OperationConfig *config) in tool_create_output_file() argument
59 DEBUGASSERT(config); in tool_create_output_file()
60 global = config->global; in tool_create_output_file()
63 if(config->file_clobber_mode == CLOBBER_ALWAYS || in tool_create_output_file()
64 (config->file_clobber_mode == CLOBBER_DEFAULT && in tool_create_output_file()
75 if(config->file_clobber_mode == CLOBBER_NEVER && fd == -1) { in tool_create_output_file()
140 struct OperationConfig *config = per->config; in tool_write_cb() local
142 bool is_tty = config->global->isatty; in tool_write_cb()
157 if(config->show_headers) { in tool_write_cb()
159 warnf(config->global, "Header data size exceeds single call write " in tool_write_cb()
166 warnf(config->global, "Data size exceeds single call write limit"); in tool_write_cb()
195 warnf(config->global, "Invalid output struct data for write callback"); in tool_write_cb()
201 if(!outs->stream && !tool_create_output_file(outs, per->config)) in tool_write_cb()
204 if(is_tty && (outs->bytes < 2000) && !config->terminal_binary_ok) { in tool_write_cb()
207 warnf(config->global, "Binary output can mess up your terminal. " in tool_write_cb()
210 config->synthetic_error = TRUE; in tool_write_cb()
360 if(config->readbusy) { in tool_write_cb()
361 config->readbusy = FALSE; in tool_write_cb()
365 if(config->nobuffer) { in tool_write_cb()