Lines Matching refs:file_printf
170 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
195 (void)file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core()
198 (void)file_printf(ms, " "); in file_error_core()
201 (void)file_printf(ms, " (%s)", strerror(error)); in file_error_core()
254 return file_printf(ms, FILE_SEPARATOR); in file_separator()
291 file_printf(ms, "application/%s", in file_default()
297 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
302 if (file_printf(ms, "???") == -1) in file_default()
472 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
498 if (file_printf(ms, "%s", def) == -1) in file_buffer()
505 if (file_printf(ms, "; charset=") == -1) in file_buffer()
507 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()