Lines Matching refs:msgfmt
1729 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage() local
1730 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1734 if (!msgfmt->usesNamedArguments()) { in testCoverage()
1743 msgfmt->setFormat("set", cf, status); in testCoverage()
1745 StringEnumeration *en = msgfmt->getFormatNames(status); in testCoverage()
1768 msgfmt->adoptFormat("adopt", cfClone, status); in testCoverage()
1771 delete msgfmt; in testCoverage()
1773 msgfmt = new MessageFormat("'", status); in testCoverage()
1774 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1778 if (msgfmt->usesNamedArguments()) { in testCoverage()
1784 msgfmt->setFormat("formatName", cf, status); in testCoverage()
1789 en = msgfmt->getFormatNames(status); in testCoverage()
1795 delete msgfmt; in testCoverage()
1800 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames() local
1804 LocalPointer<StringEnumeration> names(msgfmt.getFormatNames(errorCode)); in testGetFormatNames()