Lines Matching refs:amt
498 bfd_size_type amt; in elf_object_p() local
684 amt = sizeof (*i_shdrp) * i_ehdrp->e_shnum; in elf_object_p()
685 i_shdrp = (Elf_Internal_Shdr *) bfd_alloc (abfd, amt); in elf_object_p()
690 amt = sizeof (i_shdrp) * num_sec; in elf_object_p()
691 elf_elfsections (abfd) = (Elf_Internal_Shdr **) bfd_alloc (abfd, amt); in elf_object_p()
774 amt = i_ehdrp->e_phnum * sizeof (Elf_Internal_Phdr); in elf_object_p()
775 elf_tdata (abfd)->phdr = (Elf_Internal_Phdr *) bfd_alloc (abfd, amt); in elf_object_p()
992 bfd_size_type amt; in elf_write_shdrs_and_ehdr() local
1003 amt = sizeof (x_ehdr); in elf_write_shdrs_and_ehdr()
1005 || bfd_bwrite (&x_ehdr, amt, abfd) != amt) in elf_write_shdrs_and_ehdr()
1018 amt = i_ehdrp->e_shnum; in elf_write_shdrs_and_ehdr()
1019 amt *= sizeof (*x_shdrp); in elf_write_shdrs_and_ehdr()
1020 x_shdrp = (Elf_External_Shdr *) bfd_alloc (abfd, amt); in elf_write_shdrs_and_ehdr()
1032 || bfd_bwrite (x_shdrp, amt, abfd) != amt) in elf_write_shdrs_and_ehdr()
1130 bfd_size_type amt; in elf_slurp_symbol_table() local
1175 amt = symcount; in elf_slurp_symbol_table()
1176 amt *= sizeof (elf_symbol_type); in elf_slurp_symbol_table()
1177 symbase = (elf_symbol_type *) bfd_zalloc (abfd, amt); in elf_slurp_symbol_table()
1488 bfd_size_type amt; in elf_slurp_reloc_table() local
1524 amt = (reloc_count + reloc_count2) * sizeof (arelent); in elf_slurp_reloc_table()
1525 relents = (arelent *) bfd_alloc (abfd, amt); in elf_slurp_reloc_table()