fileref           847 src/dps8/dps8_disk.c     if (! unitp->fileref) {
fileref           870 src/dps8/dps8_disk.c     int rc = fseek (unitp->fileref,
fileref           898 src/dps8/dps8_disk.c     (void)fflush (unitp->fileref);
fileref           901 src/dps8/dps8_disk.c                 unitp->fileref);
fileref           905 src/dps8/dps8_disk.c         if (ferror (unitp->fileref))
fileref           949 src/dps8/dps8_disk.c     if (! unitp->fileref) {
fileref           967 src/dps8/dps8_disk.c     int rc = fseek (unitp->fileref,
fileref          1003 src/dps8/dps8_disk.c                  unitp->fileref);
fileref          1004 src/dps8/dps8_disk.c     (void)fflush (unitp->fileref);
fileref          1053 src/dps8/dps8_disk.c     if (! unitp->fileref)
fileref          1063 src/dps8/dps8_disk.c   if (! unitp->fileref)
fileref          1175 src/dps8/dps8_disk.c     if (! unitp->fileref)
fileref          1192 src/dps8/dps8_disk.c     if (! unitp->fileref)
fileref          1252 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1266 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1280 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1294 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1308 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1322 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1336 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1351 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1365 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1380 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1404 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1419 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          1434 src/dps8/dps8_disk.c         if (! unitp->fileref)
fileref          2362 src/dps8/dps8_fnp2.c 
fileref          2363 src/dps8/dps8_fnp2.c 
fileref          2373 src/dps8/dps8_fnp2.c 
fileref          2454 src/dps8/dps8_fnp2.c 
fileref          6070 src/simh/scp.c     uptr->fileref = sim_fopen (cptr, "rb");             /* open rd only */
fileref          6071 src/simh/scp.c     if (uptr->fileref == NULL)                          /* open fail? */
fileref          6080 src/simh/scp.c         uptr->fileref = sim_fopen (cptr, "wb+");        /* open new file */
fileref          6081 src/simh/scp.c         if (uptr->fileref == NULL)                      /* open fail? */
fileref          6088 src/simh/scp.c         uptr->fileref = sim_fopen (cptr, "rb+");        /* open r/w */
fileref          6089 src/simh/scp.c         if (uptr->fileref == NULL) {                    /* open fail? */
fileref          6104 src/simh/scp.c                 uptr->fileref = sim_fopen (cptr, "rb"); /* open rd only */
fileref          6105 src/simh/scp.c                 if (uptr->fileref == NULL)              /* open fail? */
fileref          6115 src/simh/scp.c                 uptr->fileref = sim_fopen (cptr, "wb+");/* open new file */
fileref          6116 src/simh/scp.c                 if (uptr->fileref == NULL)              /* open fail? */
fileref          6135 src/simh/scp.c         SZ_D (dptr), cap, uptr->fileref);
fileref          6247 src/simh/scp.c         rewind (uptr->fileref);
fileref          6248 src/simh/scp.c         sim_fwrite (uptr->filebuf, SZ_D (dptr), cap, uptr->fileref);
fileref          6249 src/simh/scp.c         if (ferror (uptr->fileref))
fileref          6262 src/simh/scp.c if (fclose (uptr->fileref) == EOF)
fileref          6431 src/simh/scp.c             sim_fseek (uptr->fileref, uptr->pos, SEEK_SET);
fileref          6545 src/simh/scp.c                     (uptr->fileref) &&                  /* real file, */
fileref          6548 src/simh/scp.c                     (void)fflush (uptr->fileref);
fileref          7192 src/simh/scp.c             sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET);
fileref          7193 src/simh/scp.c             sim_fread (&sim_eval[i], sz, 1, uptr->fileref);
fileref          7194 src/simh/scp.c             if ((feof (uptr->fileref)) &&
fileref          7199 src/simh/scp.c             else if (ferror (uptr->fileref)) {
fileref          7200 src/simh/scp.c                 clearerr (uptr->fileref);
fileref          7283 src/simh/scp.c             sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET);
fileref          7284 src/simh/scp.c             sim_fwrite (&sim_eval[i], sz, 1, uptr->fileref);
fileref          7285 src/simh/scp.c             if (ferror (uptr->fileref)) {
fileref          7286 src/simh/scp.c                 clearerr (uptr->fileref);
fileref           426 src/simh/sim_defs.h     FILE                *fileref;                       /* file reference */
fileref           228 src/simh/sim_disk.c         return sim_fsize_ex (uptr->fileref);
fileref           252 src/simh/sim_disk.c err = sim_fseeko (uptr->fileref, da, SEEK_SET);          /* set pos */
fileref           254 src/simh/sim_disk.c     i = sim_fread (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref);
fileref           257 src/simh/sim_disk.c     err = ferror (uptr->fileref);
fileref           354 src/simh/sim_disk.c err = sim_fseeko (uptr->fileref, da, SEEK_SET);          /* set pos */
fileref           356 src/simh/sim_disk.c     i = sim_fwrite (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref);
fileref           357 src/simh/sim_disk.c     err = ferror (uptr->fileref);
fileref           495 src/simh/sim_disk.c         (void)fflush (uptr->fileref);
fileref           829 src/simh/sim_disk.c     uptr->fileref = open_function (cptr, "rb");         /* open rd only */
fileref           830 src/simh/sim_disk.c     if (uptr->fileref == NULL)                          /* open fail? */
fileref           839 src/simh/sim_disk.c     uptr->fileref = open_function (cptr, "rb+");        /* open r/w */
fileref           840 src/simh/sim_disk.c     if (uptr->fileref == NULL) {                        /* open fail? */
fileref           844 src/simh/sim_disk.c             uptr->fileref = open_function (cptr, "rb"); /* open rd only */
fileref           845 src/simh/sim_disk.c             if (uptr->fileref == NULL)                  /* open fail? */
fileref           856 src/simh/sim_disk.c                 uptr->fileref = create_function (cptr,  /* create new file */
fileref           859 src/simh/sim_disk.c                 uptr->fileref = open_function (cptr, "wb+");/* open new file */
fileref           860 src/simh/sim_disk.c             if (uptr->fileref == NULL)                  /* open fail? */
fileref           874 src/simh/sim_disk.c     storage_function (uptr->fileref, &ctx->storage_sector_size, &ctx->removable);
fileref           999 src/simh/sim_disk.c capac = size_function (uptr->fileref);
fileref          1048 src/simh/sim_disk.c FILE *fileref;
fileref          1054 src/simh/sim_disk.c fileref = uptr->fileref;
fileref          1080 src/simh/sim_disk.c uptr->fileref = NULL;
fileref          1088 src/simh/sim_disk.c if (close_function (fileref) == EOF)
fileref          1167 src/simh/sim_disk.c         clearerr (uptr->fileref);
fileref           130 src/simh/sim_tape.c (void)fflush (uptr->fileref);
fileref           416 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET);         /* set the initial tape position */
fileref           436 src/simh/sim_tape.c                 if (feof (uptr->fileref)) {             /* if we hit the EOF while reading a gap */
fileref           454 src/simh/sim_tape.c                                     uptr->fileref);
fileref           456 src/simh/sim_tape.c                 if (ferror (uptr->fileref)) {           /* if a file I/O error occurred */
fileref           506 src/simh/sim_tape.c                 (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /*     to resync */
fileref           515 src/simh/sim_tape.c                     (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /*   then seek to the data area */
fileref           530 src/simh/sim_tape.c         (void)sim_fread (&tpcbc, sizeof (t_tpclnt), 1, uptr->fileref);
fileref           532 src/simh/sim_tape.c         if (ferror (uptr->fileref)) {                   /* error? */
fileref           536 src/simh/sim_tape.c         if (feof (uptr->fileref)) {                     /* eof? */
fileref           549 src/simh/sim_tape.c             (void)sim_fread (&c, sizeof (uint8), 1, uptr->fileref);
fileref           550 src/simh/sim_tape.c             if (ferror (uptr->fileref)) {               /* error? */
fileref           554 src/simh/sim_tape.c             if (feof (uptr->fileref)) {                 /* eof? */
fileref           565 src/simh/sim_tape.c         (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* for read */
fileref           663 src/simh/sim_tape.c                 (void)sim_fseek (uptr->fileref,                           /* seek back to the location */
fileref           668 src/simh/sim_tape.c                                      bufcap, uptr->fileref);        /*   with tape metadata */
fileref           670 src/simh/sim_tape.c                 if (ferror (uptr->fileref)) {           /* if a file I/O error occurred */
fileref           706 src/simh/sim_tape.c                 (void)sim_fseek (uptr->fileref,                       /* seek to the data area */
fileref           719 src/simh/sim_tape.c         (void)sim_fseek (uptr->fileref, ppos, SEEK_SET);      /* position */
fileref           720 src/simh/sim_tape.c         (void)sim_fread (&tpcbc, sizeof (t_tpclnt), 1, uptr->fileref);
fileref           722 src/simh/sim_tape.c         if (ferror (uptr->fileref))                     /* error? */
fileref           724 src/simh/sim_tape.c         if (feof (uptr->fileref)) {                     /* eof? */
fileref           733 src/simh/sim_tape.c         (void)sim_fseek (uptr->fileref, uptr->pos + sizeof (t_tpclnt), SEEK_SET);
fileref           738 src/simh/sim_tape.c             (void)sim_fseek (uptr->fileref, uptr->pos - sbc, SEEK_SET);
fileref           739 src/simh/sim_tape.c             (void)sim_fread (&c, sizeof (uint8), 1, uptr->fileref);
fileref           740 src/simh/sim_tape.c             if (ferror (uptr->fileref))                 /* error? */
fileref           742 src/simh/sim_tape.c             if (feof (uptr->fileref)) {                 /* eof? */
fileref           753 src/simh/sim_tape.c         (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* for read */
fileref           809 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */
fileref           810 src/simh/sim_tape.c if (ferror (uptr->fileref)) {                           /* error? */
fileref           869 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */
fileref           870 src/simh/sim_tape.c if (ferror (uptr->fileref))                             /* error? */
fileref           924 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET);         /* set pos */
fileref           931 src/simh/sim_tape.c         (void)sim_fwrite (&bc, sizeof (t_mtrlnt), 1, uptr->fileref);
fileref           932 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref);
fileref           933 src/simh/sim_tape.c         (void)sim_fwrite (&bc, sizeof (t_mtrlnt), 1, uptr->fileref);
fileref           934 src/simh/sim_tape.c         if (ferror (uptr->fileref)) {                   /* error? */
fileref           943 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref);
fileref           944 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), 1, uptr->fileref); /* delimit rec */
fileref           945 src/simh/sim_tape.c         if (ferror (uptr->fileref)) {                   /* error? */
fileref           976 src/simh/sim_tape.c (void)sim_fseek (uptr->fileref, uptr->pos, SEEK_SET);         /* set pos */
fileref           977 src/simh/sim_tape.c (void)sim_fwrite (&dat, sizeof (uint32_t), 1, uptr->fileref);
fileref           978 src/simh/sim_tape.c if (ferror (uptr->fileref)) {                           /* error? */
fileref          1198 src/simh/sim_tape.c file_size = sim_fsize (uptr->fileref);                  /* get file size */
fileref          1199 src/simh/sim_tape.c sim_fseek (uptr->fileref, uptr->pos, SEEK_SET);         /* position tape */
fileref          1213 src/simh/sim_tape.c     (void)sim_fread (&meta, meta_size, 1, uptr->fileref);     /* read metadatum */
fileref          1215 src/simh/sim_tape.c     if (ferror (uptr->fileref)) {                       /* read error? */
fileref          1223 src/simh/sim_tape.c     if (feof (uptr->fileref) || (meta == MTR_EOM)) {    /* at eof or eom? */
fileref          1235 src/simh/sim_tape.c         sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* position tape */
fileref          1258 src/simh/sim_tape.c             sim_fseek (uptr->fileref, uptr->pos, SEEK_SET); /* move tape */
fileref          1844 src/simh/sim_tape.c clearerr (uptr->fileref);
fileref          1896 src/simh/sim_tape.c if ((uptr == NULL) || (uptr->fileref == NULL))
fileref          1924 src/simh/sim_tape.c tape_size = (t_addr)sim_fsize (uptr->fileref);
fileref          1927 src/simh/sim_tape.c     sim_fseek (uptr->fileref, tpos, SEEK_SET);
fileref          1928 src/simh/sim_tape.c     i = sim_fread (&bc, sizeof (t_tpclnt), 1, uptr->fileref);
fileref          1940 src/simh/sim_tape.c             (void)sim_fread (recbuf, 1, bc, uptr->fileref);