/PHP-7.0/ext/fileinfo/ |
H A D | fileinfo.c | 45 struct magic_set *magic; member 89 magic_close(intern->ptr->magic); in finfo_objects_free() 177 options, magic_errno(magic), magic_error(magic)); \ 189 magic_close(finfo->magic); in finfo_resource_destructor() 341 if (finfo->magic == NULL) { in PHP_FUNCTION() 355 magic_close(finfo->magic); in PHP_FUNCTION() 440 struct magic_set *magic = NULL; in _php_finfo_get_type() local 476 magic = finfo->magic; in _php_finfo_get_type() 484 magic = finfo->magic; in _php_finfo_get_type() 489 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type() [all …]
|
H A D | magicdata.patch | 13 magic/Magdir/commands | 5 +++-- 16 diff --git a/magic/Magdir/commands b/magic/Magdir/commands 18 --- a/magic/Magdir/commands 19 +++ b/magic/Magdir/commands 42 diff --git a/magic/Magdir/commands b/magic/Magdir/commands 44 --- a/magic/Magdir/commands 45 +++ b/magic/Magdir/commands 68 diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml 70 --- a/magic/Magdir/msooxml 71 +++ b/magic/Magdir/msooxml [all …]
|
/PHP-7.0/ext/date/tests/ |
H A D | DateTimeZone_clone_basic4.phpt | 2 Test clone of DateTimeZone derived objects with __clone magic method 10 echo "-- DateTimeExt1 __clone magic method called --\n"; 14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n"; 25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method*** 26 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_clone_basic4.phpt | 2 Test clone of DateTime derived objects with __clone magic method 13 echo "-- DateTimeExt1 __clone magic method called --\n"; 17 echo "*** Testing clone of objects derived from DateTime class with __clone magic method***\n"; 28 *** Testing clone of objects derived from DateTime class with __clone magic method*** 29 -- DateTimeExt1 __clone magic method called --
|
H A D | DateTime_extends_basic2.phpt | 2 Test DateTime class inheritance : with user space __construct magic method 9 echo "*** Testing new DateTime() : with user space __construct magic method ***\n"; 29 *** Testing new DateTime() : with user space __construct magic method ***
|
/PHP-7.0/ext/fileinfo/tests/ |
H A D | bug71527.phpt | 2 Bug #71527 Buffer over-write in finfo_open with malformed magic file 11 $finfo = finfo_open(FILEINFO_NONE, dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug71527.magic"); 16 Warning: finfo_open(): Failed to load magic database at '%sbug71527.magic'. in %sbug71527.php on li…
|
H A D | finfo_file_regex.phpt | 10 * $ file -m magic resources/test.awk 13 $magicFile = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic';
|
H A D | cve-2014-1943.phpt | 10 $fm = __DIR__.'/cve-2014-1943.magic'; 32 @unlink(__DIR__.'/cve-2014-1943.magic');
|
H A D | finfo_open_001.phpt | 26 Warning: finfo_open(): Failed to load magic database at '%s123'. in %s on line %d 33 Warning: finfo_open(): Failed to load magic database at '%s1'. in %s on line %d 40 Warning: finfo_open(): Failed to load magic database at '%sinexistent'. in %s on line %d
|
H A D | finfo_open_error.phpt | 13 $magicFile = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic'; 38 Warning: finfo_open(): Failed to load magic database at '%sfoobarfile'. in %sfinfo_open_error.php o… 47 Notice: finfo_open(): Warning: using regular magic file `%smagic' in %sfinfo_open_error.php on line…
|
H A D | bug61964.phpt | 8 $magic_file = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'magic'; 16 $magic_file_copy = $dir . "/magic.copy"; 71 Warning: finfo_open(): Failed to load magic database at '%stest-folder'. in %sbug61964.php on line …
|
/PHP-7.0/Zend/tests/ |
H A D | bug47801.phpt | 10 echo("magic method called: $name\n"); 30 magic method called: getFoo 31 magic method called: getFoo
|
H A D | bug61025.phpt | 23 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025… 25 Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025…
|
H A D | bug70223.phpt | 2 Bug #70223 (Incrementing value returned by magic getter)
|
H A D | magic_const_in_global_scope.phpt | 2 Test use of magic constants in the global scope
|
H A D | bug75420.8.phpt | 2 Bug #75420.8 (Indirect modification of magic method argument)
|
/PHP-7.0/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 103 struct magic *mp; 118 struct magic *magic[MAGIC_SETS]; member 394 ml->magic = map->magic[idx]; in add_mlist() 890 struct magic *m = &ml->magic[magindex]; in apprentice_list() 919 set_test_type(struct magic *mstart, struct magic *m) in set_test_type() 2912 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map() 2920 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map() 2982 map->magic[0] = CAST(struct magic *, map->p) + 1; in check_buffer() 2990 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in check_buffer() 3115 byteswap(struct magic *magic, uint32_t nmagic) argument [all …]
|
H A D | softmagic.c | 151 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, in match() argument 170 struct magic *m = &magic[magindex]; in match() 220 magic[magindex + 1].cont_level != 0) in match() 253 magic[magindex + 1].cont_level != 0) { in match() 254 m = &magic[++magindex]; in match() 380 check_fmt(struct magic_set *ms, struct magic *m) in check_fmt() 403 mprint(struct magic_set *ms, struct magic *m) in mprint() 680 moffset(struct magic_set *ms, struct magic *m) in moffset() 857 cvt_8(union VALUETYPE *p, const struct magic *m) in cvt_8() 863 cvt_16(union VALUETYPE *p, const struct magic *m) in cvt_16() [all …]
|
H A D | file.h | 160 struct magic { struct 355 struct magic *magic; /* array of magic entries */ member 454 protected int buffer_apprentice(struct magic_set *, struct magic **, 457 protected uint64_t file_signextend(struct magic_set *, struct magic *, 459 protected void file_delmagic(struct magic *, int type, size_t entries); 473 protected size_t file_pstring_length_size(const struct magic *); 474 protected size_t file_pstring_get_length(const struct magic *, const char *);
|
H A D | is_tar.c | 118 if (strcmp(header->header.magic, GNUTMAGIC) == 0) in is_tar() 120 if (strcmp(header->header.magic, TMAGIC) == 0) in is_tar()
|
H A D | tar.h | 63 char magic[8]; member
|
/PHP-7.0/ext/phar/tests/bug64931/ |
H A D | bug64931.phpt | 53 CAUGHT: Cannot create any files in magic ".phar" directory 54 CAUGHT: Cannot create any files in magic ".phar" directory 55 CAUGHT: Cannot create any files in magic ".phar" directory 56 CAUGHT: Cannot create any files in magic ".phar" directory
|
/PHP-7.0/ext/zlib/tests/ |
H A D | zlib_scheme_copy_variation2.phpt | 35 //also need to look for the magic number (x1f x8b) to prove it 38 $magic = fread($h, 2); 41 if ($org_data == $copied_data && bin2hex($magic) === '1f8b') {
|
/PHP-7.0/ext/standard/tests/class_object/ |
H A D | property_exists_variation1.phpt | 20 echo "\ntesting __get magic method\n"; 31 testing __get magic method
|
/PHP-7.0/Zend/tests/traits/ |
H A D | static_004.phpt | 2 Traits with __callStatic magic method.
|