d 266 src/decNumber/decNumber.c # define decFinish(a,b,c,d) decFinalize(a,b,c,d) d 329 src/decNumber/decNumber.c Int d; // work d 340 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; d 362 src/decNumber/decNumber.c Int d; // work d 373 src/decNumber/decNumber.c for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; d 435 src/decNumber/decNumber.c Int d=0; // count of digits found in decimal part d 451 src/decNumber/decNumber.c d++; // count of real digits d 508 src/decNumber/decNumber.c for (c=cfirst;; c++, d++) { d 513 src/decNumber/decNumber.c if (d>set->digits-1) { d 517 src/decNumber/decNumber.c if (d>set->digits) break; d 566 src/decNumber/decNumber.c d--; // 0 stripped d 584 src/decNumber/decNumber.c if (d<=set->digits) res=dn->lsu; // fits into supplied decNumber d 586 src/decNumber/decNumber.c Int needbytes=D2U(d)*sizeof(Unit);// bytes needed d 600 src/decNumber/decNumber.c up=res+D2U(d)-1; // -> msu d 601 src/decNumber/decNumber.c cut=d-(up-res)*DECDPUN; // digits in top unit d 627 src/decNumber/decNumber.c dn->digits=d; d 630 src/decNumber/decNumber.c if (d>set->digits) { d 632 src/decNumber/decNumber.c decSetCoeff(dn, set, res, d, &residue, &status); d 3188 src/decNumber/decNumber.c Unit *d; // .. d 3191 src/decNumber/decNumber.c d=dest->lsu+1; // -> first destination d 3193 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; d 5008 src/decNumber/decNumber.c decNumber *d=bufd; // divisor d 5040 src/decNumber/decNumber.c decNumberZero(d); // clean d 5041 src/decNumber/decNumber.c *d->lsu=4; // set 4 .. d 5042 src/decNumber/decNumber.c d->exponent=-set->digits; // * 10**(-d) d 5043 src/decNumber/decNumber.c if (decNumberIsNegative(rhs)) d->exponent--; // negative case d 5044 src/decNumber/decNumber.c comp=decCompare(d, rhs, 1); // signless compare d 5160 src/decNumber/decNumber.c decNumberZero(d); *d->lsu=2; // divisor=2 d 5179 src/decNumber/decNumber.c decDivideOp(t, t, d, &tset, DIVIDE, &ignore); // t=t/d d 5186 src/decNumber/decNumber.c decAddOp(d, d, &numone, &dset, 0, &ignore); // d=d+1 d 6309 src/decNumber/decNumber.c Int d, exp; // work d 6325 src/decNumber/decNumber.c for (d=0; d<dn->digits-1; d++) { // [don't strip the final digit] d 6347 src/decNumber/decNumber.c if (d==0) return dn; // none to drop d 6353 src/decNumber/decNumber.c if (d>maxd) d=maxd; d 6357 src/decNumber/decNumber.c decShiftToLeast(dn->lsu, D2U(dn->digits), d); d 6358 src/decNumber/decNumber.c dn->exponent+=d; // maintain numerical value d 6359 src/decNumber/decNumber.c dn->digits-=d; // new length d 6360 src/decNumber/decNumber.c *dropped=d; // report the count d 288 src/decNumber/decNumberLocal.h # define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) d 290 src/decNumber/decNumberLocal.h # define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) d 292 src/decNumber/decNumberLocal.h # define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) d 295 src/decNumber/decNumberLocal.h # define SD2U(d) (((d)+DECDPUN-1)/DECDPUN) d 299 src/decNumber/decNumberLocal.h # define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN) d 306 src/decNumber/decNumberLocal.h # define D2N(d) \ d 307 src/decNumber/decNumberLocal.h ((((SD2U(d)-1)*sizeof(Unit))+sizeof(decNumber)*2-1)/sizeof(decNumber)) d 470 src/dps8/dps8_cpu.c word36 d = 0123000000000; d 471 src/dps8/dps8_cpu.c putbits36_6 (& d, 9, (word4) d1); d 472 src/dps8/dps8_cpu.c putbits36_6 (& d, 15, (word4) d2); d 473 src/dps8/dps8_cpu.c putbits36_6 (& d, 21, (word4) d3); d 474 src/dps8/dps8_cpu.c putbits36_6 (& d, 27, (word4) d4); d 475 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = d; d 1976 src/dps8/dps8_cpu.h static inline void trackport (word24 a, word36 d) d 1982 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 3075 src/dps8/dps8_iom.c struct iom_to_ctlr_s * d = & cables->iom_to_ctlr[iomUnitIdx][chan]; d 3080 src/dps8/dps8_iom.c if (d->chan_type != chan_type_CPI && p -> IDCW_DEV_CMD == 051) { d 3086 src/dps8/dps8_iom.c if ((!d->in_use) || (!d->iom_cmd)) { d 3114 src/dps8/dps8_iom.c int rc = d->iom_cmd (iomUnitIdx, chan); d 3207 src/dps8/dps8_iom.c rc2 = d->iom_cmd (iomUnitIdx, chan); d 4618 src/dps8/dps8_sys.c char *d = disassemble(buf, word1); d 4620 src/dps8/dps8_sys.c fprintf(ofile, "%s", d); d 85 src/dps8/hdbg.h # define HDBGMRead(a, d, c) hdbgMRead (a, d, c) d 86 src/dps8/hdbg.h # define HDBGMWrite(a, d, c) hdbgMWrite (a, d, c) d 88 src/dps8/hdbg.h # define HDBGAPURead(s, o, f, d, c) hdbgAPURead (s, o, f, d, c) d 89 src/dps8/hdbg.h # define HDBGAPUWrite(s, o, f, d, c) hdbgAPUWrite (s, o, f, d, c) d 209 src/dps8/libtelnet.c #define _sendu(t, d, s) _send((t), (const char*)(d), (s)) d 100 src/dps8/utarray.h char *d; /* n slots of size icd->sz */ d 116 src/dps8/utarray.h FREE((a)->d); \ d 134 src/dps8/utarray.h if ( ((a)->d=(char*)realloc((a)->d, (a)->n*(a)->icd.sz)) == NULL) oom(); \ d 159 src/dps8/utarray.h # define _utarray_eltptr(a,j) ((char*)((a)->d + ((a)->icd.sz*(j) ))) d 251 src/dps8/utarray.h qsort((a)->d, (a)->i, (a)->icd.sz, cmp); \ d 254 src/dps8/utarray.h # define utarray_find(a,v,cmp) bsearch((v),(a)->d,(a)->i,(a)->icd.sz,cmp) d 259 src/dps8/utarray.h # define utarray_eltidx(a,e) (((char*)(e) >= (char*)((a)->d)) ? (((char*)(e) - (char*)((a)->d))/(ssize_t)(a)->icd.sz) : -1) d 520 src/dps8/uthash.h # define get16bits(d) (*((const uint16_t *) (d))) d 524 src/dps8/uthash.h # define get16bits(d) ((((uint32_t)(((const uint8_t *)(d))[1])) << 8) \ d 525 src/dps8/uthash.h +(uint32_t)(((const uint8_t *)(d))[0]) ) d 918 src/simh/linehistory.c char d = ( maskmode == 1 ) ? '*' : (char)c; d 919 src/simh/linehistory.c if (write(l->ofd, &d, 1) == -1) d 5654 src/simh/scp.c DEVICE *d = find_dev_from_unit(uptr); d 5657 src/simh/scp.c if (!d) d 5659 src/simh/scp.c if (d->numunits == 1) d 5660 src/simh/scp.c return sim_dname (d); d 5661 src/simh/scp.c sprintf (uname, "%s%d", sim_dname (d), (int)(uptr-d->units)); d 7955 src/simh/scp.c int32 d, digit, ndigits, commas = 0; d 7958 src/simh/scp.c for (d = 0; d < MAX_WIDTH; d++) d 7959 src/simh/scp.c dbuf[d] = (format == PV_RZRO)? '0': ' '; d 7961 src/simh/scp.c d = MAX_WIDTH; d 7963 src/simh/scp.c d = d - 1; d 7966 src/simh/scp.c dbuf[d] = (char)((digit <= 9)? '0' + digit: 'A' + (digit - 10)); d 7967 src/simh/scp.c } while ((d > 0) && (val != 0)); d 7982 src/simh/scp.c d = d - commas; d 7991 src/simh/scp.c d = MAX_WIDTH - width; d 8002 src/simh/scp.c if ((MAX_WIDTH - (ndigits + commas)) < d) d 8003 src/simh/scp.c d = MAX_WIDTH - (ndigits + commas); d 8007 src/simh/scp.c return strlen(dbuf+d); d 8009 src/simh/scp.c if (width < strlen(dbuf+d)) d 8011 src/simh/scp.c strcpy(buffer, dbuf+d); d 665 src/simh/sim_defs.h # define DEBUG_PRS(d) (sim_deb && d.dctrl) d 666 src/simh/sim_defs.h # define DEBUG_PRD(d) (sim_deb && d->dctrl) d 667 src/simh/sim_defs.h # define DEBUG_PRI(d,m) (sim_deb && (d.dctrl & (m))) d 668 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)