Home
last modified time | relevance | path

Searched refs:bfd_bread (Results 1 – 25 of 97) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/bfd/
Dsco5-core.c83 || bfd_bread ((void *) &rawptr->u, (bfd_size_type) sizeof rawptr->u, in read_uarea()
128 || bfd_bread ((void *) &coffset_siz, (bfd_size_type) sizeof coffset_siz, in sco5_core_file_p()
138 || (bfd_bread ((void *) &coffsets, (bfd_size_type) sizeof coffsets, abfd) in sco5_core_file_p()
186 || (bfd_bread ((void *) &nsecs, (bfd_size_type) sizeof nsecs, abfd) in sco5_core_file_p()
188 || (bfd_bread ((void *) &cheadoffs, (bfd_size_type) sizeof cheadoffs, in sco5_core_file_p()
191 || (bfd_bread ((void *) &chead, (bfd_size_type) sizeof chead, abfd) in sco5_core_file_p()
207 || (bfd_bread ((void *) &chead, (bfd_size_type) sizeof chead, abfd) in sco5_core_file_p()
Dnlmcode.h82 if (bfd_bread ((void *) &nlm_variable_header (abfd)->descriptionLength, in nlm_swap_variable_header_in()
86 if (bfd_bread ((void *) nlm_variable_header (abfd)->descriptionText, in nlm_swap_variable_header_in()
92 if (bfd_bread ((void *) temp, amt, abfd) != amt) in nlm_swap_variable_header_in()
98 if (bfd_bread ((void *) temp, amt, abfd) != amt) in nlm_swap_variable_header_in()
104 if (bfd_bread ((void *) nlm_variable_header (abfd)->oldThreadName, in nlm_swap_variable_header_in()
110 if (bfd_bread ((void *) & nlm_variable_header (abfd)->screenNameLength, in nlm_swap_variable_header_in()
114 if (bfd_bread ((void *) nlm_variable_header (abfd)->screenName, in nlm_swap_variable_header_in()
120 if (bfd_bread ((void *) & nlm_variable_header (abfd)->threadNameLength, in nlm_swap_variable_header_in()
124 if (bfd_bread ((void *) nlm_variable_header (abfd)->threadName, in nlm_swap_variable_header_in()
173 if (bfd_bread ((void *) tempstr, amt, abfd) != amt) in nlm_swap_auxiliary_headers_in()
[all …]
Dmmo.c507 || bfd_bread (b, 4, abfd) != 4) in mmo_object_p()
518 || bfd_bread (b, 4, abfd) != 4) in mmo_object_p()
997 if (bfd_bread (buf, 4, abfd) != 4) in mmo_get_spec_section()
1005 if (bfd_bread (buf, 4, abfd) != 4) in mmo_get_spec_section()
1023 if (bfd_bread (secname + i * 4, 4, abfd) != 4) in mmo_get_spec_section()
1031 || bfd_bread (secname + i * 4, 4, abfd) != 4) in mmo_get_spec_section()
1040 if (bfd_bread (buf, 4, abfd) != 4 in mmo_get_spec_section()
1042 && (buf[1] != LOP_QUOTE || bfd_bread (buf, 4, abfd) != 4))) in mmo_get_spec_section()
1048 if (bfd_bread (buf, 4, abfd) != 4 in mmo_get_spec_section()
1050 && (buf[1] != LOP_QUOTE || bfd_bread (buf, 4, abfd) != 4))) in mmo_get_spec_section()
[all …]
Darchive64.c56 i = bfd_bread (nextname, 16, abfd); in bfd_elf64_archive_slurp_armap()
81 if (bfd_bread (int_buf, 8, abfd) != 8) in bfd_elf64_archive_slurp_armap()
105 if (bfd_bread (raw_armap, ptrsize, abfd) != ptrsize in bfd_elf64_archive_slurp_armap()
106 || bfd_bread (stringbase, stringsize, abfd) != stringsize) in bfd_elf64_archive_slurp_armap()
Daix5ppc-core.c71 != bfd_bread (&core, sizeof (struct core_dumpxx), abfd)) in xcoff64_core_p()
182 bfd_bread (&ldinfo, sizeof (struct __ld_info64), abfd)) in xcoff64_core_p()
210 bfd_bread (&vminfo, sizeof (struct vm_infox), abfd)) in xcoff64_core_p()
256 bfd_bread (&core, sizeof (struct core_dumpxx), core_bfd)) in xcoff64_core_file_matches_executable_p()
271 if (bfd_bread (s, 1, core_bfd) != 1) in xcoff64_core_file_matches_executable_p()
Delfcore.h89 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_core_file_p()
202 if (bfd_bread (&x_shdr, sizeof (x_shdr), abfd) != sizeof (x_shdr)) in elf_core_file_p()
236 if (bfd_bread (&x_phdr, sizeof (x_phdr), abfd) != sizeof (x_phdr)) in elf_core_file_p()
257 if (bfd_bread (&x_phdr, sizeof (x_phdr), abfd) != sizeof (x_phdr)) in elf_core_file_p()
Dihex.c197 if (bfd_bread (&c, (bfd_size_type) 1, abfd) != 1) in ihex_get_byte()
291 if (bfd_bread (hdr, (bfd_size_type) 8, abfd) != 8) in ihex_scan()
317 if (bfd_bread (buf, (bfd_size_type) chars, abfd) != chars) in ihex_scan()
495 if (bfd_bread (b, (bfd_size_type) 9, abfd) != 9) in ihex_object_p()
568 if (bfd_bread (hdr, (bfd_size_type) 8, abfd) != 8) in ihex_read_section()
591 if (bfd_bread (buf, (bfd_size_type) len * 2, abfd) != len * 2) in ihex_read_section()
605 if (bfd_bread (buf, (bfd_size_type) 2, abfd) != 2) in ihex_read_section()
Dxsym.c135 ret = bfd_bread (rstr, table_size, abfd); in bfd_sym_read_name_table()
205 ret = bfd_bread (buf, 154, abfd); in bfd_sym_read_header_v32()
246 ret = bfd_bread (version_string, sizeof (version_string), abfd); in bfd_sym_read_version()
575 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_resources_table_entry()
626 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_modules_table_entry()
676 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_file_references_table_entry()
726 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_contained_modules_table_entry()
776 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_contained_variables_table_entry()
826 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_contained_statements_table_entry()
876 if (bfd_bread (buf, entry_size, abfd) != entry_size) in bfd_sym_fetch_contained_labels_table_entry()
[all …]
Dnlm32-i386.c78 if (bfd_bread (temp, (bfd_size_type) sizeof (temp), abfd) != sizeof (temp)) in nlm_i386_read_reloc()
337 if (bfd_bread (& symlength, (bfd_size_type) sizeof (symlength), abfd) in nlm_i386_read_import()
344 if (bfd_bread (name, (bfd_size_type) symlength, abfd) != symlength) in nlm_i386_read_import()
351 if (bfd_bread (temp, (bfd_size_type) sizeof (temp), abfd) != sizeof (temp)) in nlm_i386_read_import()
Di386os9k.c51 || (bfd_bread (&dmemstart, (bfd_size_type) sizeof (dmemstart), abfd) in os9k_swap_exec_header_in()
53 || (bfd_bread (&dmemsize, (bfd_size_type) sizeof (dmemsize), abfd) in os9k_swap_exec_header_in()
122 if (bfd_bread (&exec_bytes, (bfd_size_type) MHCOM_BYTES_SIZE, abfd) in os9k_object_p()
Dnlm32-ppc.c48 if (bfd_bread (& s, (bfd_size_type) sizeof s, abfd) != sizeof s) in nlm_powerpc_backend_object_p()
446 if (bfd_bread (&ext, (bfd_size_type) sizeof ext, abfd) != sizeof ext) in nlm_powerpc_read_reloc()
547 if (bfd_bread (temp, (bfd_size_type) sizeof (temp), abfd) != sizeof (temp)) in nlm_powerpc_read_reloc()
620 if (bfd_bread (& symlength, (bfd_size_type) sizeof (symlength), abfd) in nlm_powerpc_read_import()
627 if (bfd_bread (name, (bfd_size_type) symlength, abfd) != symlength) in nlm_powerpc_read_import()
634 if (bfd_bread (temp, (bfd_size_type) sizeof (temp), abfd) in nlm_powerpc_read_import()
Dmach-o.c1417 || bfd_bread (native_relocs, native_size, abfd) != native_size) in bfd_mach_o_canonicalize_relocs()
3196 || bfd_bread (raw.magic, sizeof (raw.magic), abfd) != 4) in bfd_mach_o_read_header()
3238 || bfd_bread (&raw, size, abfd) != size) in bfd_mach_o_read_header()
3380 || (bfd_bread (&raw, BFD_MACH_O_SECTION_SIZE, abfd) in bfd_mach_o_read_section_32()
3419 || (bfd_bread (&raw, BFD_MACH_O_SECTION_64_SIZE, abfd) in bfd_mach_o_read_section_64()
3482 || bfd_bread (&raw, symwidth, abfd) != symwidth) in bfd_mach_o_read_symtab_symbol()
3645 || bfd_bread (sym->strtab, sym->strsize, abfd) != sym->strsize) in bfd_mach_o_read_symtab_strtab()
3734 || bfd_bread (&raw, sizeof (raw), abfd) != sizeof (raw)) in bfd_mach_o_read_dylinker()
3746 || bfd_bread (cmd->name_str, namelen, abfd) != namelen) in bfd_mach_o_read_dylinker()
3774 || bfd_bread (&raw, sizeof (raw), abfd) != sizeof (raw)) in bfd_mach_o_read_dylib()
[all …]
Dnlm32-alpha.c48 if (bfd_bread (&s, (bfd_size_type) sizeof s, abfd) != sizeof s) in nlm_alpha_backend_object_p()
406 if (bfd_bread (&ext, (bfd_size_type) sizeof ext, abfd) != sizeof ext) in nlm_alpha_read_reloc()
608 if (bfd_bread (& symlength, (bfd_size_type) sizeof (symlength), abfd) in nlm_alpha_read_import()
615 if (bfd_bread (name, (bfd_size_type) symlength, abfd) != symlength) in nlm_alpha_read_import()
622 if (bfd_bread (temp, (bfd_size_type) sizeof (temp), abfd) in nlm_alpha_read_import()
Dirix-core.c64 val = bfd_bread (&vmap, (bfd_size_type) sizeof vmap, abfd); in do_sections64()
112 val = bfd_bread (&vmap, (bfd_size_type) sizeof vmap, abfd); in do_sections()
177 val = bfd_bread (&coreout, (bfd_size_type) sizeof coreout, abfd); in irix_core_core_file_p()
Drs6000-core.c287 if (bfd_bread (core, size, abfd) != size) in read_hdr()
296 return bfd_bread ((char *) core + CORE_COMMONSZ, size, abfd) == size; in read_hdr()
572 if (bfd_bread (&ldinfo, size, abfd) != size) in rs6000coff_core_p()
617 if (bfd_bread (&vminfo, size, abfd) != size) in rs6000coff_core_p()
690 if (bfd_bread (s, (bfd_size_type) 1, core_bfd) != 1) in rs6000coff_core_file_matches_executable_p()
Dhpux-core.c176 val = bfd_bread ((void *) &core_header, in hpux_core_core_file_p()
191 if (bfd_bread ((void *) &proc_exec, (bfd_size_type) core_header.len, in hpux_core_core_file_p()
206 if (bfd_bread (&proc_info, (bfd_size_type) core_header.len, abfd) in hpux_core_core_file_p()
Dcoff-ia64.c80 || (bfd_bread (&dos_hdr, (bfd_size_type) sizeof (dos_hdr), abfd) in ia64coff_object_p()
106 || (bfd_bread (&image_hdr, (bfd_size_type) sizeof (image_hdr), abfd) in ia64coff_object_p()
Dnlm32-sparc.c100 if (bfd_bread (&tmp_reloc, (bfd_size_type) 12, abfd) != 12) in nlm_sparc_read_reloc()
218 if (bfd_bread (temp, (bfd_size_type) 4, abfd) != 4) in nlm_sparc_read_import()
224 if (bfd_bread (& symlength, (bfd_size_type) sizeof (symlength), abfd) in nlm_sparc_read_import()
233 if (bfd_bread (name, (bfd_size_type) symlength, abfd) != symlength) in nlm_sparc_read_import()
Darchive.c480 if (bfd_bread (hdrp, sizeof (struct ar_hdr), abfd) != sizeof (struct ar_hdr)) in _bfd_generic_read_ar_hdr_mag()
532 if (bfd_bread (filename, namelen, abfd) != namelen) in _bfd_generic_read_ar_hdr_mag()
797 if (bfd_bread (armag, SARMAG, abfd) != SARMAG) in bfd_generic_archive_p()
910 if (bfd_bread (raw_armap, parsed_size, abfd) != parsed_size) in do_slurp_bsd_armap()
982 if (bfd_bread (int_buf, 4, abfd) != 4) in do_slurp_coff_armap()
1032 if (bfd_bread (raw_armap, ptrsize, abfd) != ptrsize in do_slurp_coff_armap()
1033 || (bfd_bread (stringbase, stringsize, abfd) != stringsize)) in do_slurp_coff_armap()
1093 int i = bfd_bread (nextname, 16, abfd); in bfd_slurp_armap()
1127 if (bfd_bread (&hdr, sizeof (hdr), abfd) != sizeof (hdr)) in bfd_slurp_armap()
1130 if (bfd_bread (extname, 20, abfd) != 20) in bfd_slurp_armap()
[all …]
Dlynx-core.c109 if (bfd_bread ((void *) &pss, amt, abfd) != amt) in lynx_core_file_p()
140 if (bfd_bread ((void *) threadp, tcontext_size, abfd) != tcontext_size) in lynx_core_file_p()
Dosf-core.c83 val = bfd_bread (& core_header, amt, abfd); in osf_core_core_file_p()
104 val = bfd_bread (& core_scnhdr, amt, abfd); in osf_core_core_file_p()
Dvms-lib.c183 || bfd_bread (&lns, sizeof (lns), abfd) != sizeof (lns)) in vms_add_indexes_from_list()
204 || bfd_bread (blk, VMS_BLOCK_SIZE, abfd) != VMS_BLOCK_SIZE) in vms_read_block()
357 || bfd_bread (&lhs, sizeof (lhs), abfd) != sizeof (lhs)) in vms_traverse_index()
394 || bfd_bread (&idd, sizeof (idd), abfd) != sizeof (idd)) in vms_lib_read_index()
453 if (bfd_bread (&lhd, sizeof (lhd), abfd) != sizeof (lhd)) in _bfd_vms_lib_archive_p()
556 || bfd_bread (buf_reclen, sizeof (buf_reclen), abfd) in _bfd_vms_lib_archive_p()
563 if (bfd_bread (buf, reclen, abfd) != reclen) in _bfd_vms_lib_archive_p()
825 if (bfd_bread (hdr, sizeof (hdr), abfd->my_archive) != sizeof (hdr)) in vms_lib_read_block()
861 if (bfd_bread (buf, l, abfd->my_archive) != l) in vms_lib_bread_raw()
1335 if (bfd_bread (buf, tdata->mhd_size, abfd) != tdata->mhd_size) in _bfd_vms_lib_get_module()
[all …]
Dsrec.c222 if (bfd_bread (&c, (bfd_size_type) 1, abfd) != 1) in srec_get_byte()
465 if (bfd_bread (hdr, (bfd_size_type) 3, abfd) != 3) in srec_scan()
502 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_scan()
654 || bfd_bread (b, (bfd_size_type) 4, abfd) != 4) in srec_object_p()
689 || bfd_bread (b, (bfd_size_type) 2, abfd) != 2) in symbolsrec_object_p()
741 if (bfd_bread (hdr, (bfd_size_type) 3, abfd) != 3) in srec_read_section()
758 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_read_section()
Dtekhex.c515 is_eof = (bfd_boolean) (bfd_bread (src, (bfd_size_type) 1, abfd) != 1); in pass_over()
517 is_eof = (bfd_boolean) (bfd_bread (src, (bfd_size_type) 1, abfd) != 1); in pass_over()
523 if (bfd_bread (src, (bfd_size_type) 5, abfd) != 5) in pass_over()
537 if (bfd_bread (src, (bfd_size_type) chars_on_line, abfd) != chars_on_line) in pass_over()
600 || bfd_bread (b, (bfd_size_type) 4, abfd) != 4) in tekhex_object_p()
/toolchain/binutils/binutils-2.25/binutils/
Dod-xcoff.c458 if (bfd_bread (&auxhdr, sz, abfd) != sz) in dump_xcoff32_aout_header()
545 if (bfd_bread (&scn, sizeof (scn), abfd) != sizeof (scn)) in dump_xcoff32_sections_header()
600 if (bfd_bread (&scn, sizeof (scn), abfd) != sizeof (scn)) in xcoff32_read_sections()
647 || bfd_bread (&stsz_arr, sizeof (stsz_arr), abfd) != sizeof (stsz_arr)) in xcoff32_read_symbols()
662 if (bfd_bread (data->strings + sizeof (stsz_arr), remsz, abfd) in xcoff32_read_symbols()
686 if (bfd_bread (&sym, sizeof (sym), abfd) != sizeof (sym)) in xcoff32_read_symbols()
719 if (bfd_bread (&s[j + 1].aux, in xcoff32_read_symbols()
951 if (bfd_bread (&rel, sizeof (rel), abfd) != sizeof (rel)) in dump_xcoff32_relocs()
1006 if (bfd_bread (&ln, sizeof (ln), abfd) != sizeof (ln)) in dump_xcoff32_lineno()
1641 || bfd_bread (&fhdr, sizeof (fhdr), abfd) != sizeof (fhdr)) in xcoff_dump_obj()
[all …]

1234