Lines Matching refs:unum_getAttribute
748 newvalue=unum_getAttribute(def, attr); in TestNumberFormat()
751 if(unum_getAttribute(def,attr)!=2) in TestNumberFormat()
757 newvalue=unum_getAttribute(def, attr); in TestNumberFormat()
760 if(unum_getAttribute(def,attr) != 8) in TestNumberFormat()
766 newvalue=unum_getAttribute(def, attr); in TestNumberFormat()
769 if(unum_getAttribute(def,attr) != 2) in TestNumberFormat()
771 unum_getAttribute(def,attr)); in TestNumberFormat()
779 newvalue=unum_getAttribute(fr, attr); in TestNumberFormat()
781 if(unum_getAttribute(def,attr)!=unum_getAttribute(fr, attr)) in TestNumberFormat()
1562 int isLenient = unum_getAttribute(fmt, UNUM_LENIENT_PARSE); in test_fmt()
1569 isLenient = unum_getAttribute(fmt, UNUM_LENIENT_PARSE); in test_fmt()
1833 if (unum_getAttribute(fmt, UNUM_MAX_FRACTION_DIGITS) != 3) { in TestRBNFRounding()
1834 …log_err("UNUM_MAX_FRACTION_DIGITS was incorrectly ignored -> %d\n", unum_getAttribute(fmt, UNUM_MA… in TestRBNFRounding()
1836 if (unum_getAttribute(fmt, UNUM_ROUNDING_MODE) != UNUM_ROUND_UNNECESSARY) { in TestRBNFRounding()
1837 log_err("UNUM_ROUNDING_MODE was set -> %d\n", unum_getAttribute(fmt, UNUM_ROUNDING_MODE)); in TestRBNFRounding()
1840 if (unum_getAttribute(fmt, UNUM_ROUNDING_MODE) != UNUM_ROUND_HALFUP) { in TestRBNFRounding()
1841 … log_err("UNUM_ROUNDING_MODE was not set -> %d\n", unum_getAttribute(fmt, UNUM_ROUNDING_MODE)); in TestRBNFRounding()
2126 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_PARSE_NO_EXPONENT)==0); in TestNoExponent()
2131 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_PARSE_NO_EXPONENT)==1); in TestNoExponent()
2151 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_PARSE_NO_EXPONENT)==0); in TestNoExponent()
2170 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_PARSE_NO_EXPONENT)==1); in TestNoExponent()
2229 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS)==0); in TestMaxInt()
2233 ASSERT_TRUE(unum_getAttribute(fmt, UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS)==1); in TestMaxInt()
2658 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_STANDARD) { in TestCurrencyUsage()
2665 if(unum_getAttribute(unumFmt, UNUM_CURRENCY_USAGE) != UCURR_USAGE_CASH) { in TestCurrencyUsage()