Home
last modified time | relevance | path

Searched refs:magic_map (Results 1 – 2 of 2) sorted by relevance

/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c97 struct magic_map { struct
120 private struct magic_map *apprentice_load(struct magic_set *, argument
131 private void apprentice_unmap(struct magic_map *);
132 private int apprentice_compile(struct magic_set *, struct magic_map *,
364 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist()
389 struct magic_map *map; in apprentice_1()
491 apprentice_unmap(struct magic_map *map) in apprentice_unmap()
1130 private struct magic_map *
1140 struct magic_map *map; in apprentice_load()
2589 private struct magic_map *
[all …]
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch367 private struct magic_map *
379 struct magic_map *map;
389 - if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
390 + if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) {
560 private struct magic_map *
569 struct magic_map *map;
575 - if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
579 + if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) {

Completed in 15 milliseconds