Lines Matching refs:magic_set
457 struct magic_set { struct
528 file_protected struct magic_set *file_ms_alloc(int); argument
529 file_protected void file_ms_free(struct magic_set *);
530 file_protected int file_default(struct magic_set *, size_t);
531 file_protected int file_buffer(struct magic_set *, int, struct stat *,
533 file_protected int file_fsmagic(struct magic_set *, const char *,
535 file_protected int file_pipe2file(struct magic_set *, int, const void *,
537 file_protected int file_vprintf(struct magic_set *, const char *, va_list)
539 file_protected int file_separator(struct magic_set *);
542 file_protected size_t file_printedlen(const struct magic_set *);
545 file_protected int file_replace(struct magic_set *, const char *, const char *);
546 file_protected int file_printf(struct magic_set *, const char *, ...)
548 file_protected int file_reset(struct magic_set *, int);
549 file_protected int file_tryelf(struct magic_set *, const struct buffer *);
550 file_protected int file_trycdf(struct magic_set *, const struct buffer *);
552 file_protected int file_zmagic(struct magic_set *, const struct buffer *,
555 file_protected int file_ascmagic(struct magic_set *, const struct buffer *,
557 file_protected int file_ascmagic_with_encoding(struct magic_set *,
559 file_protected int file_encoding(struct magic_set *, const struct buffer *,
561 file_protected int file_is_json(struct magic_set *, const struct buffer *);
562 file_protected int file_is_csv(struct magic_set *, const struct buffer *, int,
564 file_protected int file_is_simh(struct magic_set *, const struct buffer *);
565 file_protected int file_is_tar(struct magic_set *, const struct buffer *);
566 file_protected int file_softmagic(struct magic_set *, const struct buffer *,
568 file_protected int file_apprentice(struct magic_set *, const char *, int);
570 file_protected int buffer_apprentice(struct magic_set *, struct magic **,
572 file_protected int file_magicfind(struct magic_set *, const char *,
574 file_protected uint64_t file_signextend(struct magic_set *, struct magic *,
579 file_protected void file_badread(struct magic_set *);
580 file_protected void file_badseek(struct magic_set *);
581 file_protected void file_oomem(struct magic_set *, size_t);
582 file_protected void file_error(struct magic_set *, int, const char *, ...)
584 file_protected void file_magerror(struct magic_set *, const char *, ...)
586 file_protected void file_magwarn(struct magic_set *, const char *, ...)
590 file_protected size_t file_mbswidth(struct magic_set *, const char *);
591 file_protected const char *file_getbuffer(struct magic_set *);
593 file_protected int file_check_mem(struct magic_set *, unsigned int);
596 file_protected size_t file_pstring_length_size(struct magic_set *,
598 file_protected size_t file_pstring_get_length(struct magic_set *,
600 file_protected char * file_printable(struct magic_set *, char *, size_t,
603 file_protected int file_os2_apptype(struct magic_set *, const char *,
617 file_protected int file_regcomp(struct magic_set *, file_regex_t *,
619 file_protected int file_regexec(struct magic_set *, file_regex_t *,
629 file_protected file_pushbuf_t *file_push_buffer(struct magic_set *);
630 file_protected char *file_pop_buffer(struct magic_set *, file_pushbuf_t *);