up 304 src/decNumber/decNumber.c Unit *up; // work pointer up 307 src/decNumber/decNumber.c for (up=dn->lsu; uin>0; up++) { up 308 src/decNumber/decNumber.c *up=(Unit)(uin%(DECDPUNMAX+1)); up 311 src/decNumber/decNumber.c dn->digits=decGetDigits(dn->lsu, up-dn->lsu); up 330 src/decNumber/decNumber.c const Unit *up; // .. up 332 src/decNumber/decNumber.c up=dn->lsu; // -> lsu up 333 src/decNumber/decNumber.c lo=*up; // get 1 to 9 digits up 338 src/decNumber/decNumber.c up++; up 340 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; up 363 src/decNumber/decNumber.c const Unit *up; // .. up 365 src/decNumber/decNumber.c up=dn->lsu; // -> lsu up 366 src/decNumber/decNumber.c lo=*up; // get 1 to 9 digits up 371 src/decNumber/decNumber.c up++; up 373 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; up 440 src/decNumber/decNumber.c Unit *up; // .. up 600 src/decNumber/decNumber.c up=res+D2U(d)-1; // -> msu up 601 src/decNumber/decNumber.c cut=d-(up-res)*DECDPUN; // digits in top unit up 608 src/decNumber/decNumber.c *up=(Unit)out; // write unit up 609 src/decNumber/decNumber.c up--; // prepare for unit below.. up 613 src/decNumber/decNumber.c *up=(Unit)out; // write lsu up 617 src/decNumber/decNumber.c up=res; // -> lsu up 620 src/decNumber/decNumber.c *up=(Unit)((Int)*c-(Int)'0'); up 621 src/decNumber/decNumber.c up++; up 3268 src/decNumber/decNumber.c const Unit *up=dn->lsu; // Unit pointer, -> lsu up 3271 src/decNumber/decNumber.c for (; ub>=bcd; ub--, up++) *ub=*up; up 3273 src/decNumber/decNumber.c uInt u=*up; // work up 3280 src/decNumber/decNumber.c up++; up 3281 src/decNumber/decNumber.c u=*up; up 3301 src/decNumber/decNumber.c Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [target pointer] up 3305 src/decNumber/decNumber.c for (; ub<bcd+n; ub++, up--) *up=*ub; up 3309 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu up 3310 src/decNumber/decNumber.c *up=0; // will take <=DECDPUN digits up 3311 src/decNumber/decNumber.c for (; cut>0; ub++, cut--) *up=X10(*up)+*ub; up 3421 src/decNumber/decNumber.c const Unit *up=dn->lsu+D2U(dn->digits)-1; // -> msu [input pointer] up 3451 src/decNumber/decNumber.c for (;up>=dn->lsu; up--) { // each Unit from msu up 3452 src/decNumber/decNumber.c u=*up; // contains DECDPUN digits to lay out up 3491 src/decNumber/decNumber.c u=*up; up 3496 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits (pre>digits) up 3497 src/decNumber/decNumber.c up--; up 3499 src/decNumber/decNumber.c u=*up; up 3507 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits up 3508 src/decNumber/decNumber.c up--; up 3510 src/decNumber/decNumber.c u=*up; up 3523 src/decNumber/decNumber.c if (up==dn->lsu) break; // out of input digits up 3524 src/decNumber/decNumber.c up--; up 3526 src/decNumber/decNumber.c u=*up; up 4462 src/decNumber/decNumber.c Unit *up; // .. up 4481 src/decNumber/decNumber.c for (up=accnext; up<accnext+tarunits; up++) { up 4483 src/decNumber/decNumber.c half=*up & 0x01; up 4484 src/decNumber/decNumber.c *up/=2; // [shift] up 4486 src/decNumber/decNumber.c *(up-1)+=(DECDPUNMAX+1)/2; up 4498 src/decNumber/decNumber.c for (up=quotlsu; ; up++) { up 4500 src/decNumber/decNumber.c if (*up!=DECDPUNMAX) break;// non-nines up 4503 src/decNumber/decNumber.c if (*up==powers[quotdigits]-1) allnines=1; up 4645 src/decNumber/decNumber.c Unit *up; // .. up 4811 src/decNumber/decNumber.c for (lp=zacc, up=acc; lp<zacc+iacc; lp++) { up 4813 src/decNumber/decNumber.c for (p=0; p<FASTDIGS-DECDPUN; p+=DECDPUN, up++) { up 4815 src/decNumber/decNumber.c *up=(Unit)(item-(part*(DECDPUNMAX+1))); up 4818 src/decNumber/decNumber.c *up=(Unit)item; up++; // [final needs no division] up 4820 src/decNumber/decNumber.c accunits=up-acc; // count of units up 6311 src/decNumber/decNumber.c Unit *up; // -> current Unit up 6324 src/decNumber/decNumber.c up=dn->lsu; // -> current Unit up 6328 src/decNumber/decNumber.c uInt quot=QUOT10(*up, cut); up 6329 src/decNumber/decNumber.c if ((*up-quot*powers[cut])!=0) break; // found non-0 digit up 6331 src/decNumber/decNumber.c if (*up%powers[cut]!=0) break; // found non-0 digit up 6343 src/decNumber/decNumber.c up++; up 6454 src/decNumber/decNumber.c Unit *target, *up; // work up 6467 src/decNumber/decNumber.c up=uar+D2U(shift); up 6468 src/decNumber/decNumber.c for (; up<uar+units; target++, up++) *target=*up; up 6473 src/decNumber/decNumber.c up=uar+D2U(shift-cut); // source; correct to whole Units up 6476 src/decNumber/decNumber.c quot=QUOT10(*up, cut); up 6478 src/decNumber/decNumber.c quot=*up/powers[cut]; up 6484 src/decNumber/decNumber.c up++; up 6485 src/decNumber/decNumber.c quot=*up; up 6488 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; up 6605 src/decNumber/decNumber.c const Unit *up; // work up 6617 src/decNumber/decNumber.c up=lsu; up 6618 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) up 6619 src/decNumber/decNumber.c *target=*up; up 6637 src/decNumber/decNumber.c for (up=lsu; count>0; up++, count-=DECDPUN) if (*up!=0) { // found non-0 up 6655 src/decNumber/decNumber.c for (up=lsu;; up++) { up 6658 src/decNumber/decNumber.c if (*up!=0) *residue=1; up 6666 src/decNumber/decNumber.c if (*up>=half) { up 6667 src/decNumber/decNumber.c if (*up>half) *residue=7; up 6671 src/decNumber/decNumber.c if (*up!=0) *residue=3; // [else is 0, leave as sticky bit] up 6680 src/decNumber/decNumber.c up++; // move to next up 6682 src/decNumber/decNumber.c for (target=dn->lsu; count>0; target++, up++, count-=DECDPUN) up 6683 src/decNumber/decNumber.c *target=*up; up 6690 src/decNumber/decNumber.c if (cut==0) quot=*up; // is at bottom of unit up 6693 src/decNumber/decNumber.c quot=QUOT10(*up, cut); up 6694 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; up 6696 src/decNumber/decNumber.c rem=*up%powers[cut]; up 6697 src/decNumber/decNumber.c quot=*up/powers[cut]; up 6730 src/decNumber/decNumber.c up++; up 6731 src/decNumber/decNumber.c quot=*up; up 6734 src/decNumber/decNumber.c rem=*up-quot*powers[cut]; up 6866 src/decNumber/decNumber.c Unit *up; // work up 6868 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { up 6871 src/decNumber/decNumber.c if (*up!=powers[count]-1) break; // not still 9s up 6873 src/decNumber/decNumber.c *up=(Unit)powers[count-1]; // here 999 -> 100 etc. up 6874 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=0; // others all to 0 up 6883 src/decNumber/decNumber.c if (*up!=DECDPUNMAX) break; // not still 9s up 6890 src/decNumber/decNumber.c Unit *up, *sup; // work up 6892 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { up 6895 src/decNumber/decNumber.c if (*up!=powers[count-1]) break; // not 100.. up 6897 src/decNumber/decNumber.c sup=up; // save msu pointer up 6898 src/decNumber/decNumber.c *up=(Unit)powers[count]-1; // here 100 in msu -> 999 up 6900 src/decNumber/decNumber.c for (up=up-1; up>=dn->lsu; up--) *up=(Unit)powers[DECDPUN]-1; up 6921 src/decNumber/decNumber.c if (*up!=0) break; // not still 0s up 7103 src/decNumber/decNumber.c Unit *up; // work up 7107 src/decNumber/decNumber.c for (up=dn->lsu; ; up++) { up 7108 src/decNumber/decNumber.c if (count>DECDPUN) *up=DECDPUNMAX; // unit full o'nines up 7110 src/decNumber/decNumber.c *up=(Unit)(powers[count]-1); up 7246 src/decNumber/decNumber.c const Unit *up; // work up 7261 src/decNumber/decNumber.c up=dn->lsu; // ready for lsu up 7270 src/decNumber/decNumber.c for (; count>=DECDPUN; up++) { up 7271 src/decNumber/decNumber.c if (*up!=0) return BADINT; // non-zero Unit to discard up 7279 src/decNumber/decNumber.c theInt=QUOT10(*up, count); up 7280 src/decNumber/decNumber.c rem=*up-theInt*powers[count]; up 7282 src/decNumber/decNumber.c rem=*up%powers[count]; // slice off discards up 7283 src/decNumber/decNumber.c theInt=*up/powers[count]; up 7288 src/decNumber/decNumber.c up++; // ready for next up 7294 src/decNumber/decNumber.c if (got==0) {theInt=*up; got+=DECDPUN; up++;} // ensure lsu is there up 7299 src/decNumber/decNumber.c for (; got<ilength; up++) { up 7300 src/decNumber/decNumber.c theInt+=*up*powers[got]; up 7304 src/decNumber/decNumber.c if (theInt/(Int)powers[got-DECDPUN]!=(Int)*(up-1)) ilength=11; up 7467 src/decNumber/decNumber.c Unit *up=uar+(len-1); // -> msu up 7473 src/decNumber/decNumber.c for (; up>=uar; up--) { up 7474 src/decNumber/decNumber.c if (*up==0) { // unit is all 0s up 7480 src/decNumber/decNumber.c if (*up<10) break; // is 1-9 up 7483 src/decNumber/decNumber.c if (*up<100) break; // is 10-99 up 7486 src/decNumber/decNumber.c if (*up<1000) break; // is 100-999 up 7489 src/decNumber/decNumber.c for (pow=&powers[4]; *up>=*pow; pow++) digits++; up 102 src/dps8/dps8_decimal.c Unit *up=dn->lsu; // output pointer up 163 src/dps8/dps8_decimal.c *up=(Unit)nib; up 165 src/dps8/dps8_decimal.c *up=(Unit)(*up+nib*DECPOWERS[cut]); up 172 src/dps8/dps8_decimal.c up++; up 224 src/dps8/dps8_decimal.c up 228 src/dps8/dps8_decimal.c up 246 src/dps8/dps8_decimal.c up 247 src/dps8/dps8_decimal.c up 12033 src/dps8/dps8_eis.c up 12037 src/dps8/dps8_eis.c up 12055 src/dps8/dps8_eis.c up 12056 src/dps8/dps8_eis.c up 12159 src/dps8/dps8_eis.c up 12199 src/dps8/dps8_eis.c up 12200 src/dps8/dps8_eis.c up 12205 src/dps8/dps8_eis.c up 899 src/dps8/dps8_iom.c static t_stat iom_action (UNIT *up) up 902 src/dps8/dps8_iom.c uint scu_unit_idx = (uint) (up -> u3); up 903 src/dps8/dps8_iom.c uint iom_unit_idx = (uint) (up -> u4); up 1045 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 1049 src/dps8/dps8_scu.c ctx, up -> exec_intr_mask [0], up -> mask_enable [0], up 1050 src/dps8/dps8_scu.c up -> mask_assignment [0]); up 1053 src/dps8/dps8_scu.c ctx, up -> exec_intr_mask [1], up -> mask_enable [1], up 1054 src/dps8/dps8_scu.c up -> mask_assignment [1]); up 1058 src/dps8/dps8_scu.c up 1066 src/dps8/dps8_scu.c up 1074 src/dps8/dps8_scu.c up 1078 src/dps8/dps8_scu.c up 1079 src/dps8/dps8_scu.c up 1082 src/dps8/dps8_scu.c up 1083 src/dps8/dps8_scu.c up 1087 src/dps8/dps8_scu.c up 1095 src/dps8/dps8_scu.c up 1106 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 1111 src/dps8/dps8_scu.c up -> port_enable [i] = sw -> port_enable [i]; up 1116 src/dps8/dps8_scu.c up -> mask_enable [i] = sw -> mask_enable [i]; up 1117 src/dps8/dps8_scu.c up -> mask_assignment [i] = sw -> mask_assignment [i]; up 1119 src/dps8/dps8_scu.c up -> lower_store_size = sw -> lower_store_size; up 1120 src/dps8/dps8_scu.c up -> cyclic = sw -> cyclic; up 1121 src/dps8/dps8_scu.c up -> nea = sw -> nea; up 1122 src/dps8/dps8_scu.c up -> onl = sw -> onl; up 1123 src/dps8/dps8_scu.c up -> interlace = sw -> interlace; up 1124 src/dps8/dps8_scu.c up -> lwr = sw -> lwr; up 1146 src/dps8/dps8_scu.c up -> exec_intr_mask [i] = 037777777777; up 1644 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 1650 src/dps8/dps8_scu.c up -> mask_enable [maskab] = 0; up 1657 src/dps8/dps8_scu.c up -> mask_enable [maskab] = 1; up 1665 src/dps8/dps8_scu.c up -> mask_assignment [maskab] = (uint) pn; up 1674 src/dps8/dps8_scu.c scu_unit_idx, 'a' + maskab, up->mask_enable[maskab], up 1675 src/dps8/dps8_scu.c up->mask_assignment[maskab]); up 1682 src/dps8/dps8_scu.c up -> lower_store_size = (rega >> 24) & 07; up 1683 src/dps8/dps8_scu.c up -> cyclic = (regq >> 8) & 0177; up 1684 src/dps8/dps8_scu.c up -> nea = (rega >> 6) & 0377; up 1685 src/dps8/dps8_scu.c up -> onl = (rega >> 20) & 017; up 1686 src/dps8/dps8_scu.c up -> interlace = (rega >> 5) & 1; up 1687 src/dps8/dps8_scu.c up -> lwr = (rega >> 4) & 1; up 1688 src/dps8/dps8_scu.c up -> port_enable [0] = (rega >> 3) & 01; up 1689 src/dps8/dps8_scu.c up -> port_enable [1] = (rega >> 2) & 01; up 1690 src/dps8/dps8_scu.c up -> port_enable [2] = (rega >> 1) & 01; up 1691 src/dps8/dps8_scu.c up -> port_enable [3] = (rega >> 0) & 01; up 1692 src/dps8/dps8_scu.c up -> port_enable [4] = (regq >> 3) & 01; up 1693 src/dps8/dps8_scu.c up -> port_enable [5] = (regq >> 2) & 01; up 1694 src/dps8/dps8_scu.c up -> port_enable [6] = (regq >> 1) & 01; up 1695 src/dps8/dps8_scu.c up -> port_enable [7] = (regq >> 0) & 01; up 1944 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 1948 src/dps8/dps8_scu.c if (up -> mask_enable [i]) up 1951 src/dps8/dps8_scu.c up -> mask_assignment [i])) & 0777; up 1991 src/dps8/dps8_scu.c putbits36_3 (& a, 9, (word3) up -> lower_store_size); up 1992 src/dps8/dps8_scu.c putbits36_4 (& a, 12, (word4) up -> onl); // A, A1, B, B1 online up 1995 src/dps8/dps8_scu.c putbits36_8 (& a, 22, (word8) up -> nea); up 1996 src/dps8/dps8_scu.c putbits36_1 (& a, 30, (word1) up -> interlace); up 1997 src/dps8/dps8_scu.c putbits36_1 (& a, 31, (word1) up -> lwr); up 2003 src/dps8/dps8_scu.c putbits36_1 (& a, 32, (word1) up -> port_enable [0]); up 2004 src/dps8/dps8_scu.c putbits36_1 (& a, 33, (word1) up -> port_enable [1]); up 2005 src/dps8/dps8_scu.c putbits36_1 (& a, 34, (word1) up -> port_enable [2]); up 2006 src/dps8/dps8_scu.c putbits36_1 (& a, 35, (word1) up -> port_enable [3]); up 2012 src/dps8/dps8_scu.c putbits36_7 (& q, 57-36, (word7) up -> cyclic & MASK7); up 2015 src/dps8/dps8_scu.c putbits36_1 (& q, 32, (word1) up -> port_enable [4]); up 2016 src/dps8/dps8_scu.c putbits36_1 (& q, 33, (word1) up -> port_enable [5]); up 2017 src/dps8/dps8_scu.c putbits36_1 (& q, 34, (word1) up -> port_enable [6]); up 2018 src/dps8/dps8_scu.c putbits36_1 (& q, 35, (word1) up -> port_enable [7]); up 2036 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 2038 src/dps8/dps8_scu.c if (up -> mask_assignment [0] == port_num) up 2040 src/dps8/dps8_scu.c mask_contents = up -> exec_intr_mask [0]; up 2042 src/dps8/dps8_scu.c else if (up -> mask_assignment [1] == port_num) up 2044 src/dps8/dps8_scu.c mask_contents = up -> exec_intr_mask [1]; up 2050 src/dps8/dps8_scu.c putbits36 (rega, 32, 1, up -> port_enable [0]); up 2051 src/dps8/dps8_scu.c putbits36 (rega, 33, 1, up -> port_enable [1]); up 2052 src/dps8/dps8_scu.c putbits36 (rega, 34, 1, up -> port_enable [2]); up 2053 src/dps8/dps8_scu.c putbits36 (rega, 35, 1, up -> port_enable [3]); up 2057 src/dps8/dps8_scu.c putbits36 (regq, 32, 1, up -> port_enable [4]); up 2058 src/dps8/dps8_scu.c putbits36 (regq, 33, 1, up -> port_enable [5]); up 2059 src/dps8/dps8_scu.c putbits36 (regq, 34, 1, up -> port_enable [6]); up 2060 src/dps8/dps8_scu.c putbits36 (regq, 35, 1, up -> port_enable [7]); up 2067 src/dps8/dps8_scu.c scu_unit_idx, port_num, up -> mask_assignment [0], up 2068 src/dps8/dps8_scu.c up -> mask_assignment [1], up 2078 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 2083 src/dps8/dps8_scu.c word1 cell = up -> cells [i] ? 1 : 0; up 2471 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 2526 src/dps8/dps8_scu.c if (up -> mask_assignment [0] == (uint) scu_port_num) up 2528 src/dps8/dps8_scu.c mask_contents = up -> exec_intr_mask [0]; up 2532 src/dps8/dps8_scu.c else if (up -> mask_assignment [1] == (uint) scu_port_num) up 2534 src/dps8/dps8_scu.c mask_contents = up -> exec_intr_mask [1]; up 2542 src/dps8/dps8_scu.c putbits36_1 (rega, 32, (word1) up -> port_enable [0]); up 2543 src/dps8/dps8_scu.c putbits36_1 (rega, 33, (word1) up -> port_enable [1]); up 2544 src/dps8/dps8_scu.c putbits36_1 (rega, 34, (word1) up -> port_enable [2]); up 2545 src/dps8/dps8_scu.c putbits36_1 (rega, 35, (word1) up -> port_enable [3]); up 2549 src/dps8/dps8_scu.c putbits36_1 (regq, 32, (word1) up -> port_enable [4]); up 2550 src/dps8/dps8_scu.c putbits36_1 (regq, 33, (word1) up -> port_enable [5]); up 2551 src/dps8/dps8_scu.c putbits36_1 (regq, 34, (word1) up -> port_enable [6]); up 2552 src/dps8/dps8_scu.c putbits36_1 (regq, 35, (word1) up -> port_enable [7]); up 2570 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; up 2617 src/dps8/dps8_scu.c if (up -> mask_assignment [0] == (uint) scu_port_num) up 2619 src/dps8/dps8_scu.c up -> exec_intr_mask [0] = imask; up 2623 src/dps8/dps8_scu.c else if (up -> mask_assignment [1] == (uint) scu_port_num) up 2625 src/dps8/dps8_scu.c up -> exec_intr_mask [1] = imask; up 3946 src/simh/scp.c UNIT *up; up 3962 src/simh/scp.c up = (dptr->units) + i; /* att or active? */ up 3963 src/simh/scp.c if ((up->flags & UNIT_ATT) || sim_is_active (up)) up 337 src/simh/sim_defs.h t_stat (*examine)(t_value *v, t_addr a, UNIT *up, up 339 src/simh/sim_defs.h t_stat (*deposit)(t_value v, t_addr a, UNIT *up, up 344 src/simh/sim_defs.h t_stat (*attach)(UNIT *up, CONST char *cp); up 346 src/simh/sim_defs.h t_stat (*detach)(UNIT *up); /* detach routine */ up 351 src/simh/sim_defs.h t_stat (*msize)(UNIT *up, int32 v, CONST char *cp, void *dp); up 414 src/simh/sim_defs.h t_stat (*action)(UNIT *up); /* action routine */ up 424 src/simh/sim_defs.h void (*io_flush)(UNIT *up); /* io flush routine */ up 555 src/simh/sim_defs.h t_stat (*valid)(UNIT *up, int32 v, CONST char *cp, void *dp); up 557 src/simh/sim_defs.h t_stat (*disp)(FILE *st, UNIT *up, int32 v, CONST void *dp);