Home | History | Annotate | Download | only in i18n

Lines Matching refs:dpd

95   extern const uShort DPD2BIN[1024];    /* DPD -> 0-999               */
96 extern const uShort BIN2DPD[1000]; /* 0-999 -> DPD */
97 extern const uInt DPD2BINK[1024]; /* DPD -> 0-999000 */
98 extern const uInt DPD2BINM[1024]; /* DPD -> 0-999000000 */
99 extern const uByte DPD2BCD8[4096]; /* DPD -> ddd + len */
101 extern const uShort BCD2DPD[2458]; /* 0-0x999 -> DPD (0x999=2457)*/
404 #define CANONDPD(dpd) (((dpd)&0x300)==0 || ((dpd)&0x6e)!=0x6e)
406 #define CANONDPDOFF(dpd, k) (((dpd)&(0x300<<(k)))==0 \
407 || ((dpd)&(((uInt)0x6e)<<(k)))!=(((uInt)0x6e)<<(k)))
464 /* dpd to three BCD8 digits starting at uByte u. Note that an */
468 #define dpd2bcd8(u, dpd) memcpy(u, &DPD2BCD8[((dpd)&0x3ff)*4], 4)
469 #define dpd2bcd83(u, dpd) memcpy(u, &DPD2BCD8[((dpd)&0x3ff)*4], 3)
473 /* decode). Each DPD decode is 3 bytes BCD8 plus a one-byte */
557 /* the usual DPD to binary, the other two pre-multiplied by 1000 */
559 /* tables can also be used for multiplying up the MSD as the DPD */