• Home
  • Raw
  • Download

Lines Matching refs:unum_setAttribute

775     unum_setAttribute(def, attr, newvalue);  in TestNumberFormat()
785 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
795 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
808 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
859 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1246 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, true); in TestSignificantDigits()
1247 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1287 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, false); in TestSigDigRounding()
1288 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, true); in TestSigDigRounding()
1289 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
1292 unum_setAttribute(fmt, UNUM_ROUNDING_MODE, UNUM_ROUND_UP); in TestSigDigRounding()
1452 unum_setAttribute(fmt, UNUM_MAX_FRACTION_DIGITS, 20); in TestInt64Format()
1600 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, true); in test_fmt()
1866 unum_setAttribute(fmt, UNUM_MAX_FRACTION_DIGITS, 3); in TestRBNFRounding()
1873 unum_setAttribute(fmt, UNUM_ROUNDING_MODE, UNUM_ROUND_HALFUP); in TestRBNFRounding()
2163 unum_setAttribute(fmt, UNUM_PARSE_NO_EXPONENT, 1); /* no error code */ in TestNoExponent()
2202 unum_setAttribute(fmt, UNUM_PARSE_NO_EXPONENT, 1); /* no error code */ in TestNoExponent()
2243 unum_setAttribute(fmt, UNUM_MAX_INTEGER_DIGITS, 2); in TestMaxInt()
2266 unum_setAttribute(fmt, UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS, 1); in TestMaxInt()
2307 unum_setAttribute(fmt, UNUM_SIGN_ALWAYS_SHOWN, 1); in TestSignAlwaysShown()
2325 unum_setAttribute(fmt, UNUM_MINIMUM_GROUPING_DIGITS, 2); in TestMinimumGroupingDigits()
2349 unum_setAttribute(fmt, UNUM_PARSE_CASE_SENSITIVE, 1); in TestParseCaseSensitive()
2762 unum_setAttribute(unumFmt, UNUM_CURRENCY_USAGE, UCURR_USAGE_CASH); in TestCurrencyUsage()
3007unum_setAttribute(unum, (UNumberFormatAttribute)lsaTestPtr->attribute, lsaTestPtr->attrValue); in TestVariousStylesAndAttributes()
3011 unum_setAttribute(unum, UNUM_MAX_SIGNIFICANT_DIGITS, lsaTestPtr->attrValue); in TestVariousStylesAndAttributes()
3175 unum_setAttribute(theFormatter, UNUM_LENIENT_PARSE, 1); in Test12052_NullPointer()
3227 unum_setAttribute(unumDec, UNUM_LENIENT_PARSE, itemPtr->lenient); in TestParseCases()
3228 unum_setAttribute(unumDec, UNUM_PARSE_INT_ONLY, itemPtr->intOnly); in TestParseCases()
3355 unum_setAttribute(unf, UNUM_MIN_INTEGER_DIGITS, itemPtr->minInt); in TestSetMaxFracAndRoundIncr()
3356 unum_setAttribute(unf, UNUM_MIN_FRACTION_DIGITS, itemPtr->minFrac); in TestSetMaxFracAndRoundIncr()
3357 unum_setAttribute(unf, UNUM_MAX_FRACTION_DIGITS, itemPtr->maxFrac); in TestSetMaxFracAndRoundIncr()
3419 unum_setAttribute(unum, UNUM_GROUPING_USED, 0); in TestIgnorePadding()
3420 unum_setAttribute(unum, UNUM_FORMAT_WIDTH, 0); in TestIgnorePadding()
3425 unum_setAttribute(unum, UNUM_PADDING_POSITION, 0); in TestIgnorePadding()
3426 unum_setAttribute(unum, UNUM_MIN_INTEGER_DIGITS, 0); in TestIgnorePadding()
3427 unum_setAttribute(unum, UNUM_MAX_INTEGER_DIGITS, 8); in TestIgnorePadding()
3428 unum_setAttribute(unum, UNUM_MIN_FRACTION_DIGITS, 0); in TestIgnorePadding()
3429 unum_setAttribute(unum, UNUM_MAX_FRACTION_DIGITS, 0); in TestIgnorePadding()
3473 unum_setAttribute(unum, UNUM_MIN_FRACTION_DIGITS, 0); in TestSciNotationMaxFracCap()
3474 unum_setAttribute(unum, UNUM_MAX_FRACTION_DIGITS, 2147483647); in TestSciNotationMaxFracCap()
3505 unum_setAttribute(unum, UNUM_MIN_INTEGER_DIGITS, 0); in TestMinIntMinFracZero()
3506 unum_setAttribute(unum, UNUM_MIN_FRACTION_DIGITS, 0); in TestMinIntMinFracZero()
3554 unum_setAttribute(unum, UNUM_MIN_INTEGER_DIGITS, 0); in TestMinIntMinFracZero()
3555 unum_setAttribute(unum, UNUM_MIN_FRACTION_DIGITS, 0); in TestMinIntMinFracZero()