Home
last modified time | relevance | path

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

123

/freebsd-12-stable/contrib/binutils/bfd/
Dsco5-core.c93 || bfd_bread ((void *) &rawptr->u, (bfd_size_type) sizeof rawptr->u,
139 || bfd_bread ((void *) &coffset_siz, (bfd_size_type) sizeof coffset_siz,
149 || (bfd_bread ((void *) &coffsets, (bfd_size_type) sizeof coffsets, abfd)
197 || (bfd_bread ((void *) &nsecs, (bfd_size_type) sizeof nsecs, abfd)
199 || (bfd_bread ((void *) &cheadoffs, (bfd_size_type) sizeof cheadoffs,
202 || (bfd_bread ((void *) &chead, (bfd_size_type) sizeof chead, abfd)
218 || (bfd_bread ((void *) &chead, (bfd_size_type) sizeof chead, abfd)
Darchive64.c58 i = bfd_bread (nextname, 16, abfd); in bfd_elf64_archive_slurp_armap()
83 if (bfd_bread (int_buf, 8, abfd) != 8) in bfd_elf64_archive_slurp_armap()
107 if (bfd_bread (raw_armap, ptrsize, abfd) != ptrsize in bfd_elf64_archive_slurp_armap()
108 || bfd_bread (stringbase, stringsize, abfd) != stringsize) in bfd_elf64_archive_slurp_armap()
Dihex.c196 if (bfd_bread (&c, (bfd_size_type) 1, abfd) != 1) in ihex_get_byte()
290 if (bfd_bread (hdr, (bfd_size_type) 8, abfd) != 8) in ihex_scan()
316 if (bfd_bread (buf, (bfd_size_type) chars, abfd) != chars) in ihex_scan()
494 if (bfd_bread (b, (bfd_size_type) 9, abfd) != 9) in ihex_object_p()
567 if (bfd_bread (hdr, (bfd_size_type) 8, abfd) != 8) in ihex_read_section()
590 if (bfd_bread (buf, (bfd_size_type) len * 2, abfd) != len * 2) in ihex_read_section()
604 if (bfd_bread (buf, (bfd_size_type) 2, abfd) != 2) in ihex_read_section()
Darchive.c380 if (bfd_bread (hdrp, sizeof (struct ar_hdr), abfd) != sizeof (struct ar_hdr)) in _bfd_generic_read_ar_hdr_mag()
432 if (bfd_bread (filename, namelen, abfd) != namelen) in _bfd_generic_read_ar_hdr_mag()
611 if (bfd_bread (armag, SARMAG, abfd) != SARMAG) in bfd_generic_archive_p()
724 if (bfd_bread (raw_armap, parsed_size, abfd) != parsed_size) in do_slurp_bsd_armap()
795 if (bfd_bread (int_buf, 4, abfd) != 4) in do_slurp_coff_armap()
844 if (bfd_bread (raw_armap, ptrsize, abfd) != ptrsize in do_slurp_coff_armap()
845 || (bfd_bread (stringbase, stringsize, abfd) != stringsize)) in do_slurp_coff_armap()
905 int i = bfd_bread (nextname, 16, abfd); in bfd_slurp_armap()
955 int i = bfd_bread (nextname, 16, abfd); in bfd_slurp_bsd_armap_f2()
989 if (bfd_bread (raw_armap, amt, abfd) != amt) in bfd_slurp_bsd_armap_f2()
[all …]
Drs6000-core.c274 if (bfd_bread (core, size, abfd) != size) in read_hdr()
283 return bfd_bread ((char *) core + CORE_COMMONSZ, size, abfd) == size; in read_hdr()
552 if (bfd_bread (&ldinfo, size, abfd) != size) in rs6000coff_core_p()
597 if (bfd_bread (&vminfo, size, abfd) != size) in rs6000coff_core_p()
670 if (bfd_bread (s, (bfd_size_type) 1, core_bfd) != 1) in rs6000coff_core_file_matches_executable_p()
Dcoff-ia64.c81 || (bfd_bread (&dos_hdr, (bfd_size_type) sizeof (dos_hdr), abfd)
107 || (bfd_bread (&image_hdr, (bfd_size_type) sizeof (image_hdr), abfd)
Dsrec.c222 if (bfd_bread (&c, (bfd_size_type) 1, abfd) != 1) in srec_get_byte()
459 if (bfd_bread (hdr, (bfd_size_type) 3, abfd) != 3) in srec_scan()
483 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_scan()
600 || bfd_bread (b, (bfd_size_type) 4, abfd) != 4) in srec_object_p()
635 || bfd_bread (b, (bfd_size_type) 2, abfd) != 2) in symbolsrec_object_p()
687 if (bfd_bread (hdr, (bfd_size_type) 3, abfd) != 3) in srec_read_section()
704 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_read_section()
Dtekhex.c468 eof = (bfd_boolean) (bfd_bread (src, (bfd_size_type) 1, abfd) != 1); in pass_over()
470 eof = (bfd_boolean) (bfd_bread (src, (bfd_size_type) 1, abfd) != 1); in pass_over()
476 if (bfd_bread (src, (bfd_size_type) 5, abfd) != 5) in pass_over()
490 if (bfd_bread (src, (bfd_size_type) chars_on_line, abfd) != chars_on_line) in pass_over()
553 || bfd_bread (b, (bfd_size_type) 4, abfd) != 4) in tekhex_object_p()
Delfcore.h86 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_core_file_p()
201 if (bfd_bread (&x_phdr, sizeof (x_phdr), abfd) != sizeof (x_phdr)) in elf_core_file_p()
Dosf-core.c93 val = bfd_bread ((PTR) &core_header, amt, abfd);
114 val = bfd_bread ((PTR) &core_scnhdr, amt, abfd);
Dnetbsd-core.c65 val = bfd_bread (&core, amt, abfd); in netbsd_core_file_p()
96 val = bfd_bread (&coreseg, sizeof coreseg, abfd); in netbsd_core_file_p()
Dpeicode.h1078 if (bfd_bread (buffer, (bfd_size_type) 16, abfd) != 16) in pe_ILF_object_p()
1206 if (bfd_bread (ptr, size, abfd) != size) in pe_ILF_object_p()
1267 || bfd_bread (buffer, (bfd_size_type) 4, abfd) != 4) in pe_bfd_object_p()
1278 || bfd_bread (&dos_hdr, (bfd_size_type) sizeof (dos_hdr), abfd) in pe_bfd_object_p()
1304 || (bfd_bread (&image_hdr, (bfd_size_type) sizeof (image_hdr), abfd) in pe_bfd_object_p()
Daoutf1.h571 if (bfd_bread ((void *) longbuf, (bfd_size_type) sizeof (longbuf), abfd) in sunos4_core_file_p()
580 if (bfd_bread ((void *) longbuf, (bfd_size_type) sizeof (longbuf), abfd) in sunos4_core_file_p()
598 if ((bfd_bread ((void *) extcore, core_size, abfd)) != core_size) in sunos4_core_file_p()
Dbfd-in.h505 extern bfd_size_type bfd_bread (void *, bfd_size_type, bfd *);
516 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
523 bfd_bread ((BUF), (ELTSIZE) * (NITEMS), (ABFD)))
Delfcode.h511 if (bfd_bread (&x_ehdr, sizeof (x_ehdr), abfd) != sizeof (x_ehdr)) in elf_object_p()
686 if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) in elf_object_p()
725 if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) in elf_object_p()
772 if (bfd_bread (&x_shdr, sizeof x_shdr, abfd) != sizeof (x_shdr)) in elf_object_p()
835 if (bfd_bread (&x_phdr, sizeof x_phdr, abfd) != sizeof x_phdr) in elf_object_p()
1195 if (bfd_bread (xverbuf, verhdr->sh_size, abfd) != verhdr->sh_size) in elf_slurp_symbol_table()
1369 || (bfd_bread (allocated, rel_hdr->sh_size, abfd) in elf_slurp_reloc_table_from_section()
Dcoffgen.c191 if (bfd_bread ((void *) external_sections, readsize, abfd) != readsize) in coff_real_object_p()
245 if (bfd_bread (filehdr, filhsz, abfd) != filhsz) in coff_object_p()
278 if (bfd_bread (opthdr, (bfd_size_type) internal_f.f_opthdr, abfd) in coff_object_p()
433 || bfd_bread (external_relocs, amt, abfd) != amt) in _bfd_coff_read_internal_relocs()
1403 || bfd_bread (debug_section, sec_size, abfd) != sec_size in build_debug_section()
1452 || bfd_bread (syms, size, abfd) != size) in _bfd_coff_get_external_symbols()
1490 if (bfd_bread (extstrsize, (bfd_size_type) sizeof extstrsize, abfd) in _bfd_coff_read_string_table()
1520 if (bfd_bread (strings + STRING_SIZE_SIZE, strsize - STRING_SIZE_SIZE, abfd) in _bfd_coff_read_string_table()
Dcoff-rs6000.c1159 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd)
1175 if (bfd_bread ((PTR) contents, sz, abfd) != sz)
1214 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd)
1233 if (bfd_bread ((PTR) contents, sz, abfd) != sz)
1287 if (bfd_bread ((PTR) magic, amt, abfd) != amt)
1326 if (bfd_bread ((PTR) &hdr.memoff, amt, abfd) != amt)
1353 if (bfd_bread ((PTR) &hdr.memoff, amt, abfd) != amt)
1403 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd)
1419 if (bfd_bread ((char *) hdrp + SIZEOF_AR_HDR, namlen, abfd) != namlen)
1435 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd)
[all …]
Dptrace-core.c68 val = bfd_bread ((void *)&u, (bfd_size_type) sizeof u, abfd);
Dppcboot.c176 if (bfd_bread ((PTR) &hdr, (bfd_size_type) sizeof (hdr), abfd)
241 || bfd_bread (location, count, abfd) != count)
Decoff.c456 || bfd_bread (raw, external_hdr_size, abfd) != external_hdr_size) in ecoff_slurp_symbolic_header()
565 || bfd_bread (raw, raw_size, abfd) != raw_size) in _bfd_ecoff_slurp_symbolic_info()
1580 if (bfd_bread (external_relocs, amt, abfd) != amt) in ecoff_slurp_reloc_table()
2743 if (bfd_bread (&c, (bfd_size_type) 1, abfd) == 0) in _bfd_ecoff_write_object_contents()
2850 i = bfd_bread ((void *) nextname, (bfd_size_type) 16, abfd); in _bfd_ecoff_slurp_armap()
2903 if (bfd_bread ((void *) raw_armap, parsed_size, abfd) != parsed_size) in _bfd_ecoff_slurp_armap()
3167 if (bfd_bread ((void *) armag, (bfd_size_type) SARMAG, abfd) != SARMAG) in _bfd_ecoff_archive_p()
3554 || bfd_bread (external_ext, esize, abfd) != esize) in ecoff_link_add_object_symbols()
3562 || (bfd_bread (ssext, (bfd_size_type) symhdr->issExtMax, abfd) in ecoff_link_add_object_symbols()
3620 || bfd_bread (external_ext, esize, abfd) != esize) in ecoff_link_check_archive_element()
[all …]
Dbfdwin.c238 i->size = bfd_bread (i->data, size, abfd); in bfd_get_file_window()
Dcoff-alpha.c2096 || bfd_bread (ab, (bfd_size_type) 8, abfd) != 8
2149 if (bfd_bread (ab, (bfd_size_type) 8, nbfd) != 8)
2170 if (bfd_bread (ab, (bfd_size_type) 8, nbfd) != 8)
2181 while (bfd_bread (&b, (bfd_size_type) 1, nbfd) == 1)
2193 if (! bfd_bread (&n, (bfd_size_type) 1, nbfd))
/freebsd-12-stable/contrib/gdb/gdb/
Dcoff-pe-read.c160 bfd_bread (b, (bfd_size_type) 2, abfd); in pe_get16()
170 bfd_bread (b, (bfd_size_type) 4, abfd); in pe_get32()
245 bfd_bread (sname, (bfd_size_type) 8, dll); in read_pe_exported_syms()
274 bfd_bread (sec_name, (bfd_size_type) 8, dll); in read_pe_exported_syms()
289 bfd_bread (expdata, (bfd_size_type) export_size, dll); in read_pe_exported_syms()
Dcoffread.c1118 bfd_bread (temp_sym, local_symesz, nlist_bfd_global); in read_one_sym()
1123 bfd_bread (temp_aux, local_auxesz, nlist_bfd_global); in read_one_sym()
1129 bfd_bread (temp_aux, local_auxesz, nlist_bfd_global); in read_one_sym()
1196 val = bfd_bread ((char *) lengthbuf, sizeof lengthbuf, abfd); in init_stringtab()
1211 val = bfd_bread (stringtab + sizeof lengthbuf, length - sizeof lengthbuf, in init_stringtab()
1311 val = bfd_bread (linetab, size, abfd); in init_lineno()
Dsomread.c106 val = bfd_bread (buf, symsize * number_of_symbols, abfd); in som_symtab_read()
113 val = bfd_bread (stringtab, obj_som_stringtab_size (abfd), abfd); in som_symtab_read()

123