Lines Matching refs:amt
36 bfd_size_type amt = sizeof (record->header); in oasys_read_record() local
38 if (bfd_bread ((void *) record, amt, abfd) != amt) in oasys_read_record()
41 amt = record->header.length - sizeof (record->header); in oasys_read_record()
42 if ((long) amt <= 0) in oasys_read_record()
44 if (bfd_bread ((void *) ((char *) record + sizeof (record->header)), amt, abfd) in oasys_read_record()
45 != amt) in oasys_read_record()
76 bfd_size_type amt; in oasys_slurp_symbol_table() local
82 amt = abfd->symcount; in oasys_slurp_symbol_table()
83 amt *= sizeof (asymbol); in oasys_slurp_symbol_table()
84 data->symbols = bfd_alloc (abfd, amt); in oasys_slurp_symbol_table()
86 amt = data->symbol_string_length; in oasys_slurp_symbol_table()
89 amt += abfd->symcount; in oasys_slurp_symbol_table()
91 data->strings = bfd_alloc (abfd, amt); in oasys_slurp_symbol_table()
221 bfd_size_type amt; in oasys_archive_p() local
223 amt = sizeof (header_ext); in oasys_archive_p()
225 || bfd_bread ((void *) &header_ext, amt, abfd) != amt) in oasys_archive_p()
258 amt = sizeof (oasys_ar_data_type); in oasys_archive_p()
259 ar = bfd_alloc (abfd, amt); in oasys_archive_p()
261 amt = header.mod_count; in oasys_archive_p()
262 amt *= sizeof (oasys_module_info_type); in oasys_archive_p()
263 module = bfd_alloc (abfd, amt); in oasys_archive_p()
282 amt = sizeof (record_ext); in oasys_archive_p()
283 if (bfd_bread ((void *) &record_ext, amt, abfd) != amt) in oasys_archive_p()
295 amt = record.module_name_size; in oasys_archive_p()
296 module[i].name = bfd_alloc (abfd, amt + 1); in oasys_archive_p()
299 if (bfd_bread ((void *) module[i].name, amt, abfd) != amt) in oasys_archive_p()
318 bfd_size_type amt = sizeof (oasys_data_type); in oasys_mkobject() local
320 abfd->tdata.oasys_obj_data = bfd_alloc (abfd, amt); in oasys_mkobject()
347 bfd_size_type amt; in oasys_slurp_section_data() local
455 amt = sizeof (oasys_reloc_type); in oasys_slurp_section_data()
456 r = bfd_alloc (abfd, amt); in oasys_slurp_section_data()
487 amt = sizeof (oasys_reloc_type); in oasys_slurp_section_data()
488 r = bfd_alloc (abfd, amt); in oasys_slurp_section_data()
1088 bfd_size_type amt = sizeof (oasys_symbol_type); in oasys_make_empty_symbol() local
1089 oasys_symbol_type *new_symbol_type = bfd_zalloc (abfd, amt); in oasys_make_empty_symbol()