Lines Matching refs:file_printf
130 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
168 file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
175 file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error)); in file_error_core()
177 file_printf(ms, "%s", buf); in file_error_core()
235 return file_printf(ms, "\n- "); in file_separator()
253 file_printf(ms, "application/%s", in file_default()
259 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
264 if (file_printf(ms, "???") == -1) in file_default()
423 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
449 if (file_printf(ms, "%s", def) == -1) in file_buffer()
455 if (file_printf(ms, "; charset=") == -1) in file_buffer()
457 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()