Searched defs:D2U (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
H A DdecNumberLocal.h165 /* digits, and D2UTABLE -- the initializer for the D2U table */
217 /* Public lookup table used by the D2U macro (see below) */
226 /* D2U -- return the number of Units needed to hold d digits */
229 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) macro
231 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) macro
233 #define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) macro
235 /* SD2U -- static D2U macro (for compile-time calculation) */
239 /* using D2U */
240 #define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)
/external/icu/icu4c/source/i18n/
H A DdecNumberLocal.h165 /* digits, and D2UTABLE -- the initializer for the D2U table */
217 /* Public lookup table used by the D2U macro (see below) */
226 /* D2U -- return the number of Units needed to hold d digits */
229 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+7)>>3)) macro
231 #define D2U(d) ((unsigned)((d)<=DECMAXD2U?d2utable[d]:((d)+3)>>2)) macro
233 #define D2U(d) ((d)<=DECMAXD2U?d2utable[d]:((d)+DECDPUN-1)/DECDPUN) macro
235 /* SD2U -- static D2U macro (for compile-time calculation) */
239 /* using D2U */
240 #define MSUDIGITS(d) ((d)-(D2U(d)-1)*DECDPUN)

Completed in 2200 milliseconds