Lines Matching refs:magic_map
116 struct magic_map { struct
140 private struct magic_map *apprentice_load(struct magic_set *, argument
151 private struct magic_map *apprentice_map(struct magic_set *, const char *);
152 private void apprentice_unmap(struct magic_map *);
153 private int apprentice_compile(struct magic_set *, struct magic_map *,
401 add_mlist(struct mlist *mlp, struct magic_map *map, size_t idx) in add_mlist()
426 struct magic_map *map; in apprentice_1()
546 apprentice_unmap(struct magic_map *map) in apprentice_unmap()
591 apprentice_unmap(CAST(struct magic_map *, ml->map)); in mlist_free_one()
1320 private struct magic_map *
1328 struct magic_map *map; in apprentice_load()
1338 if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) in apprentice_load()
3031 private struct magic_map *
3038 struct magic_map *map; in apprentice_map()
3045 if ((map = CAST(struct magic_map *, ecalloc(1, sizeof(*map)))) == NULL) { in apprentice_map()
3178 apprentice_compile(struct magic_set *ms, struct magic_map *map, const char *fn) in apprentice_compile()