Lines Matching refs:mime
75 handle_mime(struct magic_set *ms, int mime, const char *str) in handle_mime() argument
77 if ((mime & MAGIC_MIME_TYPE)) { in handle_mime()
80 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, in handle_mime()
84 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1) in handle_mime()
93 int mime = ms->flags & MAGIC_MIME; in file_fsmagic() local
114 if (!mime && !silent) { in file_fsmagic()
145 if (mime) { in file_fsmagic()
146 if (handle_mime(ms, mime, "chardevice") == -1) in file_fsmagic()
174 if (mime) { in file_fsmagic()
175 if (handle_mime(ms, mime, "fifo") == -1) in file_fsmagic()
184 if (mime) { in file_fsmagic()
185 if (handle_mime(ms, mime, "door") == -1) in file_fsmagic()
205 if (mime) { in file_fsmagic()
206 if (handle_mime(ms, mime, "socket") == -1) in file_fsmagic()
228 if (mime) { in file_fsmagic()
229 if (handle_mime(ms, mime, "x-empty") == -1) in file_fsmagic()
245 if (!silent && !mime && did && ret == 0) { in file_fsmagic()