• Home
  • Raw
  • Download

Lines Matching refs:cdf

260         const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
334 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
341 cdf->format(1234567.0, result, fp); in TestFieldPosition()
371 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
379 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
380 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
381 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
382 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
387 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
401 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
411 cdf->format((double)123456.0, actual, pos, status); in TestAPIVariants()
421 cdf->format((double)123456.0, actual, &posIter, status); in TestAPIVariants()
431 cdf->format((int32_t)123456, actual, pos); in TestAPIVariants()
441 cdf->format((int32_t)123456, actual, pos, status); in TestAPIVariants()
451 cdf->format((int32_t)123456, actual, &posIter, status); in TestAPIVariants()
461 cdf->format((int64_t)123456, actual, pos); in TestAPIVariants()
471 cdf->format((int64_t)123456, actual, pos, status); in TestAPIVariants()
481 cdf->format((int64_t)123456, actual, &posIter, status); in TestAPIVariants()
493 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance(locale, UNUM_SHORT, st… in TestBug12975() local
496 cdf->format(12000, resultCdf); in TestBug12975()
510 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale() local
518 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocale()
527 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency() local
532 cdf->setCurrency(currency, status); in CheckLocaleWithCurrency()
537 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocaleWithCurrency()
542 … const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { in CheckExpectedResult() argument
544 cdf->format(expectedResult->value, actual); in CheckExpectedResult()