Home
last modified time | relevance | path

Searched refs:iostream (Results 1 – 20 of 20) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dcache.c151 if (fclose ((FILE *) abfd->iostream) == 0) in bfd_cache_delete()
161 abfd->iostream = NULL; in bfd_cache_delete()
197 to_kill->where = real_ftell ((FILE *) to_kill->iostream); in close_one()
209 ? (FILE *) (bfd_last_cache->iostream) \
229 if (abfd->iostream != NULL) in bfd_cache_lookup_worker()
237 return (FILE *) abfd->iostream; in bfd_cache_lookup_worker()
246 && real_fseek ((FILE *) abfd->iostream, abfd->where, SEEK_SET) != 0 in bfd_cache_lookup_worker()
250 return (FILE *) abfd->iostream; in bfd_cache_lookup_worker()
493 BFD_ASSERT (abfd->iostream != NULL); in bfd_cache_init()
527 if (abfd->iostream == NULL) in bfd_cache_close()
[all …]
Dopncls.c108 nbfd->iostream = obfd->iostream; in _bfd_new_bfd_contained_in()
216 nbfd->iostream = fdopen (fd, mode); in bfd_fopen()
219 nbfd->iostream = real_fopen (filename, mode); in bfd_fopen()
220 if (nbfd->iostream == NULL) in bfd_fopen()
395 nbfd->iostream = stream; in bfd_openstreamr()
480 struct opncls *vec = (struct opncls *) abfd->iostream; in opncls_btell()
487 struct opncls *vec = (struct opncls *) abfd->iostream; in opncls_bseek()
500 struct opncls *vec = (struct opncls *) abfd->iostream; in opncls_bread()
519 struct opncls *vec = (struct opncls *) abfd->iostream; in opncls_bclose()
525 abfd->iostream = NULL; in opncls_bclose()
[all …]
Dbfdio.c474 bim = (struct bfd_in_memory *) abfd->iostream; in memory_bread()
491 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; in memory_bwrite()
529 bim = (struct bfd_in_memory *) abfd->iostream; in memory_bseek()
580 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; in memory_bclose()
585 abfd->iostream = NULL; in memory_bclose()
599 struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream; in memory_bstat()
Dbfdwin.c154 if (abfd->iostream == NULL in bfd_get_file_window()
159 fd = fileno ((FILE *) abfd->iostream); in bfd_get_file_window()
Dvms-lib.c806 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in vms_lib_btell()
816 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in vms_lib_read_block()
840 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in vms_lib_bread_raw()
958 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in vms_lib_bread()
1152 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in vms_lib_bseek()
1181 abfd->iostream = NULL; in vms_lib_bclose()
1233 el->iostream = vec; in vms_lib_bopen()
1498 struct vms_lib_iovec *vec = (struct vms_lib_iovec *) abfd->iostream; in _bfd_vms_lib_generic_stat_arch_elt()
Dplugin.c181 if (!iobfd->iostream && !bfd_open_file (iobfd)) in try_claim()
184 file.fd = fileno ((FILE *) iobfd->iostream); in try_claim()
Driscix.c596 if (abfd->iostream != NULL in riscix_some_aout_object_p()
598 && (fstat(fileno((FILE *) (abfd->iostream)), &stat_buf) == 0) in riscix_some_aout_object_p()
Dpeicode.h1016 abfd->iostream = (void *) vars.bim; in pe_ILF_build_a_bfd()
Dcoff-alpha.c2170 nbfd->iostream = bim; in alpha_ecoff_get_elt_at_filepos()
Delfcode.h1841 nbfd->iostream = bim; in NAME()
Dpdp11.c637 if (abfd->iostream != NULL in NAME()
639 && (fstat(fileno((FILE *) (abfd->iostream)), &stat_buf) == 0) in NAME()
Darchive.c1886 struct bfd_in_memory *bim = (struct bfd_in_memory *) member->iostream; in bfd_ar_hdr_from_filesystem()
Daoutx.h646 if (abfd->iostream != NULL in NAME()
648 && (fstat (fileno ((FILE *) (abfd->iostream)), &stat_buf) == 0) in NAME()
Dmach-o.c3629 b = (struct bfd_in_memory *) abfd->iostream; in bfd_mach_o_read_symtab_strtab()
5138 abfd->iostream = NULL; in bfd_mach_o_fat_member_init()
Dbfd-in2.h6288 void *iostream; member
DChangeLog-2010966 * plugin.c (bfd_plugin_object_p): Handle NULL iostream.
2717 * plugin.c (bfd_plugin_object_p): Pass iostream to fileno using
DChangeLog-96976618 * bfd.c (struct _bfd): Change iostream field from char * to PTR.
6621 (bfd_open_file): Cast to PTR, not char *, when setting iostream.
6624 iostream.
6626 * aoutx.h (NAME(aout,some_aout_object_p)): Only fstat iostream if
Dxcofflink.c3989 abfd->iostream = (void *) bim; in bfd_xcoff_link_generate_rtinit()
DChangeLog-2012362 (_bfd_new_bfd_contained_in): If using opncls_iovec, copy iostream
DChangeLog-91937680 reloc calls, changed bfd->iostream to a void *