Home
last modified time | relevance | path

Searched refs:MAGIC_MIME_TYPE (Results 1 – 8 of 8) sorted by relevance

/PHP-7.0/ext/fileinfo/libmagic/
H A Dmagic.h37 #define MAGIC_MIME_TYPE 0x000010 /* Return the MIME type */ macro
44 #define MAGIC_MIME (MAGIC_MIME_TYPE|MAGIC_MIME_ENCODING)
H A Dfsmagic.c84 if ((mime & MAGIC_MIME_TYPE)) { in handle_mime()
H A Dfuncs.c273 if ((!mime || (mime & MAGIC_MIME_TYPE)) && in file_buffer()
279 if (ms->flags & MAGIC_MIME_TYPE) in file_buffer()
H A Dascmagic.c197 if (!file_printedlen(ms) && (mime & MAGIC_MIME_TYPE) != 0) { in file_ascmagic_with_encoding()
H A Dapprentice.c3098 ms->flags &= MAGIC_MIME_TYPE;
3107 ms->flags &= MAGIC_MIME_TYPE;
H A Dsoftmagic.c2183 if ((ms->flags & MAGIC_MIME_TYPE) && m->mimetype[0]) { in handle_annotation()
/PHP-7.0/ext/fileinfo/
H A Dfileinfo.c229 REGISTER_LONG_CONSTANT("FILEINFO_MIME_TYPE", MAGIC_MIME_TYPE, CONST_CS|CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
466 magic = magic_open(MAGIC_MIME_TYPE); in _php_finfo_get_type()
H A Dlibmagic.patch904 ms->flags &= MAGIC_MIME_TYPE;
1658 - if ((mime & MAGIC_MIME_TYPE) &&

Completed in 24 milliseconds