/PHP-7.2/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, "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 | 85 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime() 87 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime() 135 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic() 140 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic() 145 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic() 169 if (file_printf(ms, "%scharacter special (%d/%d/%d)", in file_fsmagic() 174 if (file_printf(ms, "%scharacter special (%ld/%ld)", in file_fsmagic() 204 } else if (file_printf(ms, "%sdoor", COMMA) == -1) in file_fsmagic() 224 } else if (file_printf(ms, "%ssocket", COMMA) == -1) in file_fsmagic() 246 } else if (file_printf(ms, "%sempty", COMMA) == -1) in file_fsmagic() [all …]
|
H A D | ascmagic.c | 213 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding() 230 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding() 255 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding() 259 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding() 263 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding() 266 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 270 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding() 273 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 277 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding() 280 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() [all …]
|
H A D | readcdf.c | 274 if (file_printf(ms, "%s%s", in cdf_file_catalog() 282 if (file_printf(ms, "application/CDFV2") == -1) in cdf_file_catalog() 307 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info() 334 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info() 408 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info() 590 if (file_printf(ms, "CLSID %s, ", in file_trycdf() 605 if (file_printf(ms, in file_trycdf() 609 if (file_printf(ms, "application/x-hwp") == -1) in file_trycdf() 657 if (file_printf(ms, in file_trycdf() 661 if (file_printf(ms, ", %s", expn) == -1) in file_trycdf() [all …]
|
H A D | funcs.c | 60 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function 99 file_printf(ms, "line %" SIZE_T_FORMAT "u:", lineno); in file_error_core() 106 file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error)); in file_error_core() 108 file_printf(ms, "%s", buf); in file_error_core() 167 if (file_printf(ms, "\n- ") == -1) in checkdone() 299 file_printf(ms, "%s", type) == -1) in file_buffer() 302 if (file_printf(ms, "UNKNUNKN") == -1) in file_buffer() 305 if (file_printf(ms, "???") == -1) in file_buffer() 308 if (file_printf(ms, "%s", def) == -1) in file_buffer() 314 if (file_printf(ms, "; charset=") == -1) in file_buffer() [all …]
|
H A D | softmagic.c | 368 file_printf(ms, " ") == -1) in match() 458 if (file_printf(ms, F(ms, m, "%d"), in mprint() 480 if (file_printf(ms, F(ms, m, "%u"), in mprint() 564 if (file_printf(ms, F(ms, m, "%s"), in mprint() 577 if (file_printf(ms, F(ms, m, "%s"), in mprint() 587 if (file_printf(ms, F(ms, m, "%s"), in mprint() 596 if (file_printf(ms, F(ms, m, "%s"), in mprint() 605 if (file_printf(ms, F(ms, m, "%s"), in mprint() 614 if (file_printf(ms, F(ms, m, "%s"), in mprint() 693 if (file_printf(ms, F(ms, m, "%s"), in mprint() [all …]
|
H A D | magic.c | 103 if (file_printf(ms, "writable, ") == -1) in unreadable_info() 106 if (file_printf(ms, "executable, ") == -1) in unreadable_info() 110 if (file_printf(ms, "regular file, ") == -1) in unreadable_info() 112 if (file_printf(ms, "no read permission") == -1) in unreadable_info()
|
H A D | is_tar.c | 79 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
|
H A D | compress.c | 188 prv = file_printf(ms, "%s ERROR: %s", in file_zmagic() 199 if ((file_printf(ms, in file_zmagic() 211 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic() 217 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
H A D | file.h | 445 protected int file_printf(struct magic_set *, const char *, ...);
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 1648 - file_printf(ms, "inode/symlink") 1765 - if (file_printf(ms, "cannot open `%s' (%s)", 1884 - } else if (file_printf(ms, 1913 - } else if (file_printf(ms, 2061 - file_printf(ms, " "); 2064 - file_printf(ms, " (%s)", strerror(error)); 2072 + file_printf(ms, "%s", buf); 2132 if (file_printf(ms, "%s", code_mime) == -1) 2197 - if (file_printf(ms, "%s%s", rep, 3316 rval = file_printf(ms, F(ms, m, "%s"), [all …]
|