• Home
  • Raw
  • Download

Lines Matching refs:cdf

255         const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
329 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
336 cdf->format(1234567.0, result, fp); in TestFieldPosition()
366 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
374 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
375 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
376 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
377 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
382 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
396 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
406 cdf->format((double)123456.0, actual, pos, status); in TestAPIVariants()
416 cdf->format((double)123456.0, actual, &posIter, status); in TestAPIVariants()
426 cdf->format((int32_t)123456, actual, pos); in TestAPIVariants()
436 cdf->format((int32_t)123456, actual, pos, status); in TestAPIVariants()
446 cdf->format((int32_t)123456, actual, &posIter, status); in TestAPIVariants()
456 cdf->format((int64_t)123456, actual, pos); in TestAPIVariants()
466 cdf->format((int64_t)123456, actual, pos, status); in TestAPIVariants()
476 cdf->format((int64_t)123456, actual, &posIter, status); in TestAPIVariants()
488 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance(locale, UNUM_SHORT, st… in TestBug12975() local
491 cdf->format(12000, resultCdf); in TestBug12975()
505 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale() local
513 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocale()
522 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency() local
527 cdf->setCurrency(currency, status); in CheckLocaleWithCurrency()
532 CheckExpectedResult(cdf.getAlias(), &expectedResults[i], description); in CheckLocaleWithCurrency()
537 … const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult, const char* description) { in CheckExpectedResult() argument
539 cdf->format(expectedResult->value, actual); in CheckExpectedResult()