Lines Matching refs:msgfmt
1733 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage() local
1734 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1738 if (!msgfmt->usesNamedArguments()) { in testCoverage()
1747 msgfmt->setFormat("set", cf, status); in testCoverage()
1749 StringEnumeration *en = msgfmt->getFormatNames(status); in testCoverage()
1772 msgfmt->adoptFormat("adopt", cfClone, status); in testCoverage()
1775 delete msgfmt; in testCoverage()
1777 msgfmt = new MessageFormat("'", status); in testCoverage()
1778 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1782 if (msgfmt->usesNamedArguments()) { in testCoverage()
1788 msgfmt->setFormat("formatName", cf, status); in testCoverage()
1793 en = msgfmt->getFormatNames(status); in testCoverage()
1799 delete msgfmt; in testCoverage()
1804 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames() local
1808 LocalPointer<StringEnumeration> names(msgfmt.getFormatNames(errorCode)); in testGetFormatNames()