d 251 src/decNumber/decNumber.c # define decFinish(a,b,c,d) decFinalize(a,b,c,d) d 314 src/decNumber/decNumber.c Int d; // work d 325 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; d 347 src/decNumber/decNumber.c Int d; // work d 358 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; d 420 src/decNumber/decNumber.c Int d=0; // count of digits found in decimal part d 436 src/decNumber/decNumber.c d++; // count of real digits d 493 src/decNumber/decNumber.c for (c=cfirst;; c++, d++) { d 498 src/decNumber/decNumber.c if (d>set->digits-1) { d 502 src/decNumber/decNumber.c if (d>set->digits) break; d 551 src/decNumber/decNumber.c d--; // 0 stripped d 569 src/decNumber/decNumber.c if (d<=set->digits) res=dn->lsu; // fits into supplied decNumber d 571 src/decNumber/decNumber.c Int needbytes=D2U(d)*sizeof(Unit);// bytes needed d 585 src/decNumber/decNumber.c up=res+D2U(d)-1; // -> msu d 586 src/decNumber/decNumber.c cut=d-(up-res)*DECDPUN; // digits in top unit d 612 src/decNumber/decNumber.c dn->digits=d; d 615 src/decNumber/decNumber.c if (d>set->digits) { d 617 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); d 3172 src/decNumber/decNumber.c Unit *d; // .. d 3175 src/decNumber/decNumber.c d=dest->lsu+1; // -> first destination d 3177 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; d 4988 src/decNumber/decNumber.c decNumber *d=bufd; // divisor d 5020 src/decNumber/decNumber.c decNumberZero(d); // clean d 5021 src/decNumber/decNumber.c *d->lsu=4; // set 4 .. d 5022 src/decNumber/decNumber.c d->exponent=-set->digits; // * 10**(-d) d 5023 src/decNumber/decNumber.c if (decNumberIsNegative(rhs)) d->exponent--; // negative case d 5024 src/decNumber/decNumber.c comp=decCompare(d, rhs, 1); // signless compare d 5140 src/decNumber/decNumber.c decNumberZero(d); *d->lsu=2; // divisor=2 d 5159 src/decNumber/decNumber.c decDivideOp(t, t, d, &tset, DIVIDE, &ignore); // t=t/d d 5166 src/decNumber/decNumber.c decAddOp(d, d, &numone, &dset, 0, &ignore); // d=d+1 d 6289 src/decNumber/decNumber.c Int d, exp; // work d 6305 src/decNumber/decNumber.c for (d=0; d<dn->digits-1; d++) { // [don't strip the final digit] d 6327 src/decNumber/decNumber.c if (d==0) return dn; // none to drop d 6333 src/decNumber/decNumber.c if (d>maxd) d=maxd; d 6337 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); d 6338 src/decNumber/decNumber.c dn->exponent+=d; // maintain numerical value d 6339 src/decNumber/decNumber.c dn->digits-=d; // new length d 6340 src/decNumber/decNumber.c *dropped=d; // report the count d 290 src/decNumber/decNumberLocal.h # define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) d 292 src/decNumber/decNumberLocal.h # define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) d 294 src/decNumber/decNumberLocal.h # define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) d 297 src/decNumber/decNumberLocal.h # define SD2U(d) (((d)+DECDPUN-1)/DECDPUN) d 301 src/decNumber/decNumberLocal.h # define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN) d 308 src/decNumber/decNumberLocal.h # define D2N(d) \ d 309 src/decNumber/decNumberLocal.h ((((SD2U(d)-1)*sizeof(Unit))+sizeof(decNumber)*2-1)/sizeof(decNumber)) d 506 src/dps8/dps8_cpu.c word36 d = 0123000000000; d 507 src/dps8/dps8_cpu.c putbits36_6 (& d, 9, (word4) d1); d 508 src/dps8/dps8_cpu.c putbits36_6 (& d, 15, (word4) d2); d 509 src/dps8/dps8_cpu.c putbits36_6 (& d, 21, (word4) d3); d 510 src/dps8/dps8_cpu.c putbits36_6 (& d, 27, (word4) d4); d 511 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = d; d 2013 src/dps8/dps8_cpu.h static inline void trackport (word24 a, word36 d) d 2020 src/dps8/dps8_cpu.h cpu.portData [port] = d; d 441 src/dps8/dps8_dia.c struct device * d = & cables->cablesFromIomToDev[iom_unit_idx]. d 443 src/dps8/dps8_dia.c uint dev_unit_idx = d->devUnitIdx; d 508 src/dps8/dps8_dia.c struct device * d = & cables->cablesFromIomToDev[iom_unit_idx]. d 510 src/dps8/dps8_dia.c uint dev_unit_idx = d->devUnitIdx; d 3095 src/dps8/dps8_iom.c struct iom_to_ctlr_s * d = & cables->iom_to_ctlr[iomUnitIdx][chan]; d 3100 src/dps8/dps8_iom.c if (d->chan_type != chan_type_CPI && p -> IDCW_DEV_CMD == 051) { d 3106 src/dps8/dps8_iom.c if ((!d->in_use) || (!d->iom_cmd)) { d 3135 src/dps8/dps8_iom.c int rc = d->iom_cmd (iomUnitIdx, chan); d 3232 src/dps8/dps8_iom.c rc2 = d->iom_cmd (iomUnitIdx, chan); d 4749 src/dps8/dps8_sys.c char *d = disassemble(buf, word1); d 4751 src/dps8/dps8_sys.c (void)fprintf(ofile, "%s", d); d 75 src/dps8/hdbg.h # define HDBGMRead(a, d, c) hdbgMRead (a, d, c) d 76 src/dps8/hdbg.h # define HDBGMWrite(a, d, c) hdbgMWrite (a, d, c) d 78 src/dps8/hdbg.h # define HDBGAPURead(s, o, f, d, c) hdbgAPURead (s, o, f, d, c) d 79 src/dps8/hdbg.h # define HDBGAPUWrite(s, o, f, d, c) hdbgAPUWrite (s, o, f, d, c) d 196 src/dps8/libtelnet.c #define _sendu(t, d, s) _send((t), (const char*)(d), (s)) d 926 src/simh/linehistory.c char d = ( maskmode == 1 ) ? '*' : (char)c; d 927 src/simh/linehistory.c if (write(l->ofd, &d, 1) == -1) d 6278 src/simh/scp.c DEVICE *d = find_dev_from_unit(uptr); d 6281 src/simh/scp.c if (!d) d 6283 src/simh/scp.c if (d->numunits == 1) d 6284 src/simh/scp.c return sim_dname (d); d 6285 src/simh/scp.c (void)sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); d 8588 src/simh/scp.c size_t d; d 8594 src/simh/scp.c for (d = 0; d < MAX_WIDTH; d++) d 8595 src/simh/scp.c dbuf[d] = (format == PV_RZRO)? '0': ' '; d 8597 src/simh/scp.c d = MAX_WIDTH; d 8599 src/simh/scp.c d = d - 1; d 8602 src/simh/scp.c dbuf[d] = (char)((digit <= 9)? '0' + digit: 'A' + (digit - 10)); d 8603 src/simh/scp.c } while ((d > 0) && (val != 0)); d 8616 src/simh/scp.c if ((MAX_WIDTH - (ndigits + commas)) < d) d 8617 src/simh/scp.c d = MAX_WIDTH - (ndigits + commas); d 8621 src/simh/scp.c return ((t_stat) strlen(dbuf+d)); /* sizeof(t_stat) < sizeof(size_t) */ d 8623 src/simh/scp.c if (width < strlen(dbuf+d)) d 8625 src/simh/scp.c strcpy(buffer, dbuf+d); d 677 src/simh/sim_defs.h # define DEBUG_PRS(d) (sim_deb && d.dctrl) d 678 src/simh/sim_defs.h # define DEBUG_PRD(d) (sim_deb && d->dctrl) d 679 src/simh/sim_defs.h # define DEBUG_PRI(d,m) (sim_deb && (d.dctrl & (m))) d 680 src/simh/sim_defs.h # define DEBUG_PRJ(d,m) (sim_deb && ((d)->dctrl & (m))) d 43 src/simh/sim_fio.h # define fxread(a,b,c,d) sim_fread (a, b, c, d) d 44 src/simh/sim_fio.h # define fxwrite(a,b,c,d) sim_fwrite (a, b, c, d)