Lines Matching refs:file_printf
182 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
207 (void)file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
210 (void)file_printf(ms, " "); in file_error_core()
213 (void)file_printf(ms, " (%s)", strerror(error)); in file_error_core()
266 return file_printf(ms, FILE_SEPARATOR); in file_separator()
303 file_printf(ms, "application/%s", in file_default()
309 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
314 if (file_printf(ms, "???") == -1) in file_default()
470 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
496 if (file_printf(ms, "%s", def) == -1) in file_buffer()
503 if (file_printf(ms, "; charset=") == -1) in file_buffer()
505 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
664 if (file_printf(ms, "%s%s", rep, in file_replace()