/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | cache.c | 276 static file_ptr 286 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek() 301 static file_ptr 302 cache_bread_1 (FILE *f, void *buf, file_ptr nbytes) in cache_bread_1() 304 file_ptr nread; in cache_bread_1() 313 if (nread == (file_ptr)-1) in cache_bread_1() 336 static file_ptr 337 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread() 339 file_ptr nread = 0; in cache_bread() 351 const file_ptr max_chunk_size = 0x800000; in cache_bread() [all …]
|
H A D | rs6000-core.c | 293 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in read_hdr() 315 bfd_size_type size, bfd_vma vma, file_ptr filepos) in make_bfd_asection() 344 file_ptr c_stack, c_regoff, c_loader; in rs6000coff_core_p() 368 c_stack = (file_ptr) core.new_dump.c_stack; in rs6000coff_core_p() 379 c_stack = (file_ptr) (ptr_to_uint) core.old.c_stack; in rs6000coff_core_p() 383 c_loader = (file_ptr) (ptr_to_uint) COLD_LOADER (core.old); in rs6000coff_core_p() 446 if (c_stack + (file_ptr) c_size != statbuf.st_size) in rs6000coff_core_p() 457 c_loader < (file_ptr) sizeof core.old in rs6000coff_core_p() 459 c_loader < (file_ptr) sizeof core.new_dump in rs6000coff_core_p() 555 file_ptr ldi_core; in rs6000coff_core_p() [all …]
|
H A D | sco5-core.c | 55 file_ptr filepos) in make_bfd_asection() 82 if (bfd_seek (abfd, (file_ptr) filepos, SEEK_SET) != 0 in read_uarea() 126 if ((bfd_seek (abfd, (file_ptr) (coresize - sizeof coffset_siz), in sco5_core_file_p() 137 if ((bfd_seek (abfd, (file_ptr) (coresize - coffset_siz), SEEK_SET) != 0) in sco5_core_file_p() 157 (file_ptr) coffsets.u_user)) in sco5_core_file_p() 165 (file_ptr) coffsets.u_data)) in sco5_core_file_p() 172 (file_ptr) coffsets.u_stack)) in sco5_core_file_p() 184 (file_ptr) (coresize - coffset_siz - 2 * sizeof coffset_siz), in sco5_core_file_p() 190 || (bfd_seek (abfd, (file_ptr) cheadoffs, SEEK_SET) != 0) in sco5_core_file_p() 206 if ((bfd_seek (abfd, (file_ptr) chead.cs_hseek, SEEK_SET) != 0) in sco5_core_file_p() [all …]
|
H A D | bfdio.c | 48 file_ptr 61 _bfd_real_fseek (FILE *file, file_ptr offset, int whence) in _bfd_real_fseek() 228 file_ptr nread; in bfd_bread() 273 file_ptr nwrote; in bfd_bwrite() 298 file_ptr 302 file_ptr ptr; in bfd_tell() 360 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() 560 int prot, int flags, file_ptr offset, in bfd_mmap() 583 static file_ptr 584 memory_bread (bfd *abfd, void *ptr, file_ptr size) in memory_bread() [all …]
|
H A D | libbfd.h | 80 file_ptr first_file_filepos; 95 file_ptr armap_datepos; /* Position within archive to seek to 109 file_ptr origin; /* For element of a thin archive. */ 111 file_ptr key; 136 (bfd *, file_ptr) ATTRIBUTE_HIDDEN; 138 (bfd *, file_ptr, bfd *) ATTRIBUTE_HIDDEN; 180 (bfd *, file_ptr, struct bfd_link_info *) ATTRIBUTE_HIDDEN; 284 (bfd *, asection *, void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 286 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 491 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; [all …]
|
H A D | libbfd-in.h | 75 file_ptr first_file_filepos; 90 file_ptr armap_datepos; /* Position within archive to seek to 104 file_ptr origin; /* For element of a thin archive. */ 106 file_ptr key; 131 (bfd *, file_ptr) ATTRIBUTE_HIDDEN; 133 (bfd *, file_ptr, bfd *) ATTRIBUTE_HIDDEN; 175 (bfd *, file_ptr, struct bfd_link_info *) ATTRIBUTE_HIDDEN; 279 (bfd *, asection *, void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 281 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 486 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; [all …]
|
H A D | elfcore.h | 177 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_core_file_p() 206 file_ptr where; in elf_core_file_p() 214 where = (file_ptr)(i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr)); in elf_core_file_p() 225 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p() 370 if (bfd_seek (abfd, (file_ptr) (offset + i_ehdr.e_phoff), SEEK_SET) != 0) in NAME() 388 if (bfd_seek (abfd, (file_ptr) (offset + i_ehdr.e_phoff in NAME()
|
H A D | libaout.h | 378 file_ptr sym_filepos; 379 file_ptr str_filepos; 495 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type); 594 void (*) (bfd *, file_ptr *, file_ptr *, file_ptr *)); 636 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \ 645 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (execp)), SEEK_SET) != 0)\ 652 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (execp)), SEEK_SET) != 0) \ 657 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (execp)), SEEK_SET) != 0) \
|
H A D | libecoff.h | 75 bfd *(*get_elt_at_filepos) (bfd *, file_ptr, struct bfd_link_info *); 91 file_ptr reloc_filepos; 94 file_ptr sym_filepos; 242 (bfd *, asection *, void * location, file_ptr, bfd_size_type); 310 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
|
H A D | bfd-in.h | 140 typedef @bfd_file_ptr@ file_ptr; typedef 176 file_ptr file_offset; /* Look here to find the file. */ 187 file_ptr pos; 381 extern int bfd_seek (bfd *, file_ptr, int); 382 extern file_ptr bfd_tell (bfd *); 468 (bfd *, file_ptr, bfd_size_type, bfd_window *, bool);
|
H A D | vms-lib.c | 188 file_ptr off; in vms_add_indexes_from_list() 216 file_ptr off; in vms_read_block() 231 file_ptr off; in vms_write_block() 249 file_ptr off; in vms_traverse_index() 838 file_ptr next_block; 843 file_ptr first_block; 846 file_ptr init_next_block; 871 static file_ptr 905 static file_ptr 906 vms_lib_bread_raw (struct bfd *abfd, unsigned char *buf, file_ptr nbytes) in vms_lib_bread_raw() [all …]
|
H A D | opncls.c | 543 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf, 544 file_ptr nbytes, file_ptr offset); 547 file_ptr where; 550 static file_ptr 558 opncls_bseek (struct bfd *abfd, file_ptr offset, int whence) in opncls_bseek() 570 static file_ptr 571 opncls_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in opncls_bread() 574 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); in opncls_bread() 582 static file_ptr 585 file_ptr nbytes ATTRIBUTE_UNUSED) in opncls_bwrite() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | cache.c | 280 static file_ptr 292 file_ptr result = _bfd_real_ftell (f); in cache_btell() 299 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek() 322 static file_ptr 323 cache_bread_1 (FILE *f, void *buf, file_ptr nbytes) in cache_bread_1() 325 file_ptr nread; in cache_bread_1() 334 if (nread == (file_ptr)-1) in cache_bread_1() 357 static file_ptr 358 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread() 362 file_ptr nread = 0; in cache_bread() [all …]
|
H A D | rs6000-core.c | 315 bfd_size_type size, bfd_vma vma, file_ptr filepos) in make_bfd_asection() 344 file_ptr c_stack, c_regoff, c_loader; in rs6000coff_core_p() 368 c_stack = (file_ptr) core.new_dump.c_stack; in rs6000coff_core_p() 380 c_stack = (file_ptr) (ptr_to_uint) core.old.c_stack; in rs6000coff_core_p() 384 c_loader = (file_ptr) (ptr_to_uint) COLD_LOADER (core.old); in rs6000coff_core_p() 447 if (c_stack + (file_ptr) c_size != statbuf.st_size) in rs6000coff_core_p() 458 c_loader < (file_ptr) sizeof core.old in rs6000coff_core_p() 460 c_loader < (file_ptr) sizeof core.new_dump in rs6000coff_core_p() 569 file_ptr ldi_core; in rs6000coff_core_p() 576 file_ptr c_data, c_vmm; in rs6000coff_core_p() [all …]
|
H A D | bfdio.c | 48 file_ptr 61 _bfd_real_fseek (FILE *file, file_ptr offset, int whence) in _bfd_real_fseek() 248 file_ptr nread; in bfd_read() 314 file_ptr nwrote; in bfd_write() 358 file_ptr 362 file_ptr ptr; in bfd_tell() 450 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek() 655 int prot, int flags, file_ptr offset, in bfd_mmap() 678 static file_ptr 679 memory_bread (bfd *abfd, void *ptr, file_ptr size) in memory_bread() [all …]
|
H A D | libbfd.h | 91 file_ptr armap_datepos; /* Position within archive to seek to 105 file_ptr origin; /* For element of a thin archive. */ 107 file_ptr key; 128 (bfd *, file_ptr) ATTRIBUTE_HIDDEN; 130 (bfd *, file_ptr, bfd *) ATTRIBUTE_HIDDEN; 172 (bfd *, file_ptr, struct bfd_link_info *) ATTRIBUTE_HIDDEN; 270 (bfd *, asection *, void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 272 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 481 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 488 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; [all …]
|
H A D | libecoff.h | 75 bfd *(*get_elt_at_filepos) (bfd *, file_ptr, struct bfd_link_info *); 98 file_ptr reloc_filepos; 101 file_ptr sym_filepos; 248 (bfd *, asection *, void * location, file_ptr, bfd_size_type); 318 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
|
H A D | libbfd-in.h | 85 file_ptr armap_datepos; /* Position within archive to seek to 99 file_ptr origin; /* For element of a thin archive. */ 101 file_ptr key; 122 (bfd *, file_ptr) ATTRIBUTE_HIDDEN; 124 (bfd *, file_ptr, bfd *) ATTRIBUTE_HIDDEN; 166 (bfd *, file_ptr, struct bfd_link_info *) ATTRIBUTE_HIDDEN; 264 (bfd *, asection *, void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 266 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 475 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; 482 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN; [all …]
|
H A D | vms-lib.c | 188 file_ptr off; in vms_add_indexes_from_list() 216 file_ptr off; in vms_read_block() 231 file_ptr off; in vms_write_block() 249 file_ptr off; in vms_traverse_index() 841 file_ptr next_block; 846 file_ptr first_block; 849 file_ptr init_next_block; 874 static file_ptr 908 static file_ptr 909 vms_lib_bread_raw (struct bfd *abfd, unsigned char *buf, file_ptr nbytes) in vms_lib_bread_raw() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/bfd/doc/ |
H A D | bfdio.texi | 16 file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes); 17 file_ptr (*bwrite) (struct bfd *abfd, const void *ptr, 18 file_ptr nbytes); 21 file_ptr (*btell) (struct bfd *abfd); 24 int (*bseek) (struct bfd *abfd, file_ptr offset, int whence); 35 int prot, int flags, file_ptr offset, 58 @deftypefn {Function} file_ptr bfd_tell (bfd *) ATTRIBUTE_WARN_UNUSED_RESULT; 77 @deftypefn {Function} int bfd_seek (bfd *, file_ptr, int) ATTRIBUTE_WARN_UNUSED_RESULT; 129 …fd_mmap (bfd *abfd, void *addr, bfd_size_type len, int prot, int flags, file_ptr offset, void **ma…
|
/netbsd-src/external/gpl3/binutils/dist/include/ |
H A D | oasys.h | 31 file_ptr mod_tbl_offset; 34 file_ptr sym_tbl_offset; 36 file_ptr xref_lst_offset; 62 file_ptr file_offset;
|
/netbsd-src/external/gpl3/binutils.old/dist/include/ |
H A D | oasys.h | 31 file_ptr mod_tbl_offset; 34 file_ptr sym_tbl_offset; 36 file_ptr xref_lst_offset; 62 file_ptr file_offset;
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/doc/ |
H A D | bfdio.texi | 17 file_ptr (*bread) (struct bfd *abfd, void *ptr, file_ptr nbytes); 18 file_ptr (*bwrite) (struct bfd *abfd, const void *ptr, 19 file_ptr nbytes); 22 file_ptr (*btell) (struct bfd *abfd); 25 int (*bseek) (struct bfd *abfd, file_ptr offset, int whence); 36 int prot, int flags, file_ptr offset, 101 int prot, int flags, file_ptr offset,
|
/netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
H A D | strings.c | 169 static void print_strings (const char *, FILE *, file_ptr, int, char *); 481 print_strings (file, stream, (file_ptr) 0, 0, (char *) NULL); in strings_file() 505 get_char (FILE *stream, file_ptr *address, int *magiccount, char **magic) in get_char() 559 unget_part_char (long c, file_ptr *address, int *magiccount, char **magic) in unget_part_char() 607 print_filename_and_address (const char * filename, file_ptr address) in print_filename_and_address() 782 file_ptr address, in print_unicode_buffer() 916 file_ptr address, in print_unicode_stream_body() 927 file_ptr start_point = 0; in print_unicode_stream_body() 1202 file_ptr address, in print_unicode_stream() 1238 print_strings (const char *filename, FILE *stream, file_ptr address, in print_strings() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/binutils/ |
H A D | strings.c | 169 static void print_strings (const char *, FILE *, file_ptr, int, char *); 497 print_strings (file, stream, (file_ptr) 0, 0, (char *) NULL); in strings_file() 521 get_char (FILE *stream, file_ptr *address, int *magiccount, char **magic) in get_char() 575 unget_part_char (long c, file_ptr *address, int *magiccount, char **magic) in unget_part_char() 623 print_filename_and_address (const char * filename, file_ptr address) in print_filename_and_address() 798 file_ptr address, in print_unicode_buffer() 932 file_ptr address, in print_unicode_stream_body() 943 file_ptr start_point = 0; in print_unicode_stream_body() 1218 file_ptr address, in print_unicode_stream() 1256 print_strings (const char *filename, FILE *stream, file_ptr address, in print_strings() [all …]
|