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

/macosx-10.10.1/file-46/file/src/
H A Dapptype.c108 if (file_printf(ms, "32-bit ") == -1)
111 if (file_printf(ms, "physical device driver") == -1)
114 if (file_printf(ms, "virtual device driver") == -1)
118 if (file_printf(ms, "protected ") == -1)
120 if (file_printf(ms, "DLL") == -1)
123 if (file_printf(ms, "Windows executable") == -1)
133 if (file_printf(ms, "DOS executable") == -1)
137 if (file_printf(ms, ", magic(4)-> ") == -1)
142 if (file_printf(ms, "bound executable") == -1)
145 if (file_printf(m
[all...]
H A Dfsmagic.c69 file_printf(ms, "application/x-symlink")
81 if (file_printf(ms, errfmt, buf) == -1)
91 if (file_printf(ms, "application/%s", str) == -1)
93 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms,
97 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1)
142 if (file_printf(ms, "cannot open `%s' (%s)",
151 if (file_printf(ms, "setuid ") == -1)
156 if (file_printf(ms, "setgid ") == -1)
161 if (file_printf(ms, "sticky ") == -1)
171 } else if (file_printf(m
[all...]
H A Dreadcdf.c61 if (NOTMIME(ms) && file_printf(ms, ", %s: %hd", buf,
66 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf,
71 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf,
97 if (file_printf(ms, ", %s: %s",
122 if (NOTMIME(ms) && file_printf(ms,
132 if (NOTMIME(ms) && file_printf(ms,
145 if (file_printf(ms, "application/%s", str) == -1)
163 if (file_printf(ms, "CDF V2 Document") == -1)
166 if (file_printf(ms, ", %s Endian",
171 if (file_printf(m
[all...]
H A Dascmagic.c237 if (file_printf(ms, "%s", subtype_mime) == -1)
240 if (file_printf(ms, "text/plain") == -1)
245 if (file_printf(ms, "%s", code) == -1)
249 if (file_printf(ms, " %s", subtype) == -1)
253 if (file_printf(ms, " %s", type) == -1)
257 if (file_printf(ms, ", with very long lines") == -1)
266 if (file_printf(ms, ", with") == -1)
270 if (file_printf(ms, " no") == -1)
274 if (file_printf(ms, " CRLF") == -1)
277 if (file_printf(m
[all...]
H A Dreadelf.c308 if (file_printf(ms, ", corrupted program header size") == -1)
392 (void)file_printf(ms, ", bad note name size 0x%lx",
398 (void)file_printf(ms, ", bad note description size 0x%lx",
430 if (file_printf(ms, ", for GNU/") == -1)
434 if (file_printf(ms, "Linux") == -1)
438 if (file_printf(ms, "Hurd") == -1)
442 if (file_printf(ms, "Solaris") == -1)
446 if (file_printf(ms, "kFreeBSD") == -1)
450 if (file_printf(ms, "kNetBSD") == -1)
454 if (file_printf(m
[all...]
H A Dreadmacho.c52 file_printf(ms, " (for architecture %s)", ai->name);
57 file_printf(ms, " (for architecture cputype (%d) cpusubtype (%d))",
109 file_printf(ms, "\n%s", inname);
112 file_printf(ms, ":\t");
H A Dfuncs.c81 file_printf(struct magic_set *ms, const char *fmt, ...) function
106 file_printf(ms, "line %zu: ", lineno);
110 file_printf(ms, " (%s)", strerror(error));
174 file_printf(ms, mime ? "application/x-empty" :
180 file_printf(ms, mime ? "application/octet-stream" :
282 file_printf(ms, mime ? "application/octet-stream" : "data") == -1) {
288 if (file_printf(ms, "; charset=") == -1)
290 if (file_printf(ms, "%s", code_mime) == -1)
H A Dis_tar.c79 if (file_printf(ms, "%s", mime ? "application/x-tar" :
H A Dmagic.c164 if (file_printf(ms, "cannot open: %s", strerror(errno)) == -1)
169 if (file_printf(ms, "writable, ") == -1)
172 if (file_printf(ms, "executable, ") == -1)
175 if (file_printf(ms, "regular file, ") == -1)
177 if (file_printf(ms, "no read permission") == -1)
H A Dsoftmagic.c279 file_printf(ms, " ") == -1)
373 if (file_printf(ms, m->desc, buf) == -1)
377 if (file_printf(ms, m->desc, (unsigned char) v) == -1)
394 if (file_printf(ms, m->desc, buf) == -1)
399 file_printf(ms, m->desc, (unsigned short) v) == -1)
416 if (file_printf(ms, m->desc, buf) == -1)
420 if (file_printf(ms, m->desc, (uint32_t) v) == -1)
431 if (file_printf(ms, m->desc, (uint64_t) v) == -1)
441 if (file_printf(ms, m->desc, m->value.s) == -1)
448 if (file_printf(m
[all...]
H A Dcompress.c119 if (file_printf(ms, mime ?
128 if (!mime && file_printf(ms, ")") == -1)
H A Dfile.h360 protected int file_printf(struct magic_set *, const char *, ...)

Completed in 190 milliseconds