Lines Matching defs:bcd
2509 /* start: 00a bcd efg hij klm npq */
3444 /* bcd is the uInt array that will receive dn->digits BCD bytes, */
3446 /* returns bcd */
3448 /* bcd must have at least dn->digits bytes. No error is possible; if */
3451 uByte * decNumberGetBCD(const decNumber *dn, uByte *bcd) {
3452 uByte *ub=bcd+dn->digits-1; /* -> lsd */
3456 for (; ub>=bcd; ub--, up++) *ub=*up;
3460 for (; ub>=bcd; ub--) {
3470 return bcd;
3476 /* bcd is the uInt array that will source n BCD bytes, most- */
3478 /* n is the number of digits in the source BCD array (bcd) */
3483 /* and bcd[0] zero. */
3485 decNumber * decNumberSetBCD(decNumber *dn, const uByte *bcd, uInt n) {
3487 const uByte *ub=bcd; /* -> source msd */
3490 for (; ub<bcd+n; ub++, up--) *up=*ub;