Lines Matching +defs:lib +defs:a

76  * on a list which is searched each time an archive member is referenced.
86 * "archive.a(member1 member2)".
98 * Find the modification time of a member of
103 * Find the modification time of a member of
109 * Arch_FindLib Search for a library along a path. The
113 * Arch_LibOODate Decide if a library node is out-of-date.
154 ArchFree(Arch *a)
158 HashIter_Init(&hi, &a->members);
162 free(a->name);
163 free(a->fnametab);
164 HashTable_Done(&a->members);
165 free(a);
183 * Parse an archive specification such as "archive.a(member1 member2.${EXT})",
193 FStr lib; /* Library-part of specification */
196 bool expandLib; /* Whether the parsed lib contains
200 lib = FStr_InitRefer(spec);
203 for (cp = lib.str; *cp != '(' && *cp != '\0';) {
228 Var_Expand(&lib, scope, VARE_EVAL_DEFINED);
234 * a close paren).
302 fullName = FullName(lib.str, mem.str);
330 char *fullname = FullName(lib.str, member);
342 char *fullname = FullName(lib.str, mem.str);
354 FStr_Done(&lib);
363 * Locate a member in an archive.
383 const Arch *a = ln->datum;
384 if (strcmp(a->name, archive) == 0)
531 * Parse an SVR4 style entry that begins with a slash.
534 * from offset of a table previously read.
535 * If a table is read, the file pointer is moved to the next archive member.
561 * This is a table of archive names, so we build one for
624 * with a slash.
637 * member's struct ar_hdr. In case of a failure or if the member doesn't
746 * GNode. Update the st_mtime of the entire archive as well. For a library,
766 * Given a node which represents a library, touch the thing, making sure that
810 * Given a nonexistent archive member's node, update gn->mtime from its
841 * Something which isn't a library depends on the
851 * Search for a library along the given search path.
865 char *libName = str_concat3("lib", gn->name + 2, ".a");
882 /* A library without a table of contents is out-of-date. */
901 * Decide if a node with the OP_LIB attribute is out-of-date.
904 * There are several ways for a library to be out-of-date that are not
908 * A library that is only used as a source is never considered out-of-date by
911 * any of these reasons, given that it is a target on a dependency line