Lines Matching refs:magic_set

455 struct magic_set {  struct
526 file_protected struct magic_set *file_ms_alloc(int); argument
527 file_protected void file_ms_free(struct magic_set *);
528 file_protected int file_default(struct magic_set *, size_t);
529 file_protected int file_buffer(struct magic_set *, int, struct stat *,
531 file_protected int file_fsmagic(struct magic_set *, const char *,
533 file_protected int file_pipe2file(struct magic_set *, int, const void *,
535 file_protected int file_vprintf(struct magic_set *, const char *, va_list)
537 file_protected int file_separator(struct magic_set *);
540 file_protected size_t file_printedlen(const struct magic_set *);
543 file_protected int file_replace(struct magic_set *, const char *, const char *);
544 file_protected int file_printf(struct magic_set *, const char *, ...)
546 file_protected int file_reset(struct magic_set *, int);
547 file_protected int file_tryelf(struct magic_set *, const struct buffer *);
548 file_protected int file_trycdf(struct magic_set *, const struct buffer *);
550 file_protected int file_zmagic(struct magic_set *, const struct buffer *,
553 file_protected int file_ascmagic(struct magic_set *, const struct buffer *,
555 file_protected int file_ascmagic_with_encoding(struct magic_set *,
557 file_protected int file_encoding(struct magic_set *, const struct buffer *,
559 file_protected int file_is_json(struct magic_set *, const struct buffer *);
560 file_protected int file_is_csv(struct magic_set *, const struct buffer *, int,
562 file_protected int file_is_simh(struct magic_set *, const struct buffer *);
563 file_protected int file_is_tar(struct magic_set *, const struct buffer *);
564 file_protected int file_softmagic(struct magic_set *, const struct buffer *,
566 file_protected int file_apprentice(struct magic_set *, const char *, int);
568 file_protected int buffer_apprentice(struct magic_set *, struct magic **,
570 file_protected int file_magicfind(struct magic_set *, const char *,
572 file_protected uint64_t file_signextend(struct magic_set *, struct magic *,
577 file_protected void file_badread(struct magic_set *);
578 file_protected void file_badseek(struct magic_set *);
579 file_protected void file_oomem(struct magic_set *, size_t);
580 file_protected void file_error(struct magic_set *, int, const char *, ...)
582 file_protected void file_magerror(struct magic_set *, const char *, ...)
584 file_protected void file_magwarn(struct magic_set *, const char *, ...)
588 file_protected size_t file_mbswidth(struct magic_set *, const char *);
589 file_protected const char *file_getbuffer(struct magic_set *);
591 file_protected int file_check_mem(struct magic_set *, unsigned int);
594 file_protected size_t file_pstring_length_size(struct magic_set *,
596 file_protected size_t file_pstring_get_length(struct magic_set *,
598 file_protected char * file_printable(struct magic_set *, char *, size_t,
601 file_protected int file_os2_apptype(struct magic_set *, const char *,
615 file_protected int file_regcomp(struct magic_set *, file_regex_t *,
617 file_protected int file_regexec(struct magic_set *, file_regex_t *,
627 file_protected file_pushbuf_t *file_push_buffer(struct magic_set *);
628 file_protected char *file_pop_buffer(struct magic_set *, file_pushbuf_t *);