Home
last modified time | relevance | path

Searched refs:php_magic_database (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/fileinfo/
H A Ddata_file.c3 const unsigned char php_magic_database[8315][1024] = { variable
H A Dlibmagic.patch127 + if (map->p != php_magic_database) {
591 + map->p = (void *)&php_magic_database;
718 + /* php_magic_database is a const, performing writes will segfault. This is for big-endian
722 + map->p = emalloc(sizeof(php_magic_database));
723 + map->p = memcpy(map->p, php_magic_database, sizeof(php_magic_database));
/php-src/ext/fileinfo/libmagic/
H A Dapprentice.c600 if (map->p != php_magic_database) { in apprentice_unmap()
3225 map->p = (void *)&php_magic_database; in apprentice_map()
3298 map->p = emalloc(sizeof(php_magic_database)); in apprentice_map()
3299 map->p = memcpy(map->p, php_magic_database, sizeof(php_magic_database)); in apprentice_map()

Completed in 1200 milliseconds