Lines Matching refs:unum_setAttribute
750 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
759 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
768 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
780 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
827 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1214 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSignificantDigits()
1215 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1255 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, FALSE); in TestSigDigRounding()
1256 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSigDigRounding()
1257 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
1260 unum_setAttribute(fmt, UNUM_ROUNDING_MODE, UNUM_ROUND_UP); in TestSigDigRounding()
1420 unum_setAttribute(fmt, UNUM_MAX_FRACTION_DIGITS, 20); in TestInt64Format()
1568 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, TRUE); in test_fmt()
1832 unum_setAttribute(fmt, UNUM_MAX_FRACTION_DIGITS, 3); in TestRBNFRounding()
1839 unum_setAttribute(fmt, UNUM_ROUNDING_MODE, UNUM_ROUND_HALFUP); in TestRBNFRounding()
2128 unum_setAttribute(fmt, UNUM_PARSE_NO_EXPONENT, 1); /* no error code */ in TestNoExponent()
2167 unum_setAttribute(fmt, UNUM_PARSE_NO_EXPONENT, 1); /* no error code */ in TestNoExponent()
2208 unum_setAttribute(fmt, UNUM_MAX_INTEGER_DIGITS, 2); in TestMaxInt()
2231 unum_setAttribute(fmt, UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS, 1); in TestMaxInt()
2662 unum_setAttribute(unumFmt, UNUM_CURRENCY_USAGE, UCURR_USAGE_CASH); in TestCurrencyUsage()
2907 … unum_setAttribute(unum, (UNumberFormatAttribute)lsaTestPtr->attribute, lsaTestPtr->attrValue); in TestVariousStylesAndAttributes()
2911 unum_setAttribute(unum, UNUM_MAX_SIGNIFICANT_DIGITS, lsaTestPtr->attrValue); in TestVariousStylesAndAttributes()
3075 unum_setAttribute(theFormatter, UNUM_LENIENT_PARSE, 1); in Test12052_NullPointer()