Lines Matching refs:msgfmt
1726 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status); in testCoverage() local
1727 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1731 if (!msgfmt->usesNamedArguments()) { in testCoverage()
1740 msgfmt->setFormat("set", cf, status); in testCoverage()
1742 StringEnumeration *en = msgfmt->getFormatNames(status); in testCoverage()
1765 msgfmt->adoptFormat("adopt", cfClone, status); in testCoverage()
1768 delete msgfmt; in testCoverage()
1770 msgfmt = new MessageFormat("'", status); in testCoverage()
1771 if (msgfmt == NULL || U_FAILURE(status)) { in testCoverage()
1775 if (msgfmt->usesNamedArguments()) { in testCoverage()
1781 msgfmt->setFormat("formatName", cf, status); in testCoverage()
1786 en = msgfmt->getFormatNames(status); in testCoverage()
1792 delete msgfmt; in testCoverage()
1797 …MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getR… in testGetFormatNames() local
1801 LocalPointer<StringEnumeration> names(msgfmt.getFormatNames(errorCode)); in testGetFormatNames()