units 2331 src/decNumber/decNumber.c uInt units, shift; // work units 2371 src/decNumber/decNumber.c units=rotate/DECDPUN; // whole units to rotate units 2388 src/decNumber/decNumber.c if (units>0) { // some to do units 2395 src/decNumber/decNumber.c decShiftToLeast(res->lsu, units, shift); units 2401 src/decNumber/decNumber.c decReverse(res->lsu+units, msumax); // left part units 2402 src/decNumber/decNumber.c decReverse(res->lsu, res->lsu+units-1); // right part units 6453 src/decNumber/decNumber.c static Int decShiftToLeast(Unit *uar, Int units, Int shift) { units 6458 src/decNumber/decNumber.c if (shift==0) return units; // [fastpath] nothing to do units 6459 src/decNumber/decNumber.c if (shift==units*DECDPUN) { // [fastpath] little to do units 6468 src/decNumber/decNumber.c for (; up<uar+units; target++, up++) *target=*up; units 6474 src/decNumber/decNumber.c count=units*DECDPUN-shift; // the maximum new length units 2303 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; units 2304 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u4 = (int32) iom_unit_idx; units 2306 src/dps8/dps8_scu.c if ((rc = sim_activate (& iom_dev.units [iom_unit_idx], units 4613 src/dps8/dps8_sys.c if (uptr == &cpu_dev.units[0]) units 2212 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2265 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2266 src/simh/scp.c if (dptr->units->flags & UNIT_DISABLE) { units 2304 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2324 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2536 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 2538 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 3801 src/simh/scp.c uptr = dptr->units; /* first unit */ units 3834 src/simh/scp.c uptr = dptr->units; /* first unit */ units 3961 src/simh/scp.c up = (dptr->units) + i; /* att or active? */ units 4066 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4184 src/simh/scp.c uptr = dptr->units + j; units 4216 src/simh/scp.c uptr = dptr->units + j; units 4232 src/simh/scp.c int32 u = (int32)(uptr - dptr->units); units 5021 src/simh/scp.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 5223 src/simh/scp.c uptr = dptr->units; units 5577 src/simh/scp.c uptr = (dptr->units) + j; units 5661 src/simh/scp.c sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); units 5786 src/simh/scp.c unitno = (int32) (uptr - dptr->units); /* recover unit# */ units 5805 src/simh/scp.c uptr = dptr->units + j; units 5915 src/simh/scp.c uptr = dptr->units + j; units 6018 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) units 6684 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { units 6692 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 6695 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7268 src/simh/scp.c *uptr = dptr->units; /* unit 0 */ units 7288 src/simh/scp.c *uptr = dptr->units + u; units 7293 src/simh/scp.c if (0 == strcmp (cptr, sim_uname (&dptr->units[u]))) { units 7294 src/simh/scp.c *uptr = &dptr->units[u]; units 7354 src/simh/scp.c if (uptr == (dptr->units + j)) units 7361 src/simh/scp.c if (uptr == (dptr->units + j)) units 7575 src/simh/scp.c sim_dfunit = sim_dfdev->units; units 9096 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 9143 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 10096 src/simh/scp.c n = uptr? uptr - dptr->units: 0; units 206 src/simh/sim_console.c return sim_con_poll_svc (&dptr->units[0]); /* establish polling as needed */ units 1045 src/simh/sim_console.c sim_activate_after (&dptr->units[1], 100000); /* continue polling for open sessions */ units 1046 src/simh/sim_console.c return sim_rem_con_poll_svc (&dptr->units[0]); /* establish polling as needed */ units 326 src/simh/sim_defs.h UNIT *units; /* units */ units 243 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 267 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_rdsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 343 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "_sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 366 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_wrsect(unit=%lu, lba=0x%X, sects=%lu)\n", (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 388 src/simh/sim_disk.c sim_printf ("\n%s%lu: Write Address Verification Error on lbn %lu(0x%X) of %lu(0x%X).\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((unsigned long)lba+(unsigned long)sect), (int)((int)lba+(int)sect), (unsigned long)total_sectors, (int)total_sectors); units 724 src/simh/sim_disk.c sim_printf ("%s%lu: '%s' Contains ODS%lu File system:\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), uptr->filename, (unsigned long)Home.hm2_b_struclev); units 725 src/simh/sim_disk.c sim_printf ("%s%lu: Volume Name: %12.12s ", sim_dname (dptr), (unsigned long)(uptr-dptr->units), Home.hm2_t_volname); units 808 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_attach(unit=%lu,filename='%s')\n", (unsigned long)(uptr-ctx->dptr->units), uptr->filename); units 821 src/simh/sim_disk.c sim_printf ("%s%lu: unit is read only (%s)\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr); units 835 src/simh/sim_disk.c sim_printf ("%s%lu: unit is read only (%s)\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr); units 847 src/simh/sim_disk.c sim_printf ("%s%lu: creating new file (%s)\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr); units 904 src/simh/sim_disk.c sim_printf ("%s%lu: Initialized To Sector Address %luMB. %lu%% complete.\r", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((((float)lba)*sector_size)/1000000), (unsigned long)((((float)lba)*100)/total_sectors)); units 907 src/simh/sim_disk.c sim_printf ("%s%lu: Initialized To Sector Address %luMB. 100%% complete.\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((((float)lba)*sector_size)/1000000)); units 945 src/simh/sim_disk.c sim_printf ("\n%s%lu: Verification Error on lbn %lu(0x%X) of %lu(0x%X).\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((unsigned long)lba+(unsigned long)sect), (int)((int)lba+(int)sect), (unsigned long)total_sectors, (int)total_sectors); units 955 src/simh/sim_disk.c sim_printf ("%s%lu: Verified containing Sector Address %luMB. %lu%% complete.\r", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((((float)lba)*sector_size)/1000000), (unsigned long)((((float)lba)*100)/total_sectors)); units 958 src/simh/sim_disk.c sim_printf ("%s%lu: Verified containing Sector Address %luMB. 100%% complete.\n", sim_dname (dptr), (unsigned long)(uptr-dptr->units), (unsigned long)((((float)lba)*sector_size)/1000000)); units 973 src/simh/sim_disk.c sim_printf ("%s%lu: The file system on the disk %s is larger than simulated device (%s > ", sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 983 src/simh/sim_disk.c sim_printf ("%s%lu: non expandable disk %s is smaller than simulated device (%s < ", sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1061 src/simh/sim_disk.c if (0 == (uptr-dptr->units)) { units 1066 src/simh/sim_disk.c if (dptr->units[i].flags & UNIT_ATTABLE) units 1099 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_reset(unit=%lu)\n", (unsigned long)(uptr-ctx->dptr->units)); units 278 src/simh/sim_tape.c if (0 == (uptr-dptr->units)) { units 283 src/simh/sim_tape.c if (dptr->units[i].flags & UNIT_ATTABLE) units 794 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecf(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); units 857 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecr(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); units 907 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrrecf(unit=%d, buf=%p, bc=%d)\n", (int)(uptr-ctx->dptr->units), buf, bc); units 989 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrtmk(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1013 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreom(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1041 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreomrw(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1172 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrgap(unit=%d, gaplen=%u)\n", (int)(uptr-ctx->dptr->units), gaplen); units 1339 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecf(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1380 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsf(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); units 1425 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecr(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1472 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecsr(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); units 1521 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecf(unit=%d, count=%d, check_leot=%d)\n", (int)(uptr-ctx->dptr->units), count, check_leot); units 1589 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilef(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); units 1632 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfilebyrecr(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); units 1683 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_spfiler(unit=%d, count=%d)\n", (int)(uptr-ctx->dptr->units), count); units 1704 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rewind(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1727 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_position(unit=%d, flags=0x%X, recs=%d, files=%d)\n", (int)(uptr-ctx->dptr->units), flags, recs, files); units 1791 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_reset(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 563 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 564 src/simh/sim_tmxr.c val = (int32) (uptr - dptr->units); /* implicit line # */