Home
last modified time | relevance | path

Searched defs:bsdar (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/elftoolchain/ar/
H A Dar.h100 struct bsdar { struct
101 const char *filename; /* archive name. */
104 char mode; /* program mode */
105 int options; /* command line options */
106 FILE *output; /* default output stream */
108 const char *progname; /* program name */
109 int argc;
110 char **argv;
112 dev_t ar_dev; /* archive device. */
113 ino_t ar_ino; /* archive inode. */
[all …]
H A Dwrite.c213 insert_obj(struct bsdar *bsdar, struct ar_obj *obj, struct ar_obj *pos) in insert_obj()
247 read_objs(struct bsdar *bsdar, const char *archive, int checkargv) in read_objs()
359 ar_write_archive(struct bsdar *bsdar, int mode) in ar_write_archive()
541 write_cleanup(struct bsdar *bsdar) in write_cleanup()
572 bsdar_symtab_size(struct bsdar *bsdar) in bsdar_symtab_size()
602 write_svr4_symtab_entry(struct bsdar *bsdar, struct archive *a) in write_svr4_symtab_entry()
619 write_bsd_symtab_entry(struct bsdar *bsdar, struct archive *a) in write_bsd_symtab_entry()
663 write_objs(struct bsdar *bsdar) in write_objs()
813 create_symtab_entry(struct bsdar *bsdar, Elf *e) in create_symtab_entry()
914 add_to_ar_str_table(struct bsdar *bsdar, const char *name) in add_to_ar_str_table()
[all …]
H A Dutil.c48 bsdar_vwarnc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) in bsdar_vwarnc()
59 bsdar_warnc(struct bsdar *bsdar, int code, const char *fmt, ...) in bsdar_warnc()
69 bsdar_verrc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) in bsdar_verrc()
80 bsdar_errc(struct bsdar *bsdar, int code, const char *fmt, ...) in bsdar_errc()
169 bsdar_is_pseudomember(struct bsdar *bsdar, const char *name) in bsdar_is_pseudomember()
H A Dar.c100 struct bsdar *bsdar, bsdar_storage; in main() local
365 set_mode(struct bsdar *bsdar, char opt) in set_mode()
375 only_mode(struct bsdar *bsdar, const char *opt, const char *valid_modes) in only_mode()
H A Dread.c51 ar_read_archive(struct bsdar *bsdar, int mode) in ar_read_archive()
H A Dacpyacc.y84 static struct bsdar *bsdar; variable
/freebsd/usr.bin/ar/
H A Dar.h80 struct bsdar { struct
81 const char *filename; /* archive name. */
82 const char *addlib; /* target of ADDLIB. */
83 const char *posarg; /* position arg for modifiers -a, -b. */
84 char mode; /* program mode */
85 int options; /* command line options */
87 const char *progname; /* program name */
88 int argc;
89 char **argv;
115 void ar_mode_script(struct bsdar *ar); argument
H A Dwrite.c79 create_obj_from_file(struct bsdar *bsdar, const char *name, time_t mtime) in create_obj_from_file()
181 free_obj(struct bsdar *bsdar, struct ar_obj *obj) in free_obj()
197 insert_obj(struct bsdar *bsdar, struct ar_obj *obj, struct ar_obj *pos) in insert_obj()
230 read_objs(struct bsdar *bsdar, const char *archive, int checkargv) in read_objs()
336 ar_write_archive(struct bsdar *bsdar, int mode) in ar_write_archive()
511 write_cleanup(struct bsdar *bsdar) in write_cleanup()
556 write_data(struct bsdar *bsdar, struct archive *a, const void *buf, size_t s) in write_data()
575 write_objs(struct bsdar *bsdar) in write_objs()
730 create_symtab_entry(struct bsdar *bsdar, void *maddr, size_t size) in create_symtab_entry()
842 add_to_ar_str_table(struct bsdar *bsdar, const char *name) in add_to_ar_str_table()
[all …]
H A Dutil.c46 bsdar_vwarnc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) in bsdar_vwarnc()
57 bsdar_warnc(struct bsdar *bsdar, int code, const char *fmt, ...) in bsdar_warnc()
67 bsdar_verrc(struct bsdar *bsdar, int code, const char *fmt, va_list ap) in bsdar_verrc()
78 bsdar_errc(struct bsdar *bsdar, int code, const char *fmt, ...) in bsdar_errc()
H A Dar.c100 struct bsdar *bsdar, bsdar_storage; in main() local
350 set_mode(struct bsdar *bsdar, char opt) in set_mode()
360 only_mode(struct bsdar *bsdar, const char *opt, const char *valid_modes) in only_mode()
H A Dread.c48 ar_read_archive(struct bsdar *bsdar, int mode, FILE *out) in ar_read_archive()
H A Dacpyacc.y81 static struct bsdar *bsdar; variable