/php-src/ext/fileinfo/libmagic/ |
H A D | apptype.c | 109 if (file_printf(ms, "32-bit ") == -1) in file_os2_apptype() 119 if (file_printf(ms, "file_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 | 78 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime() 80 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime() 107 if (file_printf(ms, "cannot open `%s' (%s)", in file_fsmagic() 117 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic() 122 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic() 127 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic() 156 if (file_printf(ms, "%scharacter special (%ld/%ld)", in file_fsmagic() 188 } else if (file_printf(ms, "%sdoor", COMMA) == -1) in file_fsmagic() 209 } else if (file_printf(ms, "%ssocket", COMMA) == -1) in file_fsmagic() 232 } else if (file_printf(ms, "%sempty", COMMA) == -1) in file_fsmagic() [all …]
|
H A D | ascmagic.c | 237 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding() 254 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding() 280 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding() 285 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding() 289 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding() 292 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 296 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding() 299 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 303 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding() 306 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() [all …]
|
H A D | readcdf.c | 205 if (file_printf(ms, ", %s: %s", in cdf_file_property_info() 222 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info() 233 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info() 271 if (file_printf(ms, "%s%s", in cdf_file_catalog() 304 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info() 331 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info() 405 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info() 589 if (file_printf(ms, "CLSID %s, ", in file_trycdf() 604 if (file_printf(ms, in file_trycdf() 659 if (file_printf(ms, in file_trycdf() [all …]
|
H A D | magic.c | 93 if (file_printf(ms, "writable, ") == -1) in unreadable_info() 97 if (file_printf(ms, "executable, ") == -1) in unreadable_info() 107 if (file_printf(ms, "writable, ") == -1) in unreadable_info() 113 if (file_printf(ms, "regular file, ") == -1) in unreadable_info() 115 if (file_printf(ms, "no read permission") == -1) in unreadable_info()
|
H A D | funcs.c | 170 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function 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() [all …]
|
H A D | is_csv.c | 153 if (file_printf(ms, "text/csv") == -1) in file_is_csv() 158 if (file_printf(ms, "CSV %s%stext", code ? code : "", in file_is_csv()
|
H A D | softmagic.c | 446 if (file_printf(ms, " ") == -1) in match() 662 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 695 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 704 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 713 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 721 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 729 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 806 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 819 if (file_printf(ms, F(ms, desc, "%s"), in mprint() 826 if (file_printf(ms, F(ms, desc, "%s"), in mprint() [all …]
|
H A D | is_simh.c | 165 if (file_printf(ms, "application/SIMH-tape-data") == -1) in file_is_simh() 170 if (file_printf(ms, "SIMH tape data") == -1) in file_is_simh()
|
H A D | is_json.c | 442 if (file_printf(ms, "application/%s", in file_is_json() 447 if (file_printf(ms, "%sJSON text data", in file_is_json() 452 if (file_printf(ms, " (%" SIZE_T_FORMAT "u object%s, %" SIZE_T_FORMAT in file_is_json()
|
H A D | is_tar.c | 84 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
|
H A D | compress.c | 261 return file_printf(ms, "ERROR:[%s: %s]", methodname(i), buf); in format_decompression_error() 267 return file_printf(ms, "application/x-decompression-error-%s-%s", in format_decompression_error() 334 if ((file_printf(ms, in file_zmagic() 350 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic() 356 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
H A D | file.h | 534 file_protected int file_printf(struct magic_set *, const char *, ...)
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 896 - if (file_printf(ms, ", with very long lines (%" 1275 if (file_printf(ms, "%s", rbuf) == -1) { 1283 if (!mime && file_printf(ms, ")") == -1) 1597 - file_printf(ms, "inode/symlink") 1797 - } else if (file_printf(ms, 1836 - } else if (file_printf(ms, 1986 if (file_printf(ms, "%s", code_mime) == -1) 2040 - if (file_printf(ms, "%s%s", rep, 2891 if (file_printf(ms, "%s%s", 2901 if (file_printf(ms, "application/CDFV2") == -1) [all …]
|