Lines Matching defs:archive

34 #include <archive.h>
50 #define _INIT_AS_CAP 128 /* initial archive string table size */
66 static void read_objs(struct bsdar *bsdar, const char *archive,
70 static void write_data(struct bsdar *bsdar, struct archive *a,
262 * Read objects from archive into v_obj list. Note that checkargv is
268 read_objs(struct bsdar *bsdar, const char *archive, int checkargv)
270 struct archive *a;
283 AC(archive_read_open_filename(a, archive, DEF_BLKSZ));
360 * Objects from archive have obj->fd set to -1,
371 * Determine the constitution of resulting archive.
388 * Test if the specified archive exists, to figure out
398 /* We do not create archive in mode 'd', 'm' and 's'. */
412 * First read members from existing archive.
431 * Mode 'A' adds the contents of another archive to the tail of
432 * current archive. Note that mode 'A' is a special mode for the
438 * Read objects from the target archive of ADDLIB command.
440 * only, otherwise the entire archive will be read.
513 * objects which do not exist in current archive. When operating
515 * appended to the archive, without comparing with existing ones.
582 write_data(struct bsdar *bsdar, struct archive *a, const void *buf, size_t s)
598 * Write the resulting archive members.
604 struct archive *a;
606 size_t s_sz; /* size of archive symbol table. */
616 /* Create archive symbol table and archive string table, if need. */
635 * The difference is that the size of archive string table counts
667 * write the archive symbol table, if there is one.
688 /* write the archive string table, if any. */
832 * Append to the archive string table buffer.
862 * Append to the archive symbol table buffer.