Lines Matching refs:ar_hdr

163 			       * by <name, struct ar_hdr *> key/value pairs */
172 static struct ar_hdr *ArchStatMember(char *, char *, Boolean);
173 static FILE *ArchFindMember(char *, char *, struct ar_hdr *, const char *);
514 * A pointer to the current struct ar_hdr structure for the member. Note
524 static struct ar_hdr *
535 struct ar_hdr arh; /* archive-member header for reading archive */
557 return ((struct ar_hdr *)Hash_GetValue(he));
569 return ((struct ar_hdr *)Hash_GetValue(he));
582 static struct ar_hdr sarh;
620 while (fread((char *)&arh, sizeof(struct ar_hdr), 1, arch) == 1) {
689 Hash_SetValue(he, bmake_malloc(sizeof(struct ar_hdr)));
690 memcpy(Hash_GetValue(he), &arh, sizeof(struct ar_hdr));
706 return ((struct ar_hdr *)Hash_GetValue(he));
838 * start of the member's struct ar_hdr, or NULL if the member was
839 * nonexistent. The current struct ar_hdr for member.
842 * The passed struct ar_hdr structure is filled in.
847 ArchFindMember(char *archive, char *member, struct ar_hdr *arhPtr,
886 while (fread((char *)arhPtr, sizeof(struct ar_hdr), 1, arch) == 1) {
912 fseek(arch, -sizeof(struct ar_hdr), SEEK_CUR);
942 fseek(arch, -sizeof(struct ar_hdr) - elen, SEEK_CUR);
994 struct ar_hdr arh; /* Current header describing member */
1007 (void)fwrite((char *)&arh, sizeof(struct ar_hdr), 1, arch);
1039 struct ar_hdr arh; /* Header describing table of contents */
1046 (void)fwrite((char *)&arh, sizeof(struct ar_hdr), 1, arch);
1075 struct ar_hdr *arhPtr; /* Header of desired member */
1254 struct ar_hdr *arhPtr; /* Header for __.SYMDEF */