Lines Matching full:bcd
2537 /* start: 00a bcd efg hij klm npq */
3479 /* bcd is the uInt array that will receive dn->digits BCD bytes, */
3481 /* returns bcd */
3483 /* bcd must have at least dn->digits bytes. No error is possible; if */
3486 U_CAPI uByte * U_EXPORT2 uprv_decNumberGetBCD(const decNumber *dn, uByte *bcd) {
3487 uByte *ub=bcd+dn->digits-1; /* -> lsd */
3491 for (; ub>=bcd; ub--, up++) *ub=*up;
3495 for (; ub>=bcd; ub--) {
3505 return bcd;
3511 /* bcd is the uInt array that will source n BCD bytes, most- */
3513 /* n is the number of digits in the source BCD array (bcd) */
3518 /* and bcd[0] zero. */
3520 U_CAPI decNumber * U_EXPORT2 uprv_decNumberSetBCD(decNumber *dn, const uByte *bcd, uInt n) {
3522 const uByte *ub=bcd; /* -> source msd */
3525 for (; ub<bcd+n; ub++, up--) *up=*ub;