• Home
  • Raw
  • Download

Lines Matching refs:cdf

254         const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
328 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
335 cdf->format(1234567.0, result, fp); in TestFieldPosition()
365 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
373 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
374 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
375 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
376 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
381 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
395 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
405 cdf->format((double)123456.0, actual, pos, status); in TestAPIVariants()
415 cdf->format((double)123456.0, actual, &posIter, status); in TestAPIVariants()
425 cdf->format((int32_t)123456, actual, pos); in TestAPIVariants()
435 cdf->format((int32_t)123456, actual, pos, status); in TestAPIVariants()
445 cdf->format((int32_t)123456, actual, &posIter, status); in TestAPIVariants()
455 cdf->format((int64_t)123456, actual, pos); in TestAPIVariants()
465 cdf->format((int64_t)123456, actual, pos, status); in TestAPIVariants()
475 cdf->format((int64_t)123456, actual, &posIter, status); in TestAPIVariants()
487 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance(locale, UNUM_SHORT, st… in TestBug12975() local
490 cdf->format(12000, resultCdf); in TestBug12975()
504 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale() local
512 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocale()
521 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency() local
526 cdf->setCurrency(currency, status); in CheckLocaleWithCurrency()
531 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocaleWithCurrency()
536 … const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { in CheckExpectedResult() argument
538 cdf->format(expectedResult->value, actual); in CheckExpectedResult()