Lines Matching refs:file_printf
172 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
197 (void)file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
200 (void)file_printf(ms, " "); in file_error_core()
203 (void)file_printf(ms, " (%s)", strerror(error)); in file_error_core()
256 return file_printf(ms, FILE_SEPARATOR); in file_separator()
293 file_printf(ms, "application/%s", in file_default()
299 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
304 if (file_printf(ms, "???") == -1) in file_default()
449 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
475 if (file_printf(ms, "%s", def) == -1) in file_buffer()
482 if (file_printf(ms, "; charset=") == -1) in file_buffer()
484 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
645 if (file_printf(ms, "%s%s", rep, in file_replace()