Searched refs:arh (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.0-release/lib/libelf/
H A Delf_getarhdr.c37 Elf_Arhdr *arh; local
44 if ((arh = e->e_arhdr) != NULL)
45 return (arh);
H A Delf_rand.c38 struct ar_hdr *arh; local
47 arh = (struct ar_hdr *) (ar->e_rawfile + offset);
50 if (arh->ar_fmag[0] != '`' || arh->ar_fmag[1] != '\n') {
H A Dlibelf_ar.c81 struct ar_hdr *arh; local
90 arh = (struct ar_hdr *) ((uintptr_t) e->e_rawfile - sizeof(struct ar_hdr));
92 assert((uintptr_t) arh >= (uintptr_t) parent->e_rawfile + SARMAG);
93 assert((uintptr_t) arh <= (uintptr_t) parent->e_rawfile + parent->e_rawsize -
104 if ((eh->ar_name = _libelf_ar_get_name(arh->ar_name, sizeof(arh->ar_name),
108 if (_libelf_ar_get_number(arh->ar_uid, sizeof(arh->ar_uid), 10, &n) == 0)
112 if (_libelf_ar_get_number(arh->ar_gid, sizeof(arh
148 struct ar_hdr *arh; local
[all...]
H A Dlibelf_ar_util.c187 struct ar_hdr arh; local
208 if (s + sizeof(arh) > end) {
213 (void) memcpy(&arh, s, sizeof(arh));
215 if (arh.ar_fmag[0] != '`' || arh.ar_fmag[1] != '\n') {
220 if (arh.ar_name[0] != '/') /* not a special symbol */
223 if (_libelf_ar_get_number(arh.ar_size, sizeof(arh.ar_size),
231 s += sizeof(arh);
[all...]
/freebsd-10.0-release/contrib/bmake/
H A Darch.c227 #define AR_MAX_NAME_LEN (sizeof(arh.AR_NAME)-1)
583 struct ar_hdr arh; /* archive-member header for reading archive */ local
668 while (fread((char *)&arh, sizeof(struct ar_hdr), 1, arch) == 1) {
669 if (strncmp( arh.AR_FMAG, ARFMAG, sizeof(arh.AR_FMAG)) != 0) {
682 arh.AR_SIZE[sizeof(arh.AR_SIZE)-1] = '\0';
683 size = (int)strtol(arh.AR_SIZE, NULL, 10);
685 (void)strncpy(memName, arh.AR_NAME, sizeof(arh
738 memcpy(Hash_GetValue(he), &arh, sizeof(struct ar_hdr)); local
1042 struct ar_hdr arh; /* Current header describing member */ local
1087 struct ar_hdr arh; /* Header describing table of contents */ local
[all...]
/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dinput.c135 Elf_Arhdr *arh; local
141 if ((arh = elf_getarhdr(melf)) == NULL) {
147 if (*arh->ar_name != '/') {
149 strlen(arh->ar_name) + 1 + 1;
152 snprintf(memname, memlen, "%s(%s)", file, arh->ar_name);
255 Elf_Arhdr *arh; local
259 if ((arh = elf_getarhdr(melf)) == NULL) {
265 if (*arh->ar_name != '/')
/freebsd-10.0-release/contrib/binutils/bfd/
H A Dlinker.c996 struct archive_hash_entry *arh;
999 arh = archive_hash_lookup (&arsym_hash, arsym->name, TRUE, FALSE);
1000 if (arh == NULL)
1007 for (pp = &arh->defs; *pp != NULL; pp = &(*pp)->next)
1024 struct archive_hash_entry *arh;
1049 arh = archive_hash_lookup (&arsym_hash, h->root.string, FALSE, FALSE);
1050 if (arh == NULL)
1062 arh = archive_hash_lookup (&arsym_hash, buf, FALSE, FALSE);
1065 if (arh == NULL)
1072 for (l = arh
993 struct archive_hash_entry *arh; local
1021 struct archive_hash_entry *arh; local
[all...]

Completed in 117 milliseconds