Lines Matching refs:iostream
151 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()
591 abfd->iostream = real_fopen (abfd->filename, FOPEN_RB); in bfd_open_file()
597 abfd->iostream = real_fopen (abfd->filename, FOPEN_RUB); in bfd_open_file()
598 if (abfd->iostream == NULL) in bfd_open_file()
599 abfd->iostream = real_fopen (abfd->filename, FOPEN_WUB); in bfd_open_file()
629 abfd->iostream = real_fopen (abfd->filename, FOPEN_WUB); in bfd_open_file()
635 if (abfd->iostream == NULL) in bfd_open_file()
643 return (FILE *) abfd->iostream; in bfd_open_file()