/PHP-7.0/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() 180 if (file_printf(ms, "%scharacter special", COMMA) == -1) 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() [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 | 270 if (file_printf(ms, "%s%s", in cdf_file_catalog() 278 if (file_printf(ms, "application/CDFV2") == -1) in cdf_file_catalog() 303 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info() 330 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info() 431 if (file_printf(ms, "application/CDFV2-%s", in cdf_file_dir_info() 497 if (file_printf(ms, "CLSID %s, ", in file_trycdf() 512 if (file_printf(ms, in file_trycdf() 516 if (file_printf(ms, "application/x-hwp") == -1) in file_trycdf() 567 if (file_printf(ms, "%s", str) == -1) in file_trycdf() 592 if (file_printf(ms, in file_trycdf() [all …]
|
H A D | softmagic.c | 344 file_printf(ms, " ") == -1) in match() 425 if (file_printf(ms, F(ms, m, "%d"), in mprint() 447 if (file_printf(ms, F(ms, m, "%u"), in mprint() 503 if (file_printf(ms, F(ms, m, "%s"), in mprint() 531 if (file_printf(ms, F(ms, m, "%s"), in mprint() 544 if (file_printf(ms, F(ms, m, "%s"), in mprint() 554 if (file_printf(ms, F(ms, m, "%s"), in mprint() 563 if (file_printf(ms, F(ms, m, "%s"), in mprint() 572 if (file_printf(ms, F(ms, m, "%s"), in mprint() 581 if (file_printf(ms, F(ms, m, "%s"), in mprint() [all …]
|
H A D | funcs.c | 62 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function 101 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno); in file_error_core() 108 file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error)); in file_error_core() 110 file_printf(ms, "%s", buf); in file_error_core() 274 file_printf(ms, "%s", mime ? type : def) == -1) { in file_buffer() 280 if (file_printf(ms, "; charset=") == -1) in file_buffer() 282 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
|
H A D | magic.c | 239 if (file_printf(ms, "writable, ") == -1) in unreadable_info() 242 if (file_printf(ms, "executable, ") == -1) in unreadable_info() 246 if (file_printf(ms, "regular file, ") == -1) in unreadable_info() 248 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 | 137 if (file_printf(ms, mime ? in file_zmagic() 142 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
H A D | file.h | 435 protected int file_printf(struct magic_set *, const char *, ...);
|
/PHP-7.0/ext/fileinfo/ |
H A D | libmagic.patch | 1659 - file_printf(ms, "inode/symlink") 1896 - } else if (file_printf(ms, 1925 - } else if (file_printf(ms, 1993 - if (file_printf(ms, " ") == -1) 2108 - file_printf(ms, " (%s)", strerror(error)); 2116 + file_printf(ms, "%s", buf); 2177 if (file_printf(ms, "%s", code_mime) == -1) 2255 - if (file_printf(ms, "%s%s", rep, 3384 rval = file_printf(ms, F(ms, m, "%s"), 3406 if (file_printf(ms, "%s", m->desc) == -1) [all …]
|