Lines Matching defs:bcd
47 /* bcd is the BCD bytes */
51 /* returns bcd, or NULL if error */
54 /* right aligned in the bcd array, whose length is indicated by the */
66 /* returned and the bcd and scale results are unchanged. Otherwise */
67 /* bcd is returned. */
69 uByte * decPackedFromNumber(uByte *bcd, Int length, Int *scale,
89 out=bcd+length-1; /* -> final byte */
90 for (; out>=bcd; out--) {
130 return bcd;
136 /* bcd is the BCD bytes */
157 decNumber * decPackedToNumber(const uByte *bcd, Int length,
159 const uByte *last=bcd+length-1; /* -> last byte */
167 last=&bcd[length-1];
173 for (first=bcd; *first==0;) first++;