Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 73) sorted by last modified time

123

/PHP-7.4/
H A DNEWS1433 . Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).
/PHP-7.4/ext/phar/
H A Dphar.c3363 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 Dphar_object.c31 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/fileinfo/
H A Dlibmagic.patch1956 - 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 Dmagicdata.patch27 -!: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/curl/
H A Dinterface.c2161 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()
H A Dcurl_file.c33 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()
/PHP-7.4/ext/standard/tests/image/
H A Dgetimagesize_256_ico.phpt23 ["mime"]=>
H A Dbug71848.phpt23 ["mime"]=>
H A Dbug72278.phpt25 ["mime"]=>
H A Dgetimagesize_basic.phpt66 ["mime"]=>
86 ["mime"]=>
106 ["mime"]=>
122 ["mime"]=>
140 ["mime"]=>
156 ["mime"]=>
176 ["mime"]=>
196 ["mime"]=>
214 ["mime"]=>
H A Dgetimagesize_tif_mm.phpt28 ["mime"]=>
H A Dgetimagesize_variation4.phpt33 ["mime"]=>
H A Dgetimagesize_variation_005.phpt33 ["mime"]=>
H A Dgetimagesize_wbmp.phpt28 ["mime"]=>
H A Dgetimagesize_xbm.phpt28 ["mime"]=>
H A Dbug13213.phpt22 ["mime"]=>
H A Dbug70052.phpt19 ["mime"]=>
H A Dgetimagesize.phpt39 ["mime"]=>
54 ["mime"]=>
69 ["mime"]=>
84 ["mime"]=>
101 ["mime"]=>
118 ["mime"]=>
135 ["mime"]=>
152 ["mime"]=>
167 ["mime"]=>
182 ["mime"]=>
[all …]
/PHP-7.4/ext/fileinfo/tests/
H A Dbug77961.magic3 !:mime text/x-srt
17 !:mime application/x-java-pack200
22 !:mime text/x-objective-c
H A Dbug79756.phpt11 $mime = finfo_file($finfo, $filename);
13 echo $mime;
/PHP-7.4/sapi/cli/
H A Dgenerate_mime_type_map.php22 $mime = array_shift($fields); variable
24 $extensions[$extension] = $mime;
35 foreach($additional_mime_maps as $ext => $mime) {
37 $extensions[$ext] = $mime;
39 printf(STDERR, "Ignored exist mime type: $ext => $mime\n");
74 <?php foreach ($extensions as $extension => $mime): ?>
75 …{ "<?= addcslashes($extension, "\0..\37!@\@\177..\377") ?>", "<?= addcslashes($mime, "\0..\37!@\@\…
/PHP-7.4/ext/curl/tests/
H A Dcurl_file_upload.phpt8 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/libmagic/
H A Dreadcdf.c50 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/tests/basic/
H A Drfc1867_garbled_mime_headers.phpt2 rfc1867 garbled mime headers

Completed in 61 milliseconds

123