| /freebsd-13.1/contrib/file/src/ |
| H A D | apptype.c | 109 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 D | fsmagic.c | 75 file_printf(ms, "inode/symlink") in bad_link() 94 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime() 96 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime() 166 if (file_printf(ms, "cannot open `%s' (%s)", in file_fsmagic() 176 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic() 181 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic() 186 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic() 258 if (file_printf(ms, "%sblock special (%ld/%ld)", in file_fsmagic() 305 } else if (file_printf(ms, in file_fsmagic() 344 } else if (file_printf(ms, in file_fsmagic() [all …]
|
| H A D | readelf.c | 380 if (file_printf(ms, in dophn_core() 950 if (file_printf(ms, in get_offset_from_virtaddr() 1392 if (file_printf(ms, in doshn() 1435 if (file_printf(ms, in doshn() 1454 if (file_printf(ms, in doshn() 1603 if (file_printf(ms, in doshn() 1609 if (file_printf(ms, in doshn() 1617 if (file_printf(ms, in doshn() 1625 if (file_printf(ms, in doshn() 1671 if (file_printf(ms, in dophn_exec() [all …]
|
| H A D | ascmagic.c | 243 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding() 260 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding() 286 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding() 291 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding() 295 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding() 298 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 302 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding() 305 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 309 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding() 312 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() [all …]
|
| H A D | readcdf.c | 216 if (file_printf(ms, ", %s: %s", in cdf_file_property_info() 233 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info() 244 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info() 282 if (file_printf(ms, "%s%s", in cdf_file_catalog() 315 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info() 342 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info() 416 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info() 600 if (file_printf(ms, "CLSID %s, ", in file_trycdf() 615 if (file_printf(ms, in file_trycdf() 670 if (file_printf(ms, in file_trycdf() [all …]
|
| H A D | funcs.c | 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() [all …]
|
| H A D | softmagic.c | 427 if (file_printf(ms, " ") == -1) in match() 641 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 659 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 677 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() 705 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 714 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 801 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 2378 if (file_printf(ms, "%s", m->ext) == -1) in handle_annotation() [all …]
|
| H A D | is_csv.c | 152 if (file_printf(ms, "text/csv") == -1) in file_is_csv() 157 if (file_printf(ms, "CSV text") == -1) in file_is_csv()
|
| H A D | is_json.c | 413 if (file_printf(ms, "application/json") == -1) in file_is_json() 417 if (file_printf(ms, "JSON data") == -1) in file_is_json() 421 if (file_printf(ms, " (%" SIZE_T_FORMAT "u object%s, %" SIZE_T_FORMAT in file_is_json()
|
| H A D | magic.c | 274 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 D | compress.c | 235 return file_printf(ms, "ERROR:[%s: %s]", methodname(i), buf); in format_decompression_error() 241 return file_printf(ms, "application/x-decompression-error-%s-%s", in format_decompression_error() 305 if ((file_printf(ms, in file_zmagic() 320 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic() 326 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
| H A D | is_tar.c | 84 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
|
| H A D | file.h | 507 protected int file_printf(struct magic_set *, const char *, ...)
|
| /freebsd-13.1/contrib/file/ |
| H A D | ChangeLog | 1545 * fix integer underflow in file_printf which can lead to
|