/PHP-7.4/ |
H A D | NEWS | 1433 . Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).
|
/PHP-7.4/ext/curl/ |
H A D | curl_file.c | 33 zend_string *fname, *mime = NULL, *postname = NULL; in curlfile_ctor() local 39 Z_PARAM_STR(mime) in curlfile_ctor() 45 if (mime) { in curlfile_ctor() 46 zend_update_property_string(curl_CURLFile_class, cf, "mime", sizeof("mime")-1, ZSTR_VAL(mime)); in curlfile_ctor()
|
H A D | interface.c | 2161 curl_mime *mime = NULL; in build_mime_structure_from_hash() local 2178 mime = curl_mime_init(ch->cp); in build_mime_structure_from_hash() 2179 if (mime == NULL) { in build_mime_structure_from_hash() 2246 part = curl_mime_addpart(mime); in build_mime_structure_from_hash() 2280 part = curl_mime_addpart(mime); in build_mime_structure_from_hash() 2319 zend_llist_add_element(&ch->to_free->post, &mime); in build_mime_structure_from_hash() 2320 error = curl_easy_setopt(ch->cp, CURLOPT_MIMEPOST, mime); in build_mime_structure_from_hash()
|
/PHP-7.4/ext/curl/tests/ |
H A D | curl_file_upload.phpt | 8 function testcurl($ch, $name, $mime = '', $postname = '') 11 $file = new CurlFile($name, $mime, $postname); 12 } else if(!empty($mime)) { 13 $file = new CurlFile($name, $mime);
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1956 - else if (!mime) { 2042 - if (mime) { 2060 - if (mime) { 2079 + if (mime) { 2106 - if (mime) { 2149 - if (mime) { 2187 - if (mime) { 2188 - if (handle_mime(ms, mime, 2220 - if (mime) { 3156 return cv[i].mime; [all …]
|
H A D | magicdata.patch | 27 -!:mime audio/mpeg 29 -!:mime audio/mpeg 31 -!:mime audio/mpeg 33 -!:mime audio/mpeg 35 -!:mime audio/mpeg 37 -!:mime audio/mpeg 39 -!:mime audio/mpeg 41 -!:mime audio/mpeg 43 -!:mime audio/mpeg 45 -!:mime audio/mpeg [all …]
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 172 DECLARE_FIELD(mime),
|
H A D | ascmagic.c | 115 int mime = ms->flags & MAGIC_MIME; in file_ascmagic_with_encoding() local 213 if (mime) { in file_ascmagic_with_encoding() 214 if ((mime & MAGIC_MIME_TYPE) != 0) { in file_ascmagic_with_encoding()
|
H A D | compress.c | 203 int mime = ms->flags & MAGIC_MIME; in format_decompression_error() local 205 if (!mime) in format_decompression_error() 224 int mime = ms->flags & MAGIC_MIME; in file_zmagic() local 275 if (mime != MAGIC_MIME && mime != 0) in file_zmagic() 278 mime ? " compressed-encoding=" : " (")) == -1) in file_zmagic() 298 if (!mime && file_printf(ms, ")") == -1) in file_zmagic()
|
H A D | fsmagic.c | 77 if ((mime & MAGIC_MIME_TYPE)) { 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() 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() 228 if (mime) { in file_fsmagic() [all …]
|
H A D | is_json.c | 392 int mime = ms->flags & MAGIC_MIME; in file_is_json() local 403 if (mime == MAGIC_MIME_ENCODING) in file_is_json() 405 if (mime) { in file_is_json()
|
H A D | is_tar.c | 72 int mime = ms->flags & MAGIC_MIME; in file_is_tar() local 81 if (mime == MAGIC_MIME_ENCODING) in file_is_tar() 84 if (file_printf(ms, "%s", mime ? "application/x-tar" : in file_is_tar()
|
H A D | readcdf.c | 50 const char *mime; member 80 const char *mime; member 103 for (i = 0; cv[i].mime != NULL; i++) { in cdf_clsid_to_mime() 105 return cv[i].mime; in cdf_clsid_to_mime() 127 rv = nv[i].mime; in cdf_app_to_mime() 427 const char *mime; member 523 if (file_printf(ms, "application/%s", si->mime) == -1) in cdf_file_dir_info()
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | bug68731.phpt | 2 Bug #68731 finfo_buffer doesn't extract the correct mime with some gifs
|
H A D | bug77961.magic | 3 !:mime text/x-srt 17 !:mime application/x-java-pack200 22 !:mime text/x-objective-c
|
H A D | bug79756.phpt | 11 $mime = finfo_file($finfo, $filename); 13 echo $mime;
|
H A D | finfo_file_002.phpt | 2 finfo_file(): Testing mime types
|
H A D | magic | 608 !:mime image/jp2 648 !:mime video/mp4 663 !:mime video/mp4 678 !:mime video/mp4 680 !:mime video/mp4 682 !:mime audio/mp4 684 !:mime audio/mp4 688 !:mime video/mp4 690 !:mime video/mp4 692 !:mime image/jp2 [all …]
|
H A D | magic私はガラスを食べられます | 608 !:mime image/jp2 648 !:mime video/mp4 663 !:mime video/mp4 678 !:mime video/mp4 680 !:mime video/mp4 682 !:mime audio/mp4 684 !:mime audio/mp4 688 !:mime video/mp4 690 !:mime video/mp4 692 !:mime image/jp2 [all …]
|
/PHP-7.4/ext/iconv/tests/ |
H A D | iconv_mime_decode_headers.phpt | 85 string(54) "[PHP-DEV] [ICONV] test for iconv mime decode headers()"
|
/PHP-7.4/ext/phar/ |
H A D | phar.c | 3363 phar_mime_type mime; in PHP_GINIT_FUNCTION() local 3374 mime.mime = mimetype; \ in PHP_GINIT_FUNCTION() 3375 mime.len = sizeof((mimetype))+1; \ in PHP_GINIT_FUNCTION() 3376 mime.type = ret; \ in PHP_GINIT_FUNCTION() 3377 …zend_hash_str_add_mem(&phar_globals->mime_types, fileext, sizeof(fileext)-1, (void *)&mime, sizeof… in PHP_GINIT_FUNCTION()
|
H A D | phar_internal.h | 438 char *mime; member
|
H A D | phar_object.c | 31 phar_mime_type *mime; in phar_file_type() local 39 if (NULL == (mime = zend_hash_str_find_ptr(mimes, ext, strlen(ext)))) { in phar_file_type() 43 *mime_type = mime->mime; in phar_file_type() 44 return mime->type; in phar_file_type()
|
/PHP-7.4/ext/phar/tests/cache_list/ |
H A D | frontcontroller11.phpt | 2 Phar front controller mime type extension is not a string [cache_list]
|
H A D | frontcontroller12.phpt | 2 Phar front controller mime type unknown int [cache_list] 17 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
|