Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 80) sorted by relevance

1234

/php-src/ext/fileinfo/libmagic/
H A Dfsmagic.c77 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 Dis_csv.c138 int mime = ms->flags & MAGIC_MIME; in file_is_csv() local
149 if (mime == MAGIC_MIME_ENCODING) in file_is_csv()
152 if (mime) { in file_is_csv()
H A Dis_tar.c72 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 Dis_simh.c153 int mime = ms->flags & MAGIC_MIME; in file_is_simh() local
161 if (mime == MAGIC_MIME_ENCODING) in file_is_simh()
164 if (mime) { in file_is_simh()
/php-src/ext/standard/tests/image/
H A Dgetimagesize.phpt39 ["mime"]=>
54 ["mime"]=>
69 ["mime"]=>
86 ["mime"]=>
101 ["mime"]=>
118 ["mime"]=>
135 ["mime"]=>
152 ["mime"]=>
169 ["mime"]=>
184 ["mime"]=>
[all …]
H A Dgetimagesize_basic.phpt60 ["mime"]=>
80 ["mime"]=>
100 ["mime"]=>
116 ["mime"]=>
134 ["mime"]=>
150 ["mime"]=>
170 ["mime"]=>
190 ["mime"]=>
208 ["mime"]=>
H A Dgetimagesizefromstring1.phpt30 ["mime"]=>
46 ["mime"]=>
/php-src/ext/curl/
H A Dcurl_file.c31 zend_string *fname, *mime = NULL, *postname = NULL; in curlfile_ctor() local
37 Z_PARAM_STR_OR_NULL(mime) in curlfile_ctor()
43 if (mime) { in curlfile_ctor()
44 zend_update_property_str(curl_CURLFile_class, Z_OBJ_P(cf), "mime", sizeof("mime")-1, mime); in curlfile_ctor()
125 zend_string *data, *postname, *mime = NULL; in ZEND_METHOD() local
134 Z_PARAM_STR(mime) in ZEND_METHOD()
139 if (mime) { in ZEND_METHOD()
140 …nd_update_property_str(curl_CURLStringFile_class, Z_OBJ_P(object), "mime", sizeof("mime")-1, mime); in ZEND_METHOD()
H A Dcurl_file.stub.php9 public string $mime = ""; variable in CURLFile
34 public string $mime; variable in CURLStringFile
36 …public function __construct(string $data, string $postname, string $mime = "application/octet-stre… argument
/php-src/ext/curl/tests/
H A Dcurl_string_file_upload.phpt8 function testcurl($ch, $postname, $data, $mime = null)
10 if (is_null($mime)) {
11 // for default mime value
14 $file = new CURLStringFile($data, $postname, $mime);
36 $file->mime = 'text/plain';
37 var_dump($file->mime);
67 $mime =& $file->mime;
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-src/ext/phar/tests/
H A Dfrontcontroller12.phpt2 Phar front controller mime type unknown int
16 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phpt2 Phar front controller mime type not string/int
16 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/php-src/ext/phar/tests/tar/
H A Dfrontcontroller12.phar.phpt2 Phar front controller mime type unknown int tar-based
16 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phar.phpt2 Phar front controller mime type not string/int tar-based
16 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/php-src/ext/phar/tests/cache_list/
H A Dfrontcontroller12.phpt2 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…
H A Dfrontcontroller13.phpt2 Phar front controller mime type not string/int [cache_list]
17 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/php-src/ext/phar/tests/zip/
H A Dfrontcontroller12.phar.phpt2 Phar front controller mime type unknown int zip-based
18 Fatal error: Uncaught PharException: Unknown mime type specifier used, only Phar::PHP, Phar::PHPS a…
H A Dfrontcontroller13.phar.phpt2 Phar front controller mime type not string/int zip-based
18 …: Uncaught PharException: Unknown mime type specifier used (not a string or int), only Phar::PHP, …
/php-src/ext/fileinfo/tests/
H A Dbug79756.phpt9 $mime = finfo_file($finfo, $filename);
11 echo $mime;
H A Dbug77961.magic3 !:mime text/x-srt
17 !:mime application/x-java-pack200
22 !:mime text/x-objective-c
H A Dmagic私はガラスを食べられます880 !:mime video/mp4
882 !:mime video/mp4
884 !:mime video/mp4
918 !:mime video/mp4
940 !:mime video/mp4
942 !:mime video/mp4
944 !:mime audio/mp4
946 !:mime audio/mp4
953 !:mime video/mp4
961 !:mime video/mp4
[all …]
H A Dmagic880 !:mime video/mp4
882 !:mime video/mp4
884 !:mime video/mp4
918 !:mime video/mp4
940 !:mime video/mp4
942 !:mime video/mp4
944 !:mime audio/mp4
946 !:mime audio/mp4
953 !:mime video/mp4
961 !:mime video/mp4
[all …]
/php-src/ext/fileinfo/
H A Dmagicdata.patch36 !:mime image/svg+xml
39 !:mime application/x-gnucash
42 !:mime image/svg+xml
/php-src/ext/mbstring/tests/
H A Dgh15824.phpt17 echo "== mime name ==\n";
33 == mime name ==

Completed in 216 milliseconds

1234