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 2326 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; units 2327 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u4 = (int32) iom_unit_idx; units 2329 src/dps8/dps8_scu.c if ((rc = sim_activate (& iom_dev.units [iom_unit_idx], units 4764 src/dps8/dps8_sys.c if (uptr == &cpu_dev.units[0]) units 2574 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2632 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2633 src/simh/scp.c if (dptr->units->flags & UNIT_DISABLE) { units 2678 src/simh/scp.c if (dptr->units[unit].flags & UNIT_DIS) units 2699 src/simh/scp.c if ((dptr->modifiers) && (dptr->units) && (enabled_units != 1)) { units 2917 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 2919 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); units 4224 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4257 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4384 src/simh/scp.c up = (dptr->units) + i; /* att or active? */ units 4489 src/simh/scp.c uptr = dptr->units; /* first unit */ units 4607 src/simh/scp.c uptr = dptr->units + j; units 4640 src/simh/scp.c uptr = dptr->units + j; units 4656 src/simh/scp.c int32 u = (int32)(uptr - dptr->units); units 5775 src/simh/scp.c (void)fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 5977 src/simh/scp.c uptr = dptr->units; units 6330 src/simh/scp.c uptr = (dptr->units) + j; units 6415 src/simh/scp.c (void)sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); units 6540 src/simh/scp.c unitno = (int32) (uptr - dptr->units); /* recover unit# */ units 6559 src/simh/scp.c uptr = dptr->units + j; units 6669 src/simh/scp.c uptr = dptr->units + j; units 6772 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) units 7441 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { units 7449 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 7452 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) units 8025 src/simh/scp.c *uptr = dptr->units; /* unit 0 */ units 8045 src/simh/scp.c *uptr = dptr->units + u; units 8050 src/simh/scp.c if (0 == strcmp (cptr, sim_uname (&dptr->units[u]))) { units 8051 src/simh/scp.c *uptr = &dptr->units[u]; units 8111 src/simh/scp.c if (uptr == (dptr->units + j)) units 8118 src/simh/scp.c if (uptr == (dptr->units + j)) units 8332 src/simh/scp.c sim_dfunit = sim_dfdev->units; units 9879 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 9926 src/simh/scp.c sim_data_trace(exp->dptr, exp->dptr->units, (const uint8 *)match, "", strlen(match)+1, "Expect Match String", exp->dbit); units 10918 src/simh/scp.c n = uptr? uptr - dptr->units: 0; units 209 src/simh/sim_console.c return sim_con_poll_svc (&dptr->units[0]); /* establish polling as needed */ units 1064 src/simh/sim_console.c sim_activate_after (&dptr->units[1], 100000); /* continue polling for open sessions */ units 1065 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 250 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 275 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 352 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 376 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), lba, (unsigned long)sects); units 399 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 737 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), uptr->filename, (unsigned long)Home.hm2_b_struclev); units 739 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), Home.hm2_t_volname); units 825 src/simh/sim_disk.c (unsigned long)(uptr-ctx->dptr->units), uptr->filename); units 839 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 854 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 868 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), cptr); units 928 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 934 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 974 src/simh/sim_disk.c (unsigned long)(uptr-dptr->units), units 990 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 996 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), units 1013 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1025 src/simh/sim_disk.c sim_dname (dptr), (unsigned long)(uptr-dptr->units), cptr, sprint_capac (dptr, uptr)); units 1104 src/simh/sim_disk.c if (0 == (uptr-dptr->units)) { units 1109 src/simh/sim_disk.c if (dptr->units[i].flags & UNIT_ATTABLE) units 1142 src/simh/sim_disk.c sim_debug (ctx->dbit, ctx->dptr, "sim_disk_reset(unit=%lu)\r\n", (unsigned long)(uptr-ctx->dptr->units)); units 283 src/simh/sim_tape.c if (0 == (uptr-dptr->units)) { units 288 src/simh/sim_tape.c if (dptr->units[i].flags & UNIT_ATTABLE) units 805 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)max); units 869 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)max); units 920 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), buf, (long long)bc); units 1003 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrtmk(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1027 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreom(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1055 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wreomrw(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1186 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrgap(unit=%d, gaplen=%u)\r\n", (int)(uptr-ctx->dptr->units), gaplen); units 1353 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecf(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1395 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1440 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_sprecr(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1488 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1538 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count, (long long)check_leot); units 1609 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1653 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1705 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), (long long)count); units 1726 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rewind(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 1751 src/simh/sim_tape.c (int)(uptr-ctx->dptr->units), flags, (long long)recs, (long long)files); units 1817 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_reset(unit=%d)\r\n", (int)(uptr-ctx->dptr->units)); units 604 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); units 573 src/simh/sim_tmxr.c val = (int32) (uptr - dptr->units); /* implicit line # */