Home
last modified time | relevance | path

Searched refs:file_printf (Results 1 – 11 of 11) sorted by relevance

/PHP-7.3/ext/fileinfo/libmagic/
H A Dapptype.c109 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 Dfsmagic.c75 if (file_printf(ms, "inode/%s", str) == -1) in handle_mime()
77 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime()
126 if (file_printf(ms, "%ssetuid", COMMA) == -1) in file_fsmagic()
131 if (file_printf(ms, "%ssetgid", COMMA) == -1) in file_fsmagic()
136 if (file_printf(ms, "%ssticky", COMMA) == -1) in file_fsmagic()
160 if (file_printf(ms, "%scharacter special (%d/%d/%d)", in file_fsmagic()
165 if (file_printf(ms, "%scharacter special (%ld/%ld)", in file_fsmagic()
195 } else if (file_printf(ms, "%sdoor", COMMA) == -1) in file_fsmagic()
216 } else if (file_printf(ms, "%ssocket", COMMA) == -1) in file_fsmagic()
239 } else if (file_printf(ms, "%sempty", COMMA) == -1) in file_fsmagic()
[all …]
H A Dascmagic.c220 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding()
237 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding()
262 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding()
266 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding()
270 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding()
273 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
277 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding()
280 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
284 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding()
287 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
[all …]
H A Dreadcdf.c277 if (file_printf(ms, "%s%s", in cdf_file_catalog()
285 if (file_printf(ms, "application/CDFV2") == -1) in cdf_file_catalog()
310 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info()
337 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info()
411 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info()
595 if (file_printf(ms, "CLSID %s, ", in file_trycdf()
610 if (file_printf(ms, in file_trycdf()
614 if (file_printf(ms, "application/x-hwp") == -1) in file_trycdf()
662 if (file_printf(ms, in file_trycdf()
666 if (file_printf(ms, ", %s", expn) == -1) in file_trycdf()
[all …]
H A Dfuncs.c60 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()
305 file_printf(ms, "%s", type) == -1) in file_buffer()
308 if (file_printf(ms, "UNKNUNKN") == -1) in file_buffer()
311 if (file_printf(ms, "???") == -1) in file_buffer()
314 if (file_printf(ms, "%s", def) == -1) in file_buffer()
320 if (file_printf(ms, "; charset=") == -1) in file_buffer()
[all …]
H A Dsoftmagic.c378 file_printf(ms, " ") == -1) in match()
531 if (file_printf(ms, F(ms, desc, "%d"), in mprint()
553 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
637 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
650 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
660 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
669 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
678 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
687 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
2215 if (file_printf(ms, "%s", p) == -1) in handle_annotation()
[all …]
H A Dmagic.c103 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 Dis_tar.c81 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
H A Dcompress.c188 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 Dfile.h457 protected int file_printf(struct magic_set *, const char *, ...);
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch1875 prv = file_printf(ms, "%s ERROR: %s",
1879 if (file_printf(ms, "%s", rbuf) == -1) {
1887 if (!mime && file_printf(ms, ")") == -1)
2477 - file_printf(ms, "inode/symlink")
2736 - } else if (file_printf(ms,
2766 - } else if (file_printf(ms,
2915 - file_printf(ms, " ");
2926 + file_printf(ms, "%s", buf);
3072 - if (file_printf(ms, "%s%s", rep,
3841 if (file_printf(ms, "%s%s",
[all …]

Completed in 29 milliseconds