Home
last modified time | relevance | path

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

/PHP-8.2/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.c78 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 Dascmagic.c245 if (file_printf(ms, ", ") == -1) in file_ascmagic_with_encoding()
262 if (file_printf(ms, "%s", code) == -1) in file_ascmagic_with_encoding()
288 if (file_printf(ms, ", with") == -1) in file_ascmagic_with_encoding()
293 if (file_printf(ms, " no") == -1) in file_ascmagic_with_encoding()
297 if (file_printf(ms, " CRLF") == -1) in file_ascmagic_with_encoding()
300 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
304 if (file_printf(ms, " CR") == -1) in file_ascmagic_with_encoding()
307 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
311 if (file_printf(ms, " LF") == -1) in file_ascmagic_with_encoding()
314 if (file_printf(ms, ",") == -1) in file_ascmagic_with_encoding()
[all …]
H A Dreadcdf.c207 if (file_printf(ms, ", %s: %s", in cdf_file_property_info()
224 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info()
235 if (NOTMIME(ms) && file_printf(ms, in cdf_file_property_info()
273 if (file_printf(ms, "%s%s", in cdf_file_catalog()
306 if (file_printf(ms, ", %s Endian", in cdf_file_summary_info()
333 if (file_printf(ms, ", %s", str) == -1) in cdf_file_summary_info()
407 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info()
591 if (file_printf(ms, "CLSID %s, ", in file_trycdf()
606 if (file_printf(ms, in file_trycdf()
661 if (file_printf(ms, in file_trycdf()
[all …]
H A Dfuncs.c173 file_printf(struct magic_set *ms, const char *fmt, ...) in file_printf() function
200 (void)file_printf(ms, " "); in file_error_core()
203 (void)file_printf(ms, " (%s)", strerror(error)); in file_error_core()
256 return file_printf(ms, FILE_SEPARATOR); in file_separator()
293 file_printf(ms, "application/%s", in file_default()
299 if (file_printf(ms, "UNKNUNKN") == -1) in file_default()
304 if (file_printf(ms, "???") == -1) in file_default()
463 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
489 if (file_printf(ms, "%s", def) == -1) in file_buffer()
496 if (file_printf(ms, "; charset=") == -1) in file_buffer()
[all …]
H A Dis_csv.c152 if (file_printf(ms, "text/csv") == -1) in file_is_csv()
157 if (file_printf(ms, "CSV text") == -1) in file_is_csv()
H A Dmagic.c97 if (file_printf(ms, "writable, ") == -1) in unreadable_info()
100 if (file_printf(ms, "executable, ") == -1) in unreadable_info()
104 if (file_printf(ms, "regular file, ") == -1) in unreadable_info()
106 if (file_printf(ms, "no read permission") == -1) in unreadable_info()
H A Dsoftmagic.c432 if (file_printf(ms, " ") == -1) in match()
655 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
673 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
691 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
701 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
710 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
719 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
728 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
788 rval = file_printf(ms, F(ms, desc, "%s"), in mprint()
815 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
[all …]
H A Dis_json.c413 if (file_printf(ms, "application/json") == -1) in file_is_json()
417 if (file_printf(ms, "JSON data") == -1) in file_is_json()
421 if (file_printf(ms, " (%" SIZE_T_FORMAT "u object%s, %" SIZE_T_FORMAT in file_is_json()
H A Dis_tar.c84 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
H A Dcompress.c237 return file_printf(ms, "ERROR:[%s: %s]", methodname(i), buf); in format_decompression_error()
243 return file_printf(ms, "application/x-decompression-error-%s-%s", in format_decompression_error()
307 if ((file_printf(ms, in file_zmagic()
322 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic()
328 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
H A Dfile.h493 protected int file_printf(struct magic_set *, const char *, ...);
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch1392 if (file_printf(ms, "%s", rbuf) == -1) {
1400 if (!mime && file_printf(ms, ")") == -1)
1818 - file_printf(ms, "inode/symlink")
2018 - } else if (file_printf(ms,
2057 - } else if (file_printf(ms,
2221 if (file_printf(ms, "%s", code_mime) == -1)
2277 - if (file_printf(ms, "%s%s", rep,
3061 if (file_printf(ms, "%s%s",
3071 if (file_printf(ms, "application/CDFV2") == -1)
3208 if (file_printf(ms, " ") == -1)
[all …]

Completed in 33 milliseconds