units 2315 src/decNumber/decNumber.c uInt units, shift; // work units 2355 src/decNumber/decNumber.c units=rotate/DECDPUN; // whole units to rotate units 2372 src/decNumber/decNumber.c if (units>0) { // some to do units 2379 src/decNumber/decNumber.c decShiftToLeast(res->lsu, units, shift); units 2385 src/decNumber/decNumber.c decReverse(res->lsu+units, msumax); // left part units 2386 src/decNumber/decNumber.c decReverse(res->lsu, res->lsu+units-1); // right part units 6433 src/decNumber/decNumber.c static Int decShiftToLeast(Unit *uar, Int units, Int shift) { units 6438 src/decNumber/decNumber.c if (shift==0) return units; // [fastpath] nothing to do units 6439 src/decNumber/decNumber.c if (shift==units*DECDPUN) { // [fastpath] little to do units 6448 src/decNumber/decNumber.c for (; up<uar+units; target++, up++) *target=*up; units 6454 src/decNumber/decNumber.c count=units*DECDPUN-shift; // the maximum new length units 2281 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; units 2282 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u4 = (int32) iom_unit_idx; units 2284 src/dps8/dps8_scu.c if ((rc = sim_activate (& iom_dev.units [iom_unit_idx], units 4743 src/dps8/dps8_sys.c if (uptr == &cpu_dev.units[0]) units 2395 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2453 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2454 src/simh/scp.c if (dptr->units->flags & UNIT_DISABLE) { units 2499 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2520 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2738 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 2740 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 4039 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4072 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4199 src/simh/scp.c up = (dptr->units) + i; /* att or active? */ units 4304 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4422 src/simh/scp.c uptr = dptr->units + j; units 4454 src/simh/scp.c uptr = dptr->units + j; units 4470 src/simh/scp.c int32 u = (int32)(uptr - dptr->units); units 5579 src/simh/scp.c (void)fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 5781 src/simh/scp.c uptr = dptr->units; units 6134 src/simh/scp.c uptr = (dptr->units) + j; units 6219 src/simh/scp.c (void)sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); units 6344 src/simh/scp.c unitno = (int32) (uptr - dptr->units); /* recover unit# */ units 6363 src/simh/scp.c uptr = dptr->units + j; units 6473 src/simh/scp.c uptr = dptr->units + j; units 6576 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) units 7245 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { units 7253 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7256 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7829 src/simh/scp.c *uptr = dptr->units; /* unit 0 */ units 7849 src/simh/scp.c *uptr = dptr->units + u; units 7854 src/simh/scp.c if (0 == strcmp (cptr, sim_uname (&dptr->units[u]))) { units 7855 src/simh/scp.c *uptr = &dptr->units[u]; units 7915 src/simh/scp.c if (uptr == (dptr->units + j)) units 7922 src/simh/scp.c if (uptr == (dptr->units + j)) units 8136 src/simh/scp.c sim_dfunit = sim_dfdev->units; units 9683 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 9730 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 10715 src/simh/scp.c n = uptr? uptr - dptr->units: 0; units 208 src/simh/sim_console.c return sim_con_poll_svc (&dptr->units[0]); /* establish polling as needed */ units 1063 src/simh/sim_console.c sim_activate_after (&dptr->units[1], 100000); /* continue polling for open sessions */ units 1064 src/simh/sim_console.c return sim_rem_con_poll_svc (&dptr->units[0]); /* establish polling as needed */ units 338 src/simh/sim_defs.h UNIT *units; /* units */ units 248 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 273 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 350 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 374 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 397 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 735 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), uptr->filename, (unsigned long)Home.hm2_b_struclev); units 737 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), Home.hm2_t_volname); units 823 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), uptr->filename); units 837 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 852 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 866 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 926 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 932 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 972 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), units 988 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 994 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 1011 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1023 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1102 src/simh/sim_disk.c if (0 == (uptr-dptr->units)) { units 1107 src/simh/sim_disk.c if (dptr->units[i].flags & UNIT_ATTABLE) units 1140 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_reset(unit=%lu)\n", (unsigned long)(uptr-ctx->dptr->units)); units 279 src/simh/sim_tape.c if (0 == (uptr-dptr->units)) { units 284 src/simh/sim_tape.c if (dptr->units[i].flags & UNIT_ATTABLE) units 798 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)max); units 862 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)max); units 913 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)bc); units 996 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrtmk(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1020 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreom(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1048 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreomrw(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1179 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 1346 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecf(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1388 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1433 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecr(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1481 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1531 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count, (long long)check_leot); units 1602 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1646 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1698 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1719 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rewind(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 1744 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), flags, (long long)recs, (long long)files); units 1810 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_reset(unit=%d)\n", (int)(uptr-ctx->dptr->units)); units 596 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 572 src/simh/sim_tmxr.c val = (int32) (uptr - dptr->units); /* implicit line # */