Lines Matching defs:archive

74  * The first time an archive is referenced, all of its members' headers are
75 * read and cached and the archive closed again. All cached archives are kept
76 * on a list which is searched each time an archive member is referenced.
85 * Parse an archive specification such as
86 * "archive.a(member1 member2)".
88 * Arch_Touch Alter the modification time of the archive
99 * an archive *in the archive* and place it in the
104 * an archive. Called when the member doesn't
105 * already exist. Looks in the archive for the
138 HashTable members; /* All the members of the archive described
169 /* Return "archive(member)". */
171 FullName(const char *archive, const char *member)
175 Buf_AddStr(&buf, archive);
183 * Parse an archive specification such as "archive.a(member1 member2.${EXT})",
185 * beyond the archive specification and any trailing whitespace.
270 "in archive specification");
282 * SuffExpandChildren, both for the archive and the member
287 * This slows down archive specs with dynamic sources, since
300 * Now form an archive spec and recurse to deal with
364 * Locate a member in an archive.
369 ArchStatMember(const char *archive, const char *member, bool addToCache)
373 size_t size; /* Size of archive member */
385 if (strcmp(a->name, archive) == 0)
412 * Since the archive is not to be cached, assume there's no
417 arch = ArchFindMember(archive, member, &sarh, "r");
425 arch = fopen(archive, "r");
436 ar->name = bmake_strdup(archive);
536 * If a table is read, the file pointer is moved to the next archive member.
539 * -1: Bad data in archive
562 * This is a table of archive names, so we build one for
579 "Found svr4 archive name table with %lu entries\n",
634 * Load the header of an archive member. The mode is "r" for read-only
637 * Upon successful return, the archive file is positioned at the start of the
644 ArchFindMember(const char *archive, const char *member,
648 int size; /* Size of archive member */
652 arch = fopen(archive, mode);
674 DEBUG5(ARCH, "Reading archive %s member %.*s mtime %.*s\n",
675 archive,
746 * Update the ar_date of the member of an archive, on disk but not in the
747 * GNode. Update the st_mtime of the entire archive as well. For a library,
796 * Update the mtime of the GNode with the mtime from the archive member on
812 * Given a nonexistent archive member's node, update gn->mtime from its
825 * If the parent is an archive specification and is
926 * We don't compare the archive time vs. TOC time because they can be
929 * archive, not by ranlib rules, which affect the TOC.