• Home
  • Raw
  • Download

Lines Matching refs:hdrp

1491       struct xcoff_ar_hdr *hdrp;  in _bfd_xcoff_read_ar_hdr()  local
1502 hdrp = (struct xcoff_ar_hdr *) bfd_alloc (abfd, amt); in _bfd_xcoff_read_ar_hdr()
1503 if (hdrp == NULL) in _bfd_xcoff_read_ar_hdr()
1508 memcpy (hdrp, &hdr, SIZEOF_AR_HDR); in _bfd_xcoff_read_ar_hdr()
1509 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR, namlen, abfd) != namlen) in _bfd_xcoff_read_ar_hdr()
1514 ((char *) hdrp)[SIZEOF_AR_HDR + namlen] = '\0'; in _bfd_xcoff_read_ar_hdr()
1516 ret->arch_header = (char *) hdrp; in _bfd_xcoff_read_ar_hdr()
1518 ret->filename = (char *) hdrp + SIZEOF_AR_HDR; in _bfd_xcoff_read_ar_hdr()
1523 struct xcoff_ar_hdr_big *hdrp; in _bfd_xcoff_read_ar_hdr() local
1534 hdrp = (struct xcoff_ar_hdr_big *) bfd_alloc (abfd, amt); in _bfd_xcoff_read_ar_hdr()
1535 if (hdrp == NULL) in _bfd_xcoff_read_ar_hdr()
1540 memcpy (hdrp, &hdr, SIZEOF_AR_HDR_BIG); in _bfd_xcoff_read_ar_hdr()
1541 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR_BIG, namlen, abfd) != namlen) in _bfd_xcoff_read_ar_hdr()
1546 ((char *) hdrp)[SIZEOF_AR_HDR_BIG + namlen] = '\0'; in _bfd_xcoff_read_ar_hdr()
1548 ret->arch_header = (char *) hdrp; in _bfd_xcoff_read_ar_hdr()
1553 ret->filename = (char *) hdrp + SIZEOF_AR_HDR_BIG; in _bfd_xcoff_read_ar_hdr()
1635 struct xcoff_ar_hdr *hdrp = arch_xhdr (abfd); in _bfd_xcoff_stat_arch_elt() local
1637 s->st_mtime = strtol (hdrp->date, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1638 s->st_uid = strtol (hdrp->uid, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1639 s->st_gid = strtol (hdrp->gid, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1640 s->st_mode = strtol (hdrp->mode, (char **) NULL, 8); in _bfd_xcoff_stat_arch_elt()
1645 struct xcoff_ar_hdr_big *hdrp = arch_xhdr_big (abfd); in _bfd_xcoff_stat_arch_elt() local
1647 s->st_mtime = strtol (hdrp->date, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1648 s->st_uid = strtol (hdrp->uid, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1649 s->st_gid = strtol (hdrp->gid, (char **) NULL, 10); in _bfd_xcoff_stat_arch_elt()
1650 s->st_mode = strtol (hdrp->mode, (char **) NULL, 8); in _bfd_xcoff_stat_arch_elt()