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 2284 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; units 2285 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u4 = (int32) iom_unit_idx; units 2287 src/dps8/dps8_scu.c if ((rc = sim_activate (& iom_dev.units [iom_unit_idx], units 4744 src/dps8/dps8_sys.c if (uptr == &cpu_dev.units[0]) units 2459 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2517 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2518 src/simh/scp.c if (dptr->units->flags & UNIT_DISABLE) { units 2563 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2584 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2802 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 2804 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 4104 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4137 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4264 src/simh/scp.c up = (dptr->units) + i; /* att or active? */ units 4369 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4487 src/simh/scp.c uptr = dptr->units + j; units 4520 src/simh/scp.c uptr = dptr->units + j; units 4536 src/simh/scp.c int32 u = (int32)(uptr - dptr->units); units 5645 src/simh/scp.c (void)fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 5847 src/simh/scp.c uptr = dptr->units; units 6200 src/simh/scp.c uptr = (dptr->units) + j; units 6285 src/simh/scp.c (void)sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); units 6410 src/simh/scp.c unitno = (int32) (uptr - dptr->units); /* recover unit# */ units 6429 src/simh/scp.c uptr = dptr->units + j; units 6539 src/simh/scp.c uptr = dptr->units + j; units 6642 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) units 7311 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { units 7319 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7322 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7895 src/simh/scp.c *uptr = dptr->units; /* unit 0 */ units 7915 src/simh/scp.c *uptr = dptr->units + u; units 7920 src/simh/scp.c if (0 == strcmp (cptr, sim_uname (&dptr->units[u]))) { units 7921 src/simh/scp.c *uptr = &dptr->units[u]; units 7981 src/simh/scp.c if (uptr == (dptr->units + j)) units 7988 src/simh/scp.c if (uptr == (dptr->units + j)) units 8202 src/simh/scp.c sim_dfunit = sim_dfdev->units; units 9749 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 9796 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 10785 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 246 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 271 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 348 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 372 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 395 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 733 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), uptr->filename, (unsigned long)Home.hm2_b_struclev); units 735 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), Home.hm2_t_volname); units 821 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), uptr->filename); units 835 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 850 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 864 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 924 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 930 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 970 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), units 986 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 992 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 1009 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1021 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1100 src/simh/sim_disk.c if (0 == (uptr-dptr->units)) { units 1105 src/simh/sim_disk.c if (dptr->units[i].flags & UNIT_ATTABLE) units 1138 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 595 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 # */