/PHP-5.6/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 | 81 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime() 83 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime() 132 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic() 137 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic() 142 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic() 166 if (file_printf(ms, "%scharacter special (%d/%d/%d)", in file_fsmagic() 171 if (file_printf(ms, "%scharacter special (%ld/%ld)", in file_fsmagic() 177 if (file_printf(ms, "%scharacter special", COMMA) == -1) in file_fsmagic() 201 } else if (file_printf(ms, "%sdoor", COMMA) == -1) in file_fsmagic() 221 } else if (file_printf(ms, "%ssocket", COMMA) == -1) in file_fsmagic() [all …]
|
H A D | ascmagic.c | 212 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding() 229 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding() 254 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding() 258 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding() 262 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding() 265 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 269 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding() 272 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() 276 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding() 279 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding() [all …]
|
H A D | readcdf.c | 164 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf, 169 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf, 255 if (file_printf(ms, "application/%s", str) == -1) 280 if (file_printf(ms, ", %s Endian", 291 if (file_printf(ms, ", Os: MacOS, Version %d.%d", 306 if (file_printf(ms, ", %s", str) == -1) 403 if (file_printf(ms, "%s", str) == -1) 410 if (file_printf(ms, "application/%s", str) == -1) 427 if (file_printf(ms, 431 if (file_printf(ms, ", %s%s", corrupt, expn) == -1) [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() 288 file_printf(ms, "%s", mime ? type : def) == -1) { in file_buffer() 294 if (file_printf(ms, "; charset=") == -1) in file_buffer() 296 if (file_printf(ms, "%s", code_mime) == -1) in file_buffer()
|
H A D | softmagic.c | 322 file_printf(ms, " ") == -1) in match() 400 if (file_printf(ms, F(m->desc, "%c"), in mprint() 422 if (file_printf(ms, F(m->desc, "%hu"), in mprint() 444 if (file_printf(ms, F(m->desc, "%u"), in mprint() 466 if (file_printf(ms, F(m->desc, "%llu"), in mprint() 517 if (file_printf(ms, F(m->desc, "%s"), in mprint() 528 if (file_printf(ms, F(m->desc, "%s"), in mprint() 537 if (file_printf(ms, F(m->desc, "%s"), in mprint() 546 if (file_printf(ms, F(m->desc, "%s"), in mprint() 555 if (file_printf(ms, F(m->desc, "%s"), in mprint() [all …]
|
H A D | magic.c | 238 if (file_printf(ms, "writable, ") == -1) in unreadable_info() 241 if (file_printf(ms, "executable, ") == -1) in unreadable_info() 244 if (file_printf(ms, "regular file, ") == -1) in unreadable_info() 246 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 | 129 if (file_printf(ms, mime ? in file_zmagic() 134 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
H A D | file.h | 421 protected int file_printf(struct magic_set *, const char *, ...);
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 1514 - file_printf(ms, "inode/symlink") 1605 - if (file_printf(ms, "cannot open `%s' (%s)", 1724 - } else if (file_printf(ms, 1753 - } else if (file_printf(ms, 1821 - if (file_printf(ms, " ") == -1) 1939 - file_printf(ms, " (%s)", strerror(error)); 1947 + file_printf(ms, "%s", buf); 2122 - if (file_printf(ms, "%s%s", rep, 2930 + if (file_printf(ms, ", %s", str) == -1) 3266 - if (file_printf(ms, "%s", rbuf) == -1) [all …]
|
/PHP-5.6/ |
H A D | NEWS | 2120 . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in 2734 . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in
|