bcd 3250 src/decNumber/decNumber.c uByte * decNumberGetBCD(const decNumber *dn, uByte *bcd) { bcd 3251 src/decNumber/decNumber.c uByte *ub=bcd+dn->digits-1; // -> lsd bcd 3255 src/decNumber/decNumber.c for (; ub>=bcd; ub--, up++) *ub=*up; bcd 3259 src/decNumber/decNumber.c for (; ub>=bcd; ub--) { bcd 3269 src/decNumber/decNumber.c return bcd; bcd 3284 src/decNumber/decNumber.c decNumber * decNumberSetBCD(decNumber *dn, const uByte *bcd, uInt n) { bcd 3286 src/decNumber/decNumber.c const uByte *ub=bcd; // -> source msd bcd 3289 src/decNumber/decNumber.c for (; ub<bcd+n; ub++, up--) *up=*ub; bcd 533 src/decNumber/decNumberLocal.h # define GETCOEFF(df, bcd) { \ bcd 535 src/decNumber/decNumberLocal.h *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \ bcd 536 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+1, sourhi>>10); \ bcd 537 src/decNumber/decNumberLocal.h dpd2bcd83(bcd+4, sourhi);} bcd 538 src/decNumber/decNumberLocal.h # define GETWCOEFF(df, bcd) { \ bcd 541 src/decNumber/decNumberLocal.h *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \ bcd 542 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+1, sourhi>>8); \ bcd 543 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \ bcd 544 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+7, sourlo>>20); \ bcd 545 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+10, sourlo>>10); \ bcd 546 src/decNumber/decNumberLocal.h dpd2bcd83(bcd+13, sourlo);} bcd 549 src/decNumber/decNumberLocal.h # define GETCOEFF(df, bcd) { \ bcd 552 src/decNumber/decNumberLocal.h *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \ bcd 553 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+1, sourhi>>8); \ bcd 554 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+4, (sourhi<<2) | (sourlo>>30)); \ bcd 555 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+7, sourlo>>20); \ bcd 556 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+10, sourlo>>10); \ bcd 557 src/decNumber/decNumberLocal.h dpd2bcd83(bcd+13, sourlo);} bcd 558 src/decNumber/decNumberLocal.h # define GETWCOEFF(df, bcd) { \ bcd 563 src/decNumber/decNumberLocal.h *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \ bcd 564 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+1, sourhi>>4); \ bcd 565 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+4, ((sourhi)<<6) | (sourmh>>26)); \ bcd 566 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+7, sourmh>>16); \ bcd 567 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+10, sourmh>>6); \ bcd 568 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+13, ((sourmh)<<4) | (sourml>>28)); \ bcd 569 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+16, sourml>>18); \ bcd 570 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+19, sourml>>8); \ bcd 571 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+22, ((sourml)<<2) | (sourlo>>30)); \ bcd 572 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+25, sourlo>>20); \ bcd 573 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+28, sourlo>>10); \ bcd 574 src/decNumber/decNumberLocal.h dpd2bcd83(bcd+31, sourlo);} bcd 577 src/decNumber/decNumberLocal.h # define GETCOEFF(df, bcd) { \ bcd 582 src/decNumber/decNumberLocal.h *(bcd)=(uByte)DECCOMBMSD[sourhi>>26]; \ bcd 583 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+1, sourhi>>4); \ bcd 584 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+4, ((sourhi)<<6) | (sourmh>>26)); \ bcd 585 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+7, sourmh>>16); \ bcd 586 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+10, sourmh>>6); \ bcd 587 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+13, ((sourmh)<<4) | (sourml>>28)); \ bcd 588 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+16, sourml>>18); \ bcd 589 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+19, sourml>>8); \ bcd 590 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+22, ((sourml)<<2) | (sourlo>>30)); \ bcd 591 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+25, sourlo>>20); \ bcd 592 src/decNumber/decNumberLocal.h dpd2bcd8(bcd+28, sourlo>>10); \ bcd 593 src/decNumber/decNumberLocal.h dpd2bcd83(bcd+31, sourlo);} bcd 595 src/decNumber/decNumberLocal.h # define GETWCOEFF(df, bcd) {??} /* [should never be used] */ bcd 321 src/dps8/dps8_console.c bool bcd; bcd 727 src/dps8/dps8_console.c if (csp->bcd) bcd 740 src/dps8/dps8_console.c if ((!csp->bcd) && csp->noempty && n_chars == 0 && tally) bcd 752 src/dps8/dps8_console.c if (csp->bcd) bcd 1328 src/dps8/dps8_console.c csp->bcd = true; bcd 1335 src/dps8/dps8_console.c csp->bcd = true; bcd 1346 src/dps8/dps8_console.c csp->bcd = false; bcd 1353 src/dps8/dps8_console.c csp->bcd = false; bcd 1385 src/dps8/dps8_console.c csp->bcd = false; bcd 1518 src/dps8/dps8_console.c bcd 1548 src/dps8/dps8_console.c if (csp->bcd) { bcd 97 src/dps8/dps8_decimal.c decNumber * decBCD9ToNumber(const word9 *bcd, Int length, const Int scale, decNumber *dn) bcd 99 src/dps8/dps8_decimal.c const word9 *last=bcd+length-1; // -> last byte bcd 117 src/dps8/dps8_decimal.c for (first=bcd; *first==0 && first <= last;) bcd 155 src/dps8/dps8_decimal.c for (;last >= bcd;) // forever bcd 222 src/dps8/dps8_decimal.c bcd 243 src/dps8/dps8_decimal.c bcd 244 src/dps8/dps8_decimal.c bcd 285 src/dps8/dps8_decimal.c bcd 288 src/dps8/dps8_decimal.c bcd 290 src/dps8/dps8_decimal.c bcd 293 src/dps8/dps8_decimal.c bcd 295 src/dps8/dps8_decimal.c bcd 297 src/dps8/dps8_decimal.c bcd 305 src/dps8/dps8_decimal.c bcd 431 src/dps8/dps8_decimal.c bcd 475 src/dps8/dps8_decimal.c bcd 479 src/dps8/dps8_decimal.c bcd 860 src/dps8/dps8_decimal.c bcd 863 src/dps8/dps8_decimal.c bcd 45 src/dps8/dps8_decimal.h decNumber * decBCD9ToNumber(const word9 *bcd, Int length, const Int scale, decNumber *dn); bcd 12147 src/dps8/dps8_eis.c bcd 12168 src/dps8/dps8_eis.c bcd 12169 src/dps8/dps8_eis.c bcd 12210 src/dps8/dps8_eis.c bcd 12215 src/dps8/dps8_eis.c bcd 12216 src/dps8/dps8_eis.c bcd 12219 src/dps8/dps8_eis.c bcd 12221 src/dps8/dps8_eis.c bcd 12223 src/dps8/dps8_eis.c bcd 12228 src/dps8/dps8_eis.c bcd 12229 src/dps8/dps8_eis.c bcd 12232 src/dps8/dps8_eis.c bcd 12234 src/dps8/dps8_eis.c bcd 12236 src/dps8/dps8_eis.c bcd 12239 src/dps8/dps8_eis.c bcd 12242 src/dps8/dps8_eis.c bcd 12271 src/dps8/dps8_eis.c bcd 12273 src/dps8/dps8_eis.c bcd 12281 src/dps8/dps8_eis.c bcd 12287 src/dps8/dps8_eis.c bcd 12311 src/dps8/dps8_eis.c bcd 662 src/dps8/dps8_prt.c static char * bcd = bcd 694 src/dps8/dps8_prt.c bcd 703 src/dps8/dps8_prt.c bcd 763 src/dps8/dps8_prt.c char * table[3] = { bcd, bcd_lc, bcd_uc };