Lines Matching refs:magic
79 #define MAGIC "/etc/magic"
133 #define MAXMAGIS 8192 /* max entries in any one magic file
162 struct magic {
290 uint32_t offset; /* offset to magic number */
294 uint32_t lineno; /* line number in magic file */
358 /* list of magic entries */
360 struct magic *magic; /* array of magic entries */
399 int flags; /* Control magic tests. */
403 size_t line; /* current magic line number */
470 protected int buffer_apprentice(struct magic_set *, struct magic **,
473 protected uint64_t file_signextend(struct magic_set *, struct magic *,
484 protected void file_mdump(struct magic *);
492 protected size_t file_pstring_length_size(const struct magic *);
493 protected size_t file_pstring_get_length(const struct magic *, const char *);