Lines Matching refs:file_printf
176 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
201 (void)file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
204 (void)file_printf(ms, " "); in file_error_core()
207 (void)file_printf(ms, " (%s)", strerror(error)); in file_error_core()
260 return file_printf(ms, FILE_SEPARATOR); in file_separator()
297 file_printf(ms, "application/%s", in file_default()
303 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
308 if (file_printf(ms, "???") == -1) in file_default()
464 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
490 if (file_printf(ms, "%s", def) == -1) in file_buffer()
497 if (file_printf(ms, "; charset=") == -1) in file_buffer()
499 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
658 if (file_printf(ms, "%s%s", rep, in file_replace()