Lines Matching refs:amt
112 bfd_size_type amt = sizeof (struct coff_link_hash_table); in _bfd_coff_link_hash_table_create() local
114 ret = (struct coff_link_hash_table *) bfd_malloc (amt); in _bfd_coff_link_hash_table_create()
238 bfd_size_type amt; in coff_link_add_symbols() local
257 amt = symcount * sizeof (struct coff_link_hash_entry *); in coff_link_add_symbols()
258 sym_hash = (struct coff_link_hash_entry **) bfd_zalloc (abfd, amt); in coff_link_add_symbols()
535 amt = sizeof (struct coff_section_tdata); in coff_link_add_symbols()
536 stab->used_by_bfd = bfd_zalloc (abfd, amt); in coff_link_add_symbols()
586 bfd_size_type amt; in _bfd_coff_final_link() local
708 amt = abfd->section_count + 1; in _bfd_coff_final_link()
709 amt *= sizeof (struct coff_link_section_info); in _bfd_coff_final_link()
710 flaginfo.section_info = (struct coff_link_section_info *) bfd_malloc (amt); in _bfd_coff_final_link()
751 amt = o->reloc_count; in _bfd_coff_final_link()
752 amt *= sizeof (struct internal_reloc); in _bfd_coff_final_link()
754 (struct internal_reloc *) bfd_malloc (amt); in _bfd_coff_final_link()
755 amt = o->reloc_count; in _bfd_coff_final_link()
756 amt *= sizeof (struct coff_link_hash_entry *); in _bfd_coff_final_link()
758 (struct coff_link_hash_entry **) bfd_malloc (amt); in _bfd_coff_final_link()
790 amt = max_sym_count * sizeof (struct internal_syment); in _bfd_coff_final_link()
791 flaginfo.internal_syms = (struct internal_syment *) bfd_malloc (amt); in _bfd_coff_final_link()
792 amt = max_sym_count * sizeof (asection *); in _bfd_coff_final_link()
793 flaginfo.sec_ptrs = (asection **) bfd_malloc (amt); in _bfd_coff_final_link()
794 amt = max_sym_count * sizeof (long); in _bfd_coff_final_link()
795 flaginfo.sym_indices = (long int *) bfd_malloc (amt); in _bfd_coff_final_link()
797 amt = max_lineno_count * bfd_coff_linesz (abfd); in _bfd_coff_final_link()
798 flaginfo.linenos = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
800 amt = max_reloc_count * relsz; in _bfd_coff_final_link()
801 flaginfo.external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
804 amt = max_reloc_count * sizeof (struct internal_reloc); in _bfd_coff_final_link()
805 flaginfo.internal_relocs = (struct internal_reloc *) bfd_malloc (amt); in _bfd_coff_final_link()
1039 amt = max_output_reloc_count * relsz; in _bfd_coff_final_link()
1040 external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
1608 bfd_size_type amt; in _bfd_coff_link_input_bfd() local
1629 amt = sizeof (struct coff_debug_merge_type); in _bfd_coff_link_input_bfd()
1630 mt = (struct coff_debug_merge_type *) bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
1656 amt = sizeof (struct coff_debug_merge_element); in _bfd_coff_link_input_bfd()
1658 bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
1667 amt = strlen (elename) + 1; in _bfd_coff_link_input_bfd()
1668 name_copy = (char *) bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
2167 bfd_size_type amt; in _bfd_coff_link_input_bfd() local
2271 amt = oeline - flaginfo->linenos; in _bfd_coff_link_input_bfd()
2273 || bfd_bwrite (flaginfo->linenos, amt, output_bfd) != amt) in _bfd_coff_link_input_bfd()
2276 o->output_section->lineno_count += amt / linesz; in _bfd_coff_link_input_bfd()
2298 bfd_size_type amt; in _bfd_coff_link_input_bfd() local
2301 amt = outsym - flaginfo->outsyms; in _bfd_coff_link_input_bfd()
2303 || bfd_bwrite (flaginfo->outsyms, amt, output_bfd) != amt) in _bfd_coff_link_input_bfd()