bufcap 405 src/simh/sim_tape.c size_t bufcntr, bufcap; /* buffer counter and capacity */ bufcap 432 src/simh/sim_tape.c bufcap = 0; /* but of just one metadata marker */ bufcap 435 src/simh/sim_tape.c if (bufcntr == bufcap) { /* if the buffer is empty then refill it */ bufcap 444 src/simh/sim_tape.c else if (bufcap == 0) /* otherwise if this is the initial read */ bufcap 445 src/simh/sim_tape.c bufcap = 1; /* then start with just one marker */ bufcap 448 src/simh/sim_tape.c bufcap = sizeof (buffer) /* to the full size of the buffer */ bufcap 451 src/simh/sim_tape.c bufcap = sim_fread (buffer, /* fill the buffer */ bufcap 453 src/simh/sim_tape.c bufcap, bufcap 464 src/simh/sim_tape.c else if (bufcap == 0 /* otherwise if positioned at the physical EOF */ bufcap 507 src/simh/sim_tape.c bufcntr = bufcap; /* mark the buffer as invalid to force a read */ bufcap 514 src/simh/sim_tape.c if (bufcntr < bufcap) /* if the position is within the buffer */ bufcap 620 src/simh/sim_tape.c size_t bufcntr, bufcap; /* buffer counter and capacity */ bufcap 650 src/simh/sim_tape.c bufcap = 1; /* but of just one metadata marker */ bufcap 660 src/simh/sim_tape.c bufcap = (size_t) uptr->pos /* then reduce the capacity accordingly */ bufcap 664 src/simh/sim_tape.c uptr->pos - bufcap * sizeof (t_mtrlnt), /* corresponding to the start */ bufcap 668 src/simh/sim_tape.c bufcap, uptr->fileref); /* with tape metadata */ bufcap 677 src/simh/sim_tape.c bufcap = sizeof (buffer) /* to the full size of the buffer */