Lines Matching refs:file_protected
113 # ifndef file_protected
114 # define file_protected macro
118 # ifndef file_protected
119 # define file_protected __attribute__((__visibility__("hidden"))) macro
124 # ifndef file_protected
125 # define file_protected macro
535 file_protected const char *file_fmtdatetime(char *, size_t, uint64_t, int);
536 file_protected const char *file_fmtdate(char *, size_t, uint16_t);
537 file_protected const char *file_fmttime(char *, size_t, uint16_t);
538 file_protected const char *file_fmtvarint(char *, size_t, const unsigned char *,
540 file_protected const char *file_fmtnum(char *, size_t, const char *, int);
541 file_protected struct magic_set *file_ms_alloc(int);
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 *);
553 file_protected char *file_copystr(char *, size_t, size_t, const char *);
554 file_protected int file_checkfmt(char *, size_t, const char *);
555 file_protected size_t file_printedlen(const struct magic_set *);
556 file_protected int file_print_guid(char *, size_t, const uint64_t *);
557 file_protected int file_parse_guid(const char *, uint64_t *);
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);
582 file_protected size_t file_magic_strength(const struct magic *, size_t);
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 *,
589 file_protected uintmax_t file_varint2uintmax_t(const unsigned char *, int,
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 *, ...)
601 file_protected void file_magwarn1(const char *, ...)
603 file_protected void file_mdump(struct magic *);
604 file_protected void file_showstr(FILE *, const char *, size_t);
605 file_protected size_t file_mbswidth(struct magic_set *, const char *);
606 file_protected const char *file_getbuffer(struct magic_set *);
607 file_protected ssize_t sread(int, void *, size_t, int);
608 file_protected int file_check_mem(struct magic_set *, unsigned int);
609 file_protected int file_looks_utf8(const unsigned char *, size_t,
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 *,
621 file_protected int file_pipe_closexec(int *);
622 file_protected int file_clear_closexec(int);
623 file_protected char *file_strtrim(char *);
625 file_protected void buffer_init(struct buffer *, int, const struct stat *,
627 file_protected void buffer_fini(struct buffer *);
628 file_protected int buffer_fill(const struct buffer *);
632 file_protected int file_regcomp(struct magic_set *, file_regex_t *,
634 file_protected int file_regexec(struct magic_set *, file_regex_t *,
636 file_protected void file_regfree(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 *);
648 extern file_protected const char *file_names[];
649 extern file_protected const size_t file_nnames;
699 file_protected const char *file_getprogname(void);
700 file_protected void file_setprogname(const char *);
701 file_protected void file_err(int, const char *, ...)
703 file_protected void file_errx(int, const char *, ...)
705 file_protected void file_warn(const char *, ...)
707 file_protected void file_warnx(const char *, ...)