Lines Matching refs:namlen
223 bfd_size_type namlen; member
266 info->namlen = strlen (info->name); in member_layout_init()
267 info->padded_namlen = info->namlen + (info->namlen & 1); in member_layout_init()
1222 size_t namlen; in _bfd_xcoff_slurp_armap() local
1256 namlen = strtol (hdr.namlen, (char **) NULL, 10); in _bfd_xcoff_slurp_armap()
1257 off = ((namlen + 1) & ~ (size_t) 1) + SXCOFFARFMAG; in _bfd_xcoff_slurp_armap()
1311 namlen = strtol (hdr.namlen, (char **) NULL, 10); in _bfd_xcoff_slurp_armap()
1312 off = ((namlen + 1) & ~ (size_t) 1) + SXCOFFARFMAG; in _bfd_xcoff_slurp_armap()
1480 bfd_size_type namlen; in _bfd_xcoff_read_ar_hdr() local
1500 namlen = strtol (hdr.namlen, (char **) NULL, 10); in _bfd_xcoff_read_ar_hdr()
1501 amt = SIZEOF_AR_HDR + namlen + 1; 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()
1532 namlen = strtol (hdr.namlen, (char **) NULL, 10); in _bfd_xcoff_read_ar_hdr()
1533 amt = SIZEOF_AR_HDR_BIG + namlen + 1; 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()
1557 if (bfd_seek (abfd, (file_ptr) ((namlen & 1) + SXCOFFARFMAG), SEEK_CUR) != 0) in _bfd_xcoff_read_ar_hdr()
1694 sprintf (hdr.namlen, "%d", 0); in xcoff_write_armap_old()
1725 size_t namlen; in xcoff_write_armap_old() local
1728 namlen = strlen (name); in xcoff_write_armap_old()
1729 if (bfd_bwrite (name, (bfd_size_type) (namlen + 1), abfd) != namlen + 1) in xcoff_write_armap_old()
1921 PRINT4 (hdr->namlen, 0) ; in xcoff_write_armap_big()
2001 PRINT4 (hdr->namlen, 0); in xcoff_write_armap_big()
2144 bfd_size_type namlen; in xcoff_write_archive_contents_old() local
2155 sprintf (ahdrp->namlen, "%ld", (long) iterator.current.namlen); in xcoff_write_archive_contents_old()
2167 namlen = iterator.current.padded_namlen; in xcoff_write_archive_contents_old()
2169 || bfd_bwrite (iterator.current.name, namlen, abfd) != namlen in xcoff_write_archive_contents_old()
2197 sprintf (ahdr.namlen, "%d", 0); in xcoff_write_archive_contents_old()
2238 bfd_size_type namlen; in xcoff_write_archive_contents_old() local
2241 namlen = strlen (name); in xcoff_write_archive_contents_old()
2242 if (bfd_bwrite (name, namlen + 1, abfd) != namlen + 1) in xcoff_write_archive_contents_old()
2364 bfd_size_type namlen; in xcoff_write_archive_contents_big() local
2369 PRINT4 (ahdrp->namlen, iterator.current.namlen); in xcoff_write_archive_contents_big()
2379 namlen = iterator.current.padded_namlen; in xcoff_write_archive_contents_big()
2381 || bfd_bwrite (iterator.current.name, namlen, abfd) != namlen in xcoff_write_archive_contents_big()
2453 PRINT4 (hdr->namlen, 0); in xcoff_write_archive_contents_big()
2478 size_t namlen; in xcoff_write_archive_contents_big() local
2481 namlen = sprintf (mt, "%s", name); in xcoff_write_archive_contents_big()
2482 mt += namlen + 1; in xcoff_write_archive_contents_big()