Lines Matching refs:unf
3334 UNumberFormat* unf = unum_open(itemPtr->style, NULL, 0, itemPtr->locale, NULL, &status); in TestSetMaxFracAndRoundIncr() local
3340 unum_setAttribute(unf, UNUM_MIN_INTEGER_DIGITS, itemPtr->minInt); in TestSetMaxFracAndRoundIncr()
3341 unum_setAttribute(unf, UNUM_MIN_FRACTION_DIGITS, itemPtr->minFrac); in TestSetMaxFracAndRoundIncr()
3342 unum_setAttribute(unf, UNUM_MAX_FRACTION_DIGITS, itemPtr->maxFrac); in TestSetMaxFracAndRoundIncr()
3343 unum_setDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT, itemPtr->roundIncr); in TestSetMaxFracAndRoundIncr()
3347 int32_t minInt = unum_getAttribute(unf, UNUM_MIN_INTEGER_DIGITS); in TestSetMaxFracAndRoundIncr()
3352 int32_t minFrac = unum_getAttribute(unf, UNUM_MIN_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr()
3358 int32_t maxFrac = unum_getAttribute(unf, UNUM_MAX_FRACTION_DIGITS); in TestSetMaxFracAndRoundIncr()
3365 double roundIncr = unum_getDoubleAttribute(unf, UNUM_ROUNDING_INCREMENT); in TestSetMaxFracAndRoundIncr()
3374 ulen = unum_toPattern(unf, FALSE, ubuf, kUBufMax, &status); in TestSetMaxFracAndRoundIncr()
3385 ulen = unum_formatDouble(unf, itemPtr->valueToFmt, ubuf, kUBufMax, NULL, &status); in TestSetMaxFracAndRoundIncr()
3394 unum_close(unf); in TestSetMaxFracAndRoundIncr()