Searched refs:magic_state (Results 1 – 12 of 12) sorted by relevance
62 magic_t magic_state = NULL; variable2410 magic_state = magic_open(MAGIC_ERROR); in hfs_init()2411 if (magic_state == NULL) in hfs_init()2413 if (magic_load(magic_state, magic_filename) == -1) { in hfs_init()2415 magic_error(magic_state)); in hfs_init()2534 const char * ret = magic_file(magic_state, whole_name); in try_map_magic()2587 if (magic_state && hfs_last == MAP_LAST in map_ext()2633 if (magic_state && hfs_last == MAG_LAST) in map_ext()2665 if (magic_state) { in clean_hfs()2666 magic_close(magic_state); in clean_hfs()[all …]
62 magic_t magic_state = NULL;2410 magic_state = magic_open(MAGIC_ERROR);2411 if (magic_state == NULL)2413 if (magic_load(magic_state, magic_filename) == -1) {2415 magic_error(magic_state));2534 const char * ret = magic_file(magic_state, whole_name);2587 if (magic_state && hfs_last == MAP_LAST2633 if (magic_state && hfs_last == MAG_LAST)2665 if (magic_state) {2666 magic_close(magic_state);[all …]
465 * fix endianness issue and update struct magic_state (thanks Jerry James)
81 struct magic_state { struct
4104 typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
84 struct magic_state { struct
3707 typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
79 struct magic_state { struct
3940 typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
4111 typedef struct magic_state MGS; /* struct magic_state defined in mg.c */
22 struct magic_state {