Searched refs:file_printf (Results 1 - 11 of 11) 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 Dis_tar.c79 if (file_printf(ms, "%s", mime ? "application/x-tar" :
H A Dascmagic.c198 if (file_printf(ms, "%s", subtype_mime) == -1)
201 if (file_printf(ms, "text/plain") == -1)
212 if (file_printf(ms, ", ") == -1)
229 if (file_printf(ms, "%s", code) == -1)
233 if (file_printf(ms, " %s", subtype) == -1)
237 if (file_printf(ms, " %s", type) == -1)
241 if (file_printf(ms, " executable") == -1)
245 if (file_printf(ms, ", with very long lines") == -1)
254 if (file_printf(ms, ", with") == -1)
258 if (file_printf(m
[all...]
H A Dreadcdf.c153 if (NOTMIME(ms) && file_printf(ms, ", %s: %hd", buf,
158 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf,
163 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf,
168 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
173 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
199 if (file_printf(ms, ", %s: %s",
220 if (NOTMIME(ms) && file_printf(ms,
234 if (NOTMIME(ms) && file_printf(ms,
249 if (file_printf(ms, "application/%s", str) == -1)
270 if (file_printf(m
[all...]
H A Dcompress.c129 if (file_printf(ms, mime ?
134 if (!mime && file_printf(ms, ")") == -1)
H A Dfsmagic.c81 if (file_printf(ms, "inode/%s", str) == -1)
83 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms,
87 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1)
132 if (file_printf(ms, "%ssetuid", COMMA) == -1)
137 if (file_printf(ms, "%ssetgid", COMMA) == -1)
142 if (file_printf(ms, "%ssticky", COMMA) == -1)
166 if (file_printf(ms, "%scharacter special (%d/%d/%d)",
171 if (file_printf(ms, "%scharacter special (%ld/%ld)",
177 if (file_printf(ms, "%scharacter special", COMMA) == -1)
192 } else if (file_printf(m
[all...]
H A Dreadelf.c306 if (file_printf(ms, ", corrupted program header size") == -1)
369 if (file_printf(ms, ", for NetBSD") == -1)
389 if (file_printf(ms, " %u.%u", ver_maj, ver_min) == -1)
392 if (file_printf(ms, ".%u", ver_patch) == -1)
396 if (file_printf(ms, "Z") == -1)
400 if (file_printf(ms, "%c", 'A' + ver_rel - 1)
414 if (file_printf(ms, ", for FreeBSD") == -1)
444 if (file_printf(ms, " 4.6.2") == -1)
447 if (file_printf(ms, " %d.%d", desc / 100000,
451 if (file_printf(m
[all...]
H A Dfile.h420 protected int file_printf(struct magic_set *, const char *, ...);
H A Dmagic.c238 if (file_printf(ms, "writable, ") == -1)
241 if (file_printf(ms, "executable, ") == -1)
244 if (file_printf(ms, "regular file, ") == -1)
246 if (file_printf(ms, "no read permission") == -1)
H A Dfuncs.c62 file_printf(struct magic_set *ms, const char *fmt, ...) function
101 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno);
108 file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error));
110 file_printf(ms, "%s", buf);
288 file_printf(ms, "%s", mime ? type : def) == -1) {
294 if (file_printf(ms, "; charset=") == -1)
296 if (file_printf(ms, "%s", code_mime) == -1)
H A Dsoftmagic.c322 file_printf(ms, " ") == -1)
399 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
403 if (file_printf(ms, F(m->desc, "%c"),
421 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
425 if (file_printf(ms, F(m->desc, "%hu"),
443 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
447 if (file_printf(ms, F(m->desc, "%u"),
465 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
469 if (file_printf(ms, F(m->desc, "%llu"),
482 if (file_printf(m
[all...]

Completed in 11 milliseconds