Home | History | Annotate | Download | only in cintltst

Lines Matching defs:unum

28 #include "unicode/unum.h"
957 UNumberFormat* unum = unum_open( UNUM_DECIMAL /*or UNUM_DEFAULT*/, NULL, -1, NULL, NULL, &errorCode);
959 UNumberFormat* unum = unum_open( UNUM_PATTERN_DECIMAL /*needs pattern*/, pat, -1, NULL, NULL, &errorCode);
962 dbl = unum_parseDouble( unum, input, -1 /*u_strlen(input)*/, 0 /* 0 = start */, &errorCode );
968 unum_close(unum);
1029 UNumberFormat* unum;
1037 unum = unum_open(UNUM_CURRENCY, NULL, 0, itemPtr->locale, NULL, &status);
1041 parseVal = unum_parseDouble(unum, itemPtr->currStr, -1, &parsePos, &status);
1051 parseVal = unum_parseDoubleCurrency(unum, itemPtr->currStr, -1, &parsePos, parseCurr, &status);
1060 unum_close(unum);
1069 unum = unum_open(UNUM_CURRENCY_PLURAL, NULL, 0, itemPtr->locale, NULL, &status);
1073 parseVal = unum_parseDouble(unum, itemPtr->plurStr, -1, &parsePos, &status);
1083 parseVal = unum_parseDoubleCurrency(unum, itemPtr->plurStr, -1, &parsePos, parseCurr, &status);
1092 unum_close(unum);