Home
last modified time | relevance | path

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

1234

/PHP-8.1/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.c137 int mime = ms->flags & MAGIC_MIME; in file_is_csv() local
148 if (mime == MAGIC_MIME_ENCODING) in file_is_csv()
151 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()
/PHP-8.1/ext/standard/tests/image/
H A Dgetimagesize.phpt39 ["mime"]=>
54 ["mime"]=>
69 ["mime"]=>
82 ["mime"]=>
97 ["mime"]=>
114 ["mime"]=>
131 ["mime"]=>
148 ["mime"]=>
165 ["mime"]=>
180 ["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-8.1/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 …update_property_string(curl_CURLFile_class, Z_OBJ_P(cf), "mime", sizeof("mime")-1, ZSTR_VAL(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-8.1/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-8.1/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-8.1/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-8.1/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-8.1/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-8.1/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 Dmagic742 !:mime image/jp2
805 !:mime video/mp4
807 !:mime video/mp4
809 !:mime video/mp4
843 !:mime video/mp4
865 !:mime video/mp4
867 !:mime video/mp4
869 !:mime audio/mp4
871 !:mime audio/mp4
878 !:mime video/mp4
[all …]
H A Dmagic私はガラスを食べられます742 !:mime image/jp2
805 !:mime video/mp4
807 !:mime video/mp4
809 !:mime video/mp4
843 !:mime video/mp4
865 !:mime video/mp4
867 !:mime video/mp4
869 !:mime audio/mp4
871 !:mime audio/mp4
878 !:mime video/mp4
[all …]
/PHP-8.1/ext/fileinfo/
H A Dmagicdata.patch16 -!:mime application/x-xz
23 +!:mime application/x-xz
35 -!:mime font/woff
41 -!:mime font/woff2
93 !:mime image/svg+xml
95 !:mime application/x-gnucash
98 !:mime image/svg+xml
/PHP-8.1/ext/soap/tests/bugs/
H A Dbug29061.wsdl6 ncoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
H A Dbug40609.wsdl1 …lns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/…
26mime:content type="text/xml" /></wsdl:input></wsdl:operation><wsdl:operation name="getPrice"><http…

Completed in 194 milliseconds

1234