Lines Matching refs:hdrp
1401 struct xcoff_ar_hdr *hdrp; local
1412 hdrp = (struct xcoff_ar_hdr *) bfd_alloc (abfd, amt);
1413 if (hdrp == NULL)
1418 memcpy (hdrp, &hdr, SIZEOF_AR_HDR);
1419 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR, namlen, abfd) != namlen)
1424 ((char *) hdrp)[SIZEOF_AR_HDR + namlen] = '\0';
1426 ret->arch_header = (char *) hdrp;
1428 ret->filename = (char *) hdrp + SIZEOF_AR_HDR;
1433 struct xcoff_ar_hdr_big *hdrp; local
1444 hdrp = (struct xcoff_ar_hdr_big *) bfd_alloc (abfd, amt);
1445 if (hdrp == NULL)
1450 memcpy (hdrp, &hdr, SIZEOF_AR_HDR_BIG);
1451 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR_BIG, namlen, abfd) != namlen)
1456 ((char *) hdrp)[SIZEOF_AR_HDR_BIG + namlen] = '\0';
1458 ret->arch_header = (char *) hdrp;
1463 ret->filename = (char *) hdrp + SIZEOF_AR_HDR_BIG;
1549 struct xcoff_ar_hdr *hdrp = arch_xhdr (abfd); local
1551 s->st_mtime = strtol (hdrp->date, (char **) NULL, 10);
1552 s->st_uid = strtol (hdrp->uid, (char **) NULL, 10);
1553 s->st_gid = strtol (hdrp->gid, (char **) NULL, 10);
1554 s->st_mode = strtol (hdrp->mode, (char **) NULL, 8);
1559 struct xcoff_ar_hdr_big *hdrp = arch_xhdr_big (abfd); local
1561 s->st_mtime = strtol (hdrp->date, (char **) NULL, 10);
1562 s->st_uid = strtol (hdrp->uid, (char **) NULL, 10);
1563 s->st_gid = strtol (hdrp->gid, (char **) NULL, 10);
1564 s->st_mode = strtol (hdrp->mode, (char **) NULL, 8);