Home | History | Annotate | Download | only in make

Lines Matching refs: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.
269 "Missing \")\" in archive specification");
281 * SuffExpandChildren, both for the archive and the member
286 * This slows down archive specs with dynamic sources, since
299 * Now form an archive spec and recurse to deal with
363 * Locate a member in an archive.
368 ArchStatMember(const char *archive, const char *member, bool addToCache)
372 size_t size; /* Size of archive member */
384 if (strcmp(a->name, archive) == 0)
411 * Since the archive is not to be cached, assume there's no
416 arch = ArchFindMember(archive, member, &sarh, "r");
424 arch = fopen(archive, "r");
435 ar->name = bmake_strdup(archive);
535 * If a table is read, the file pointer is moved to the next archive member.
538 * -1: Bad data in archive
561 * This is a table of archive names, so we build one for
578 "Found svr4 archive name table with %lu entries\n",
633 * Load the header of an archive member. The mode is "r" for read-only
636 * Upon successful return, the archive file is positioned at the start of the
643 ArchFindMember(const char *archive, const char *member,
647 int size; /* Size of archive member */
651 arch = fopen(archive, mode);
673 DEBUG5(ARCH, "Reading archive %s member %.*s mtime %.*s\n",
674 archive,
745 * Update the ar_date of the member of an archive, on disk but not in the
746 * GNode. Update the st_mtime of the entire archive as well. For a library,
794 * Update the mtime of the GNode with the mtime from the archive member on
810 * Given a nonexistent archive member's node, update gn->mtime from its
823 * If the parent is an archive specification and is
923 * We don't compare the archive time vs. TOC time because they can be
926 * archive, not by ranlib rules, which affect the TOC.