Searched defs:mime (Results 1 - 9 of 9) sorted by relevance
| /PHP_5_4/ext/fileinfo/libmagic/ |
| H A D | is_tar.c | 70 int mime = ms->flags & MAGIC_MIME; local 79 if (file_printf(ms, "%s", mime ? "application/x-tar" :
|
| H A D | names.h | 40 to add mime type strings to the types table. 61 char mime[16]; member in struct:__anon105
|
| H A D | ascmagic.c | 108 int mime = ms->flags & MAGIC_MIME; local 195 if (mime) { 196 if (!file_printedlen(ms) && (mime & MAGIC_MIME_TYPE) != 0) {
|
| H A D | compress.c | 108 int mime = ms->flags & MAGIC_MIME; local 127 if (mime == MAGIC_MIME || mime == 0) { 128 if (file_printf(ms, mime ? 133 if ((mime == 0 || mime & MAGIC_MIME_ENCODING) && 137 if (!mime && file_printf(ms, ")") == -1)
|
| H A D | fsmagic.c | 78 handle_mime(struct magic_set *ms, int mime, const char *str) argument 80 if ((mime & MAGIC_MIME_TYPE)) { 83 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, 87 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1) 96 int mime = ms->flags & MAGIC_MIME; local 129 if (!mime) { 160 if (mime) { 161 if (handle_mime(ms, mime, "x-character-device") == -1) 189 if (mime) { 190 if (handle_mime(ms, mime, "fif [all...] |
| H A D | funcs.c | 165 int mime = ms->flags & MAGIC_MIME; local 176 if ((!mime || (mime & MAGIC_MIME_TYPE)) && 177 file_printf(ms, mime ? "application/x-empty" : 182 if ((!mime || (mime & MAGIC_MIME_TYPE)) && 183 file_printf(ms, mime ? "application/octet-stream" : 288 if ((!mime || (mime & MAGIC_MIME_TYPE)) && 289 file_printf(ms, mime [all...] |
| /PHP_5_4/ext/phar/ |
| H A D | phar.c | 3465 phar_mime_type mime; local 3473 mime.mime = mimetype; \ 3474 mime.len = sizeof((mimetype))+1; \ 3475 mime.type = ret; \ 3476 zend_hash_add(&phar_globals->mime_types, fileext, sizeof(fileext)-1, (void *)&mime, sizeof(phar_mime_type), NULL); \
|
| H A D | phar_internal.h | 474 char *mime; member in struct:_phar_mime_type
|
| H A D | phar_object.c | 42 phar_mime_type *mime; local 50 if (SUCCESS != zend_hash_find(mimes, ext, strlen(ext), (void **) &mime)) { 54 *mime_type = mime->mime; 55 return mime->type; 859 zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unknown mime type specifier used, only Phar::PHP, Phar::PHPS and a mime type string are allowed"); 871 zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "Unknown mime type specifier used (not a string or int), only Phar::PHP, Phar::PHPS and a mime type string are allowed");
|
Completed in 40 milliseconds