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 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 Dcompress.c129 if (file_printf(ms, mime ?
134 if (!mime && file_printf(ms, ")") == -1)
H A Dreadcdf.c159 if (NOTMIME(ms) && file_printf(ms, ", %s: %hd", buf,
164 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf,
169 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf,
174 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
179 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
205 if (file_printf(ms, ", %s: %s",
226 if (NOTMIME(ms) && file_printf(ms,
240 if (NOTMIME(ms) && file_printf(ms,
255 if (file_printf(ms, "application/%s", str) == -1)
276 if (file_printf(m
[all...]
H A Dfile.h420 protected int file_printf(struct magic_set *, const char *, ...);
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)
131 if (file_printf(ms, "%ssetuid", COMMA) == -1)
136 if (file_printf(ms, "%ssetgid", COMMA) == -1)
141 if (file_printf(ms, "%ssticky", COMMA) == -1)
165 if (file_printf(ms, "%scharacter special (%d/%d/%d)",
170 if (file_printf(ms, "%scharacter special (%ld/%ld)",
176 if (file_printf(ms, "%scharacter special", COMMA) == -1)
191 } else if (file_printf(m
[all...]
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);
287 file_printf(ms, "%s", mime ? type : def) == -1) {
293 if (file_printf(ms, "; charset=") == -1)
295 if (file_printf(ms, "%s", code_mime) == -1)
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 Dsoftmagic.c322 file_printf(ms, " ") == -1)
398 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
402 if (file_printf(ms, F(m->desc, "%c"),
420 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
424 if (file_printf(ms, F(m->desc, "%hu"),
442 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
446 if (file_printf(ms, F(m->desc, "%u"),
464 if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
468 if (file_printf(ms, F(m->desc, "%llu"),
481 if (file_printf(m
[all...]

Completed in 25 milliseconds