Lines Matching defs:magic_map
102 struct magic_map {
126 file_private struct magic_map *apprentice_load(struct magic_set *,
149 file_private struct magic_map *apprentice_buf(struct magic_set *, struct magic *,
151 file_private struct magic_map *apprentice_map(struct magic_set *, const char *);
152 file_private int check_buffer(struct magic_set *, struct magic_map *, const char *);
153 file_private void apprentice_unmap(struct magic_map *);
154 file_private int apprentice_compile(struct magic_set *, struct magic_map *,
443 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx)
476 struct magic_map *map;
601 apprentice_unmap(struct magic_map *map)
662 apprentice_unmap(CAST(struct magic_map *, ml->map));
699 struct magic_map *map;
1521 file_private struct magic_map *
1529 struct magic_map *map;
1538 if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL)
3274 file_private struct magic_map *
3277 struct magic_map *map;
3279 if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
3297 file_private struct magic_map *
3303 struct magic_map *map;
3304 struct magic_map *rv = NULL;
3307 if ((map = CAST(struct magic_map *, calloc(1, sizeof(*map)))) == NULL) {
3374 check_buffer(struct magic_set *ms, struct magic_map *map, const char *dbname)
3439 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn)