Home | History | Annotate | Download | only in bfd

Lines Matching refs:amt

1428 	  bfd_size_type amt = sizeof (int);
1430 final_types[0] = bfd_alloc (abfd, amt);
1431 final_types[1] = bfd_alloc (abfd, amt);
1432 final_types[2] = bfd_alloc (abfd, amt);
1433 final_types[3] = bfd_alloc (abfd, amt);
1512 bfd_size_type amt = sizeof (int);
1514 final_types[0] = bfd_alloc (abfd, amt);
1515 final_types[1] = bfd_alloc (abfd, amt);
1516 final_types[2] = bfd_alloc (abfd, amt);
1517 final_types[3] = bfd_alloc (abfd, amt);
1551 bfd_size_type amt = sizeof (int);
1553 final_types[0] = bfd_alloc (abfd, amt);
2082 bfd_size_type amt;
2085 amt = file_hdr->space_strings_size;
2086 space_strings = bfd_malloc (amt);
2087 if (!space_strings && amt != 0)
2093 if (bfd_bread (space_strings, amt, abfd) != amt)
2115 amt = sizeof ext_space;
2116 if (bfd_bread (&ext_space, amt, abfd) != amt)
2125 amt = strlen (space_name) + 1;
2126 newname = bfd_alloc (abfd, amt);
2154 amt = sizeof ext_subspace;
2155 if (bfd_bread (&ext_subspace, amt, abfd) != amt)
2186 amt = sizeof ext_subspace;
2187 if (bfd_bread (&ext_subspace, amt, abfd) != amt)
2195 amt = strlen (subspace_name) + 1;
2196 newname = bfd_alloc (abfd, amt);
2337 amt = total_subspaces;
2338 amt *= sizeof (asection *);
2339 subspace_sections = bfd_malloc (amt);
2388 bfd_size_type amt;
2392 amt = sizeof (struct som_external_header);
2393 if (bfd_bread (&ext_file_hdr, amt, abfd) != amt)
2431 amt = sizeof (struct som_external_lst_header);
2432 if (bfd_bread (&ext_lst_header, amt, abfd) != amt)
2448 amt = ENTRY_SIZE;
2449 if (bfd_bread (&ext_som_entry, amt, abfd) != amt)
2466 amt = sizeof (struct som_external_header);
2467 if (bfd_bread (&ext_file_hdr, amt, abfd) != amt)
2501 amt = sizeof (struct som_external_exec_auxhdr);
2502 if (bfd_bread (&ext_exec_auxhdr, amt, abfd) != amt)
2543 bfd_size_type amt = sizeof (struct som_header);
2546 file_hdr = bfd_zalloc (abfd, amt);
2554 amt = sizeof (struct som_exec_auxhdr);
2555 obj_som_exec_hdr (abfd) = bfd_zalloc (abfd, amt);
2596 amt = sizeof (struct som_space_dictionary_record);
2597 som_section_data (section)->space_dict = bfd_zalloc (abfd, amt);
2618 amt = sizeof (struct som_subspace_dictionary_record);
2619 som_section_data (section)->subspace_dict = bfd_zalloc (abfd, amt);
2799 bfd_size_type amt;
2871 amt = num_syms;
2872 amt *= sizeof (asymbol *);
2873 sorted_syms = bfd_zalloc (abfd, amt);
2905 bfd_size_type amt;
2997 amt = p - tmp_space;
2998 if (bfd_bwrite ((void *) tmp_space, amt, abfd) != amt)
3282 amt = p - tmp_space;
3283 if (bfd_bwrite ((void *) tmp_space, amt, abfd) != amt)
3311 bfd_size_type amt;
3339 amt = p - tmp_space;
3340 if (bfd_bwrite ((void *) &tmp_space[0], amt, abfd) != amt)
3393 amt = p - tmp_space;
3394 if (bfd_bwrite ((void *) &tmp_space[0], amt, abfd) != amt)
3419 bfd_size_type amt;
3466 amt = p - tmp_space;
3467 if (bfd_bwrite ((void *) &tmp_space[0], amt, abfd) != amt)
3521 amt = p - tmp_space;
3522 if (bfd_bwrite ((void *) &tmp_space[0], amt, abfd) != amt)
3565 amt = p - tmp_space;
3566 if (bfd_bwrite ((void *) &tmp_space[0], amt, abfd) != amt)
3943 bfd_size_type amt;
4079 amt = sizeof (struct som_subspace_dictionary_record);
4080 if (bfd_bwrite (&ext_subspace_dict, amt, abfd) != amt)
4137 amt = sizeof (struct som_subspace_dictionary_record);
4138 if (bfd_bwrite (&ext_subspace_dict, amt, abfd) != amt)
4166 amt = sizeof (struct som_external_space_dictionary_record);
4167 if (bfd_bwrite (&ext_space_dict, amt, abfd) != amt)
4186 amt = sizeof (struct som_external_compilation_unit);
4187 if (bfd_bwrite (&ext_comp_unit, amt, abfd) != amt)
4211 amt = sizeof (struct som_external_header);
4212 if (bfd_bwrite (&ext_header, amt, abfd) != amt)
4252 amt = sizeof (ext_exec_header);
4253 if (bfd_bwrite (&ext_exec_header, amt, abfd) != amt)
4528 bfd_size_type amt;
4544 amt = obj_som_stringtab_size (abfd);
4545 stringtab = bfd_zmalloc (amt);
4552 if (bfd_bread (stringtab, amt, abfd) != amt)
4626 bfd_size_type amt;
4641 amt = symbol_count;
4642 amt *= sizeof (som_symbol_type);
4643 symbase = bfd_zmalloc (amt);
4648 amt = symbol_count;
4649 amt *= symsize;
4650 buf = bfd_malloc (amt);
4651 if (buf == NULL && amt != 0)
4655 if (bfd_bread (buf, amt, abfd) != amt)
4830 bfd_size_type amt = sizeof (som_symbol_type);
4831 som_symbol_type *new_symbol_type = bfd_zalloc (abfd, amt);
5244 bfd_size_type amt;
5255 amt = fixup_stream_size;
5256 external_relocs = bfd_malloc (amt);
5265 if (bfd_bread (external_relocs, amt, abfd) != amt)
5288 amt = num_relocs;
5289 amt *= sizeof (arelent);
5290 internal_relocs = bfd_zalloc (abfd, (amt));
5362 bfd_size_type amt = sizeof (struct som_section_data_struct);
5364 newsect->used_by_bfd = bfd_zalloc (abfd, amt);
5408 bfd_size_type amt;
5416 amt = sizeof (struct som_copyable_section_data_struct);
5417 som_section_data (osection)->copy_data = bfd_zalloc (obfd, amt);
5516 bfd_size_type amt = sizeof (struct som_copyable_section_data_struct);
5518 som_section_data (section)->copy_data = bfd_zalloc (section->owner, amt);
5546 bfd_size_type amt = sizeof (struct som_copyable_section_data_struct);
5548 som_section_data (section)->copy_data = bfd_zalloc (section->owner, amt);
5580 bfd_size_type amt;
5589 amt = sizeof (struct som_string_auxhdr) + len + pad;
5590 obj_som_version_hdr (abfd) = bfd_zalloc (abfd, amt);
5606 amt = sizeof (struct som_string_auxhdr) + len + pad;
5607 amt);
5871 bfd_size_type amt;
5876 amt = lst_header->hash_size * 4;
5877 hash_table = bfd_malloc (amt);
5878 if (hash_table == NULL && amt != 0)
5886 if (bfd_bread ((void *) hash_table, amt, abfd) != amt)
5905 amt = sizeof (ext_lst_symbol);
5906 if (bfd_bread ((void *) &ext_lst_symbol, amt, abfd) != amt)
5924 amt = sizeof (ext_lst_symbol);
5925 if (bfd_bread ((void *) &ext_lst_symbol, amt, abfd) != amt)
5953 bfd_size_type amt;
5958 amt = lst_header->hash_size * 4;
5959 hash_table = bfd_malloc (amt);
5960 if (hash_table == NULL && amt != 0)
5965 if (bfd_bread ((void *) hash_table, amt, abfd) != amt)
5973 amt = lst_header->module_count * sizeof (struct som_external_som_entry);
5974 som_dict = bfd_malloc (amt);
5975 if (som_dict == NULL && amt != 0)
5978 if (bfd_bread ((void *) som_dict, amt, abfd) != amt)
6000 amt = sizeof (lst_symbol);
6001 if (bfd_bread ((void *) &lst_symbol, amt, abfd) != amt)
6049 amt = sizeof (lst_symbol);
6050 if (bfd_bread ((void *) &lst_symbol, amt, abfd) != amt)
6108 bfd_size_type amt = 16;
6109 int i = bfd_bread ((void *) nextname, amt, abfd);
6128 amt = sizeof (struct ar_hdr);
6129 if (bfd_bread ((void *) &ar_header, amt, abfd) != amt)
6152 amt = sizeof (struct som_external_lst_header);
6153 if (bfd_bread ((void *) &ext_lst_header, amt, abfd) != amt)
6177 amt = ardata->symdef_count;
6178 amt *= sizeof (carsym);
6179 ardata->symdefs = bfd_alloc (abfd, amt);
6306 bfd_size_type amt;
6311 amt = hash_size * 4;
6312 hash_table = bfd_zmalloc (amt);
6317 amt = module_count * sizeof (struct som_external_som_entry);
6318 som_dict = bfd_zmalloc (amt);
6322 amt = hash_size * sizeof (struct som_external_lst_symbol_record *);
6323 last_hash_entry = bfd_zmalloc (amt);
6351 amt = nsyms;
6352 amt *= sizeof (struct som_external_lst_symbol_record);
6353 lst_syms = bfd_malloc (amt);
6501 amt = hash_size * 4;
6502 if (bfd_bwrite ((void *) hash_table, amt, abfd) != amt)
6506 amt = module_count * sizeof (struct som_external_som_entry);
6507 if (bfd_bwrite ((void *) som_dict, amt, abfd) != amt)
6511 amt = nsyms * sizeof (struct som_external_lst_symbol_record);
6512 if (bfd_bwrite ((void *) lst_syms, amt, abfd) != amt)
6516 amt = string_size;
6517 if (bfd_bwrite ((void *) strings, amt, abfd) != amt)
6564 bfd_size_type amt;
6667 amt = sizeof (struct ar_hdr);
6668 if (bfd_bwrite ((void *) &hdr, amt, abfd) != amt)
6672 amt = sizeof (struct som_external_lst_header);
6673 if (bfd_bwrite ((void *) &lst, amt, abfd) != amt)