Home
last modified time | relevance | path

Searched refs:file_printf (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/file/src/
H A Dfsmagic.c72 file_printf(ms, "inode/symlink") in bad_link()
91 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime()
93 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime()
163 if (file_printf(ms, "cannot open `%s' (%s)", in file_fsmagic()
173 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic()
178 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic()
183 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic()
255 if (file_printf(ms, "%sblock special (%ld/%ld)", in file_fsmagic()
302 } else if (file_printf(ms, in file_fsmagic()
332 } else if (file_printf(ms, in file_fsmagic()
[all …]
H A Dapptype.c109 if (file_printf(ms, "32-bit ") == -1) in file_os2_apptype()
119 if (file_printf(ms, "protected ") == -1) in file_os2_apptype()
121 if (file_printf(ms, "DLL") == -1) in file_os2_apptype()
124 if (file_printf(ms, "Windows executable") == -1) in file_os2_apptype()
134 if (file_printf(ms, "DOS executable") == -1) in file_os2_apptype()
138 if (file_printf(ms, ", magic(4)-> ") == -1) in file_os2_apptype()
143 if (file_printf(ms, "bound executable") == -1) in file_os2_apptype()
146 if (file_printf(ms, "PM executable") == -1) in file_os2_apptype()
155 if (file_printf(ms, " [NOTWINDOWCOMPAT]") == -1) in file_os2_apptype()
159 if (file_printf(ms, " [WINDOWCOMPAT]") == -1) in file_os2_apptype()
[all …]
H A Dascmagic.c220 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding()
237 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding()
262 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding()
266 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding()
270 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding()
273 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
277 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding()
280 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
284 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding()
287 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
[all …]
H A Dreadelf.c439 if (file_printf(ms, "Z") == -1) in do_note_netbsd_version()
595 if (file_printf(ms, "Hurd") == -1) in do_os_note()
1338 if (file_printf(ms, in doshn()
1413 if (file_printf(ms, in doshn()
1446 if (file_printf(ms, in doshn()
1494 if (file_printf(ms, in doshn()
1502 if (file_printf(ms, in doshn()
1508 if (file_printf(ms, in doshn()
1516 if (file_printf(ms, in doshn()
1524 if (file_printf(ms, in doshn()
[all …]
H A Dreadcdf.c215 if (file_printf(ms, ", %s: %s", in cdf_file_property_info()
232 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info()
243 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info()
281 if (file_printf(ms, "%s%s", in cdf_file_catalog()
314 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info()
341 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info()
415 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info()
599 if (file_printf(ms, "CLSID %s, ", in file_trycdf()
614 if (file_printf(ms, in file_trycdf()
666 if (file_printf(ms, in file_trycdf()
[all …]
H A Dfuncs.c113 file_printf(ms, " "); in file_error_core()
116 file_printf(ms, " (%s)", strerror(error)); in file_error_core()
170 if (file_printf(ms, "\n- ") == -1) in checkdone()
286 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
312 file_printf(ms, "%s", type) == -1) in file_buffer()
315 if (file_printf(ms, "UNKNUNKN") == -1) in file_buffer()
318 if (file_printf(ms, "???") == -1) in file_buffer()
321 if (file_printf(ms, "%s", def) == -1) in file_buffer()
327 if (file_printf(ms, "; charset=") == -1) in file_buffer()
329 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
[all …]
H A Dsoftmagic.c370 file_printf(ms, " ") == -1) in match()
540 if (file_printf(ms, F(ms, desc, "%d"), in mprint()
562 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
646 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
659 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
669 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
678 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
687 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
696 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
2206 if (file_printf(ms, "%s", p) == -1) in handle_annotation()
[all …]
H A Dcompress.c193 return file_printf(ms, "ERROR:[%s: %s]", methodname(i), buf); in format_decompression_error()
199 return file_printf(ms, "application/x-decompression-error-%s-%s", in format_decompression_error()
258 if ((file_printf(ms, in file_zmagic()
270 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic()
276 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
H A Dmagic.c274 if (file_printf(ms, "writable, ") == -1) in unreadable_info()
277 if (file_printf(ms, "executable, ") == -1) in unreadable_info()
281 if (file_printf(ms, "regular file, ") == -1) in unreadable_info()
283 if (file_printf(ms, "no read permission") == -1) in unreadable_info()
H A Dis_tar.c81 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
H A Dfile.h461 protected int file_printf(struct magic_set *, const char *, ...)
/freebsd-12.1/contrib/file/
H A DChangeLog1295 * fix integer underflow in file_printf which can lead to