Lines Matching refs:iostream
120 if (fclose ((FILE *) abfd->iostream) == 0) in bfd_cache_delete()
130 abfd->iostream = NULL; in bfd_cache_delete()
166 kill->where = real_ftell ((FILE *) kill->iostream); in close_one()
194 ? (FILE *) (bfd_last_cache->iostream) \
214 if (abfd->iostream != NULL) in bfd_cache_lookup_worker()
222 return (FILE *) abfd->iostream; in bfd_cache_lookup_worker()
231 && real_fseek ((FILE *) abfd->iostream, abfd->where, SEEK_SET) != 0 in bfd_cache_lookup_worker()
235 return (FILE *) abfd->iostream; in bfd_cache_lookup_worker()
381 BFD_ASSERT (abfd->iostream != NULL); in bfd_cache_init()
415 if (abfd->iostream == NULL) in bfd_cache_close()
479 abfd->iostream = (PTR) real_fopen (abfd->filename, FOPEN_RB); in bfd_open_file()
485 abfd->iostream = (PTR) real_fopen (abfd->filename, FOPEN_RUB); in bfd_open_file()
486 if (abfd->iostream == NULL) in bfd_open_file()
487 abfd->iostream = (PTR) real_fopen (abfd->filename, FOPEN_WUB); in bfd_open_file()
517 abfd->iostream = (PTR) real_fopen (abfd->filename, FOPEN_WUB); in bfd_open_file()
523 if (abfd->iostream == NULL) in bfd_open_file()
531 return (FILE *) abfd->iostream; in bfd_open_file()