Lines Matching refs:ms
45 #define NOTMIME(ms) (((ms)->flags & MAGIC_MIME) == 0) argument
48 cdf_file_property_info(struct magic_set *ms, const cdf_property_info_t *info, argument
67 if (NOTMIME(ms) && file_printf(ms, ", %s: %hd", buf,
72 if (NOTMIME(ms) && file_printf(ms, ", %s: %d", buf,
77 if (NOTMIME(ms) && file_printf(ms, ", %s: %u", buf,
82 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
87 if (NOTMIME(ms) && file_printf(ms, ", %s: %g", buf,
111 if (NOTMIME(ms)) {
113 if (file_printf(ms, ", %s: %s",
142 if (NOTMIME(ms) && file_printf(ms,
156 if (NOTMIME(ms) && file_printf(ms,
168 if (!NOTMIME(ms)) {
171 if (file_printf(ms, "application/%s", str) == -1)
178 cdf_file_summary_info(struct magic_set *ms, const cdf_header_t *h, argument
189 if (NOTMIME(ms)) {
190 if (file_printf(ms, "Composite Document File V2 Document")
194 if (file_printf(ms, ", %s Endian",
199 if (file_printf(ms, ", Os: Windows, Version %d.%d",
205 if (file_printf(ms, ", Os: MacOS, Version %d.%d",
211 if (file_printf(ms, ", Os %d, Version: %d.%d", si.si_os,
219 m = cdf_file_property_info(ms, info, count);
226 file_trycdf(struct magic_set *ms, int fd, const unsigned char *buf, argument
241 if (ms->flags & MAGIC_APPLE)
291 if ((i = cdf_file_summary_info(ms, &h, &scn)) < 0)
307 if (file_printf(ms, "application/%s", str) == -1)
323 if (file_printf(ms, "Composite Document File V2 Document")
327 if (file_printf(ms, ", %s%s", corrupt, expn) == -1)