Searched refs:file_printf (Results 1 - 10 of 10) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapptype.c109 if (file_printf(ms, "32-bit ") == -1)
112 if (file_printf(ms, "physical device driver") == -1)
115 if (file_printf(ms, "virtual device driver") == -1)
119 if (file_printf(ms, "protected ") == -1)
121 if (file_printf(ms, "DLL") == -1)
124 if (file_printf(ms, "Windows executable") == -1)
134 if (file_printf(ms, "DOS executable") == -1)
138 if (file_printf(ms, ", magic(4)-> ") == -1)
143 if (file_printf(ms, "bound executable") == -1)
146 if (file_printf(m
[all...]
H A Dascmagic.c199 if (file_printf(ms, "%s", subtype_mime) == -1)
202 if (file_printf(ms, "text/plain") == -1)
213 if (file_printf(ms, ", ") == -1)
230 if (file_printf(ms, "%s", code) == -1)
234 if (file_printf(ms, " %s", subtype) == -1)
238 if (file_printf(ms, " %s", type) == -1)
242 if (file_printf(ms, " executable") == -1)
246 if (file_printf(ms, ", with very long lines") == -1)
255 if (file_printf(ms, ", with") == -1)
259 if (file_printf(m
[all...]
H A Dfile.h435 protected int file_printf(struct magic_set *, const char *, ...);
H A Dfsmagic.c85 if (file_printf(ms, "inode/%s", str) == -1)
87 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms,
91 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1)
135 if (file_printf(ms, "%ssetuid", COMMA) == -1)
140 if (file_printf(ms, "%ssetgid", COMMA) == -1)
145 if (file_printf(ms, "%ssticky", COMMA) == -1)
169 if (file_printf(ms, "%scharacter special (%d/%d/%d)",
174 if (file_printf(ms, "%scharacter special (%ld/%ld)",
180 if (file_printf(ms, "%scharacter special", COMMA) == -1)
195 } else if (file_printf(m
[all...]
H A Dis_tar.c79 if (file_printf(ms, "%s", mime ? "application/x-tar" :
H A Dmagic.c239 if (file_printf(ms, "writable, ") == -1)
242 if (file_printf(ms, "executable, ") == -1)
246 if (file_printf(ms, "regular file, ") == -1)
248 if (file_printf(ms, "no read permission") == -1)
H A Dcompress.c137 if (file_printf(ms, mime ?
142 if (!mime && file_printf(ms, ")") == -1)
H A Dreadcdf.c156 if (NOTMIME(ms) && file_printf(ms, ", %s: %hd", buf,
161 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf,
166 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf,
171 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
176 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
201 if (file_printf(ms, ", %s: %s",
218 if (NOTMIME(ms) && file_printf(ms,
232 if (NOTMIME(ms) && file_printf(ms,
247 if (file_printf(ms, "application/%s", str) == -1)
263 if (file_printf(m
[all...]
H A Dfuncs.c62 file_printf(struct magic_set *ms, const char *fmt, ...) function
102 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno);
109 file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error));
111 file_printf(ms, "%s", buf);
275 file_printf(ms, "%s", mime ? type : def) == -1) {
281 if (file_printf(ms, "; charset=") == -1)
283 if (file_printf(ms, "%s", code_mime) == -1)
H A Dsoftmagic.c344 file_printf(ms, " ") == -1)
421 if (file_printf(ms, F(ms, m, "%s"), buf) == -1)
425 if (file_printf(ms, F(ms, m, "%d"),
443 if (file_printf(ms, F(ms, m, "%s"), buf) == -1)
447 if (file_printf(ms, F(ms, m, "%u"),
465 if (file_printf(ms, F(ms, m, "%s"), buf) == -1)
469 if (file_printf(ms, F(ms, m, "%u"), (uint32_t) v) == -1)
486 if (file_printf(ms, F(ms, m, "%s"), buf) == -1)
490 if (file_printf(ms, F(ms, m, "%" INT64_T_FORMAT "u"),
503 if (file_printf(m
[all...]

Completed in 11 milliseconds