gap_needed 1171 src/simh/sim_tape.c int32 gap_needed; gap_needed 1196 src/simh/sim_tape.c gap_needed = (gaplen * tape_density) / 10; /* determine the gap size needed in bytes */ gap_needed 1224 src/simh/sim_tape.c gap_alloc = gap_alloc + gap_needed; /* allocate remainder */ gap_needed 1225 src/simh/sim_tape.c gap_needed = 0; gap_needed 1230 src/simh/sim_tape.c gap_needed = gap_needed - meta_size; /* reduce requirement */ gap_needed 1237 src/simh/sim_tape.c gap_needed = gap_needed - meta_size / 2; /* reduce requirement */ gap_needed 1242 src/simh/sim_tape.c gap_alloc = gap_alloc + gap_needed; /* presume overwritten tape */ gap_needed 1243 src/simh/sim_tape.c gap_needed = 0; /* allocate remainder */ gap_needed 1256 src/simh/sim_tape.c if (rec_size < gap_needed + min_rec_size) { /* rec too small? */ gap_needed 1260 src/simh/sim_tape.c gap_needed = gap_needed - rec_size; /* reduce requirement */ gap_needed 1264 src/simh/sim_tape.c uptr->pos = uptr->pos - meta_size + gap_needed; /* position to end of gap */ gap_needed 1265 src/simh/sim_tape.c new_len = MTR_F (meta) | (sbc - gap_needed); /* truncate to new len */ gap_needed 1273 src/simh/sim_tape.c uptr->pos = uptr->pos + sbc - gap_needed; /* position to end of data */ gap_needed 1281 src/simh/sim_tape.c gap_alloc = gap_alloc + gap_needed; /* allocate remainder */ gap_needed 1282 src/simh/sim_tape.c gap_needed = 0; gap_needed 1286 src/simh/sim_tape.c while (gap_needed > 0);