Home
last modified time | relevance | path

Searched refs:file (Results 201 – 225 of 2182) sorted by path

12345678910>>...88

/PHP-7.2/ext/exif/tests/
H A Dexif_imagetype_error.phpt22 echo "\n-- Testing exif_imagetype() function with an unknown file --\n";
41 -- Testing exif_imagetype() function with an unknown file --
43 Warning: exif_imagetype(%s/foo.jpg): failed to open stream: No such file or directory in %s on line…
H A Dexif_imagetype_variation1.phpt91 // closing the file
109 Warning: exif_imagetype(0): failed to open stream: No such file or directory in %s on line %d
113 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
117 Warning: exif_imagetype(12345): failed to open stream: No such file or directory in %s on line %d
121 Warning: exif_imagetype(-2345): failed to open stream: No such file or directory in %s on line %d
125 Warning: exif_imagetype(10.5): failed to open stream: No such file or directory in %s on line %d
129 Warning: exif_imagetype(-10.5): failed to open stream: No such file or directory in %s on line %d
141 Warning: exif_imagetype(0.5): failed to open stream: No such file or directory in %s on line %d
165 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
173 Warning: exif_imagetype(1): failed to open stream: No such file or directory in %s on line %d
[all …]
H A Dexif_read_data_0.phpt2 Test exif_read_data on unavailable file
12 Warning: exif_read_data(): Unable to open file in %sexif_read_data_0.php on line %d
H A Dexif_tagname_variation1-64bit.phpt93 // closing the file
H A Dexif_tagname_variation1.phpt91 // closing the file
H A Dtag_with_illegal_zero_components.phpt20 Warning: exif_read_data(tag_with_illegal_zero_components.jpeg): Invalid JPEG file in %s on line %d
/PHP-7.2/ext/
H A Dext_skel111 dnl Comments in this file start with the string 'dnl'.
112 dnl Remove where necessary. This file will not work
/PHP-7.2/ext/fileinfo/
H A Dfileinfo.c168 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
292 char *file = NULL; in PHP_FUNCTION() local
300 …if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE… in PHP_FUNCTION()
317 file = NULL; in PHP_FUNCTION()
318 } else if (file && *file) { /* user specified file, perform open_basedir checks */ in PHP_FUNCTION()
320 if (php_check_open_basedir(file)) { in PHP_FUNCTION()
329 if (!expand_filepath_with_mode(file, resolved_path, NULL, 0, CWD_EXPAND)) { in PHP_FUNCTION()
338 file = resolved_path; in PHP_FUNCTION()
358 if (magic_load(finfo->magic, file) == -1) { in PHP_FUNCTION()
359 php_error_docref(NULL, E_WARNING, "Failed to load magic database at '%s'.", file); in PHP_FUNCTION()
H A Dfileinfo.php12 foreach ($files as $file) {
13 echo finfo_file($res, $file) . "\n";
26 foreach ($files as $file) {
27 echo $fi->buffer(file_get_contents($file)) . "\n";
H A Dlibmagic.patch10 #include "file.h"
397 - FILE *f = fopen(ms->file = fn, "r");
402 + ms->file = fn;
412 /* read and parse this file */
478 /* load directory or file */
1385 diff -u libmagic.orig/file.h libmagic/file.h
2117 /* Check if we have a CDF file */
2329 #include "file.h"
2844 #include "file.h"
3033 - if (ms->file)
[all …]
H A Dmagicdata.patch28 Upstream commit: https://github.com/file/file/commit/898f5d27b66b5d5592cb56fa9da5b776628ea6ca
124 Subject: [PATCH] Strength decreased in magic file magic/Magdir/dump for new-fs
125 dump file (little endian) to correctly recognize '*.mo' GNU message catalog
130 Upstream commit: https://github.com/file/file/commit/2e5e9e16a4847b2e60cabc70e6b9bd7d633cb68a
135 1 file changed, 3 insertions(+), 1 deletion(-)
144 24 lelong 60012 new-fs dump file (little endian),
149 24 lelong 60011 old-fs dump file (little endian),
164 1 file changed, 2 insertions(+)
190 1 file changed, 7 insertions(+), 6 deletions(-)
/PHP-7.2/ext/fileinfo/libmagic/
H A DLICENSE2 Download: ftp://ftp.astron.com/pub/file/
17 notice immediately at the beginning of the file, without modification,
H A Dapprentice.c509 ms->file = "unknown"; in file_ms_alloc()
1049 ms->file = fn; in load_1()
H A Dcdf.c99 cdf_malloc(const char *file, size_t line, size_t n) in cdf_malloc() argument
101 DPRINTF(("%s,%zu: %s %zu\n", file, line, __func__, n)); in cdf_malloc()
106 cdf_realloc(const char *file, size_t line, void *p, size_t n) in cdf_realloc() argument
108 DPRINTF(("%s,%zu: %s %zu\n", file, line, __func__, n)); in cdf_realloc()
113 cdf_calloc(const char *file, size_t line, size_t n, size_t u) in cdf_calloc() argument
115 DPRINTF(("%s,%zu: %s %zu %zu\n", file, line, __func__, n, u)); in cdf_calloc()
H A Dfile.h402 const char *file; member
H A Dmagic.c98 unreadable_info(struct magic_set *ms, mode_t md, const char *file) in unreadable_info() argument
100 if (file) { in unreadable_info()
102 if (access(file, W_OK) == 0) in unreadable_info()
105 if (access(file, X_OK) == 0) in unreadable_info()
H A Dsoftmagic.c126 const char *file, size_t line) in file_fmtcheck() argument
132 " with `%s'", file, line, m->desc, def); in file_fmtcheck()
/PHP-7.2/ext/fileinfo/tests/
H A Dbug57547.phpt2 Bug #57547 Settings options on file doesn't give same result as constructor options
14 var_dump($finfo->file($filename));
17 var_dump($finfo2->file($filename, FILEINFO_MIME));
H A Dbug67516.phpt11 var_dump($f->file(dirname(__FILE__) . "/bug67516.gif", FILEINFO_MIME_TYPE));
12 var_dump($f->file(dirname(__FILE__) . "/bug67516.gif", FILEINFO_MIME));
H A Dbug67647-mb.phpt19 /* Streams mb path support is tested a lot elsewhere. Copy the existing file
26 var_dump($fi->file($f));
H A Dbug67647.phpt11 var_dump($fi->file($f));
H A Dbug68398.phpt9 var_dump($f->file(dirname(__FILE__) . DIRECTORY_SEPARATOR . '68398.zip'));
H A Dbug68735.phpt10 var_dump($f->file($test_file));
H A Dbug68819_001.phpt2 Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 1
H A Dbug68819_002.phpt2 Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2

Completed in 66 milliseconds

12345678910>>...88