Lines Matching refs:magic_set
45 private int dophn_core(struct magic_set *, int, int, int, off_t, int, size_t,
48 private int dophn_exec(struct magic_set *, int, int, int, off_t, int, size_t,
50 private int doshn(struct magic_set *, int, int, int, off_t, int, size_t,
52 private size_t donote(struct magic_set *, void *, size_t, size_t, int,
68 toomany(struct magic_set *ms, const char *name, uint16_t num) in toomany()
307 dophn_core(struct magic_set *ms, int clazz, int swap, int fd, off_t off, in dophn_core()
365 do_note_netbsd_version(struct magic_set *ms, int swap, void *v) in do_note_netbsd_version()
410 do_note_freebsd_version(struct magic_set *ms, int swap, void *v) in do_note_freebsd_version()
486 do_bid_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, in do_bid_note()
508 do_os_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, in do_os_note()
600 do_pax_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, in do_pax_note()
638 do_core_note(struct magic_set *ms, unsigned char *nbuf, uint32_t type, in do_core_note()
817 donote(struct magic_set *ms, void *vbuf, size_t offset, size_t size, in donote()
990 doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, in doshn()
1249 dophn_exec(struct magic_set *ms, int clazz, int swap, int fd, off_t off, in dophn_exec()
1353 file_tryelf(struct magic_set *ms, int fd, const unsigned char *buf, in file_tryelf()