Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 163) sorted by relevance

1234567

/PHP-7.4/ext/fileinfo/
H A Dmagicdata.patch3 magic/Magdir/rpm | 1 +
7 diff --git a/magic/Magdir/animation b/magic/Magdir/animation
9 --- a/magic/Magdir/animation
10 +++ b/magic/Magdir/animation
74 diff --git a/magic/Magdir/images b/magic/Magdir/images
76 --- a/magic/Magdir/images
77 +++ b/magic/Magdir/images
115 diff --git a/magic/Magdir/rpm b/magic/Magdir/rpm
117 --- a/magic/Magdir/rpm
118 +++ b/magic/Magdir/rpm
[all …]
H A Dfileinfo.c43 struct magic_set *magic; member
87 magic_close(intern->ptr->magic); in finfo_objects_free()
175 options, magic_errno(magic), magic_error(magic)); \
187 magic_close(finfo->magic); in finfo_resource_destructor()
344 if (finfo->magic == NULL) { in PHP_FUNCTION()
358 magic_close(finfo->magic); in PHP_FUNCTION()
443 struct magic_set *magic = NULL; in _php_finfo_get_type() local
479 magic = finfo->magic; in _php_finfo_get_type()
487 magic = finfo->magic; in _php_finfo_get_type()
492 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type()
[all …]
H A Dgenerate_patch.sh7 sed -e "s/X\.YY/${VERSION//.}/g" libmagic.orig/magic.h.in > libmagic.orig/magic.h
/PHP-7.4/ext/date/tests/
H A DDateTimeZone_clone_basic4.phpt2 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 DDateTime_clone_basic4.phpt2 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 DDateTime_extends_basic2.phpt2 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.4/ext/fileinfo/tests/
H A Dbug71527-mb.phpt2 Bug #71527 Buffer over-write in finfo_open with malformed magic file
11 $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527私はガラスを食べられます.magic");
16 Warning: finfo_open(): Failed to load magic database at '%sbug71527私はガラスを食べられます.magic'. in %sbug715…
H A Dbug71527.phpt2 Bug #71527 Buffer over-write in finfo_open with malformed magic file
11 $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527.magic");
16 Warning: finfo_open(): Failed to load magic database at '%sbug71527.magic'. in %sbug71527.php on li…
H A Dbug77961.phpt2 Bug #77961 (finfo_open crafted magic parsing SIGABRT)
9 finfo_open(FILEINFO_NONE, __DIR__ . '/bug77961.magic');
H A Dfinfo_file_regex.phpt10 * $ file -m magic resources/test.awk
13 $magicFile = __DIR__ . DIRECTORY_SEPARATOR . 'magic';
H A Dcve-2014-1943-mb.phpt10 $fm = __DIR__.'/cve-2014-1943私はガラスを食べられます.magic';
32 @unlink(__DIR__.'/cve-2014-1943.magic');
H A Dcve-2014-1943.phpt10 $fm = __DIR__.'/cve-2014-1943.magic';
32 @unlink(__DIR__.'/cve-2014-1943.magic');
H A Dfinfo_open_001.phpt26 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 Dfinfo_open_error.phpt13 $magicFile = __DIR__ . 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…
/PHP-7.4/Zend/tests/
H A Dbug47801.phpt10 echo("magic method called: $name\n");
30 magic method called: getFoo
31 magic method called: getFoo
H A Dbug61025.phpt23 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…
/PHP-7.4/ext/fileinfo/libmagic/
H A Dder.h27 extern int der_offs(struct magic_set *, struct magic *, size_t);
28 extern int der_cmp(struct magic_set *, struct magic *);
H A Dis_tar.c126 if (strncmp(header->header.magic, GNUTMAGIC, in is_tar()
127 sizeof(header->header.magic)) == 0) in is_tar()
130 if (strncmp(header->header.magic, TMAGIC, in is_tar()
131 sizeof(header->header.magic)) == 0) in is_tar()
H A Dapprentice.c104 struct magic *mp;
119 struct magic *magic[MAGIC_SETS]; member
401 ml->magic = map->magic[idx]; in add_mlist()
955 struct magic *m = &ml->magic[magindex]; in apprentice_list()
984 set_test_type(struct magic *mstart, struct magic *m) in set_test_type()
3086 map->magic[0] = CAST(struct magic *, map->p) + 1; in apprentice_map()
3094 map->magic[i + 1] = map->magic[i] + map->nmagic[i]; in apprentice_map()
3157 map->magic[0] = CAST(struct magic *, map->p) + 1;
3165 map->magic[i + 1] = map->magic[i] + map->nmagic[i];
3290 byteswap(struct magic *magic, uint32_t nmagic) argument
[all …]
/PHP-7.4/ext/phar/tests/
H A Dbug65414.phpt2 Bug #65414 Injection (A1) in .phar files magic .phar directory
32 .phar/injected-1.txt:Cannot create any files in magic ".phar" directory
33 /.phar/injected-2.txt:Cannot create any files in magic ".phar" directory
35 /.phar/:Cannot create any files in magic ".phar" directory
/PHP-7.4/ext/phar/tests/bug64931/
H A Dbug64931.phpt53 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.4/ext/zlib/tests/
H A Dzlib_scheme_copy_variation2.phpt35 //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.4/ext/ldap/tests/
H A Dldap_get_option_variation.phpt17 array("oid" => "1.2.752.58.1.10", "value" => "magic"),
85 string(5) "magic"
106 string(5) "magic"
H A Dldap_set_option_variation.phpt17 array("oid" => "1.2.752.58.1.10", "value" => "magic"),
96 string(5) "magic"
117 string(5) "magic"
/PHP-7.4/ext/standard/tests/class_object/
H A Dproperty_exists_variation1.phpt20 echo "\ntesting __get magic method\n";
31 testing __get magic method

Completed in 40 milliseconds

1234567