Lines Matching refs:magic_set

466 struct magic_set {  struct
541 file_protected struct magic_set *file_ms_alloc(int); argument
542 file_protected void file_ms_free(struct magic_set *);
543 file_protected int file_default(struct magic_set *, size_t);
544 file_protected int file_buffer(struct magic_set *, int, struct stat *,
546 file_protected int file_fsmagic(struct magic_set *, const char *,
548 file_protected int file_pipe2file(struct magic_set *, int, const void *,
550 file_protected int file_vprintf(struct magic_set *, const char *, va_list)
552 file_protected int file_separator(struct magic_set *);
555 file_protected size_t file_printedlen(const struct magic_set *);
558 file_protected int file_replace(struct magic_set *, const char *, const char *);
559 file_protected int file_printf(struct magic_set *, const char *, ...)
561 file_protected int file_reset(struct magic_set *, int);
562 file_protected int file_tryelf(struct magic_set *, const struct buffer *);
563 file_protected int file_trycdf(struct magic_set *, const struct buffer *);
565 file_protected int file_zmagic(struct magic_set *, const struct buffer *,
568 file_protected int file_ascmagic(struct magic_set *, const struct buffer *,
570 file_protected int file_ascmagic_with_encoding(struct magic_set *,
572 file_protected int file_encoding(struct magic_set *, const struct buffer *,
574 file_protected int file_is_json(struct magic_set *, const struct buffer *);
575 file_protected int file_is_csv(struct magic_set *, const struct buffer *, int,
577 file_protected int file_is_simh(struct magic_set *, const struct buffer *);
578 file_protected int file_is_tar(struct magic_set *, const struct buffer *);
579 file_protected int file_softmagic(struct magic_set *, const struct buffer *,
581 file_protected int file_apprentice(struct magic_set *, const char *, int);
583 file_protected int buffer_apprentice(struct magic_set *, struct magic **,
585 file_protected int file_magicfind(struct magic_set *, const char *,
587 file_protected uint64_t file_signextend(struct magic_set *, struct magic *,
592 file_protected void file_badread(struct magic_set *);
593 file_protected void file_badseek(struct magic_set *);
594 file_protected void file_oomem(struct magic_set *, size_t);
595 file_protected void file_error(struct magic_set *, int, const char *, ...)
597 file_protected void file_magerror(struct magic_set *, const char *, ...)
599 file_protected void file_magwarn(struct magic_set *, const char *, ...)
605 file_protected size_t file_mbswidth(struct magic_set *, const char *);
606 file_protected const char *file_getbuffer(struct magic_set *);
608 file_protected int file_check_mem(struct magic_set *, unsigned int);
611 file_protected size_t file_pstring_length_size(struct magic_set *,
613 file_protected size_t file_pstring_get_length(struct magic_set *,
615 file_protected char * file_printable(struct magic_set *, char *, size_t,
618 file_protected int file_os2_apptype(struct magic_set *, const char *,
632 file_protected int file_regcomp(struct magic_set *, file_regex_t *,
634 file_protected int file_regexec(struct magic_set *, file_regex_t *,
644 file_protected file_pushbuf_t *file_push_buffer(struct magic_set *);
645 file_protected char *file_pop_buffer(struct magic_set *, file_pushbuf_t *);