Lines Matching refs:MessageFormat

55 // class MessageFormat
85 // MessageFormat Type List Number, Date, Time or Choice
162 return icu::MessageFormat::equalFormats(key1.pointer, key2.pointer);
170 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MessageFormat)
231 // Creates a MessageFormat instance based on the pattern.
233 MessageFormat::MessageFormat(const UnicodeString& pattern,
254 MessageFormat::MessageFormat(const UnicodeString& pattern,
276 MessageFormat::MessageFormat(const UnicodeString& pattern,
299 MessageFormat::MessageFormat(const MessageFormat& that)
325 MessageFormat::~MessageFormat()
346 UBool MessageFormat::allocateArgTypes(int32_t capacity, UErrorCode& status) {
372 const MessageFormat&
373 MessageFormat::operator=(const MessageFormat& that)
393 MessageFormat::operator==(const Format& rhs) const
397 // Check class ID before checking MessageFormat members
400 const MessageFormat& that = static_cast<const MessageFormat&>(rhs);
437 // Creates a copy of this MessageFormat, the caller owns the copy.
439 MessageFormat*
440 MessageFormat::clone() const
442 return new MessageFormat(*this);
446 // Sets the locale of this MessageFormat object to theLocale.
449 MessageFormat::setLocale(const Locale& theLocale)
464 // Gets the locale of this MessageFormat object.
467 MessageFormat::getLocale() const
473 MessageFormat::applyPattern(const UnicodeString& newPattern,
485 MessageFormat::applyPattern(const UnicodeString& pattern,
500 void MessageFormat::resetPattern() {
511 MessageFormat::applyPattern(const UnicodeString& pattern,
523 // Converts this MessageFormat instance to a pattern.
526 MessageFormat::toPattern(UnicodeString& appendTo) const {
536 int32_t MessageFormat::nextTopLevelArgStart(int32_t partIndex) const {
551 void MessageFormat::setArgStartFormat(int32_t argStart,
574 UBool MessageFormat::argNameMatches(int32_t partIndex, const UnicodeString& argName, int32_t argNumber) {
583 void MessageFormat::setCustomArgStartFormat(int32_t argStart,
594 Format* MessageFormat::getCachedFormatter(int32_t argumentNumber) const {
609 // This MessageFormat instance owns the new formats.
611 MessageFormat::adoptFormats(Format** newFormats,
641 // This MessageFormat instance makes a copy of the new formats.
644 MessageFormat::setFormats(const Format** newFormats,
681 MessageFormat::adoptFormat(int32_t n, Format *newFormat) {
700 MessageFormat::adoptFormat(const UnicodeString& formatName,
737 MessageFormat::setFormat(int32_t n, const Format& newFormat) {
760 MessageFormat::getFormat(const UnicodeString& formatName, UErrorCode& status) {
780 MessageFormat::setFormat(const UnicodeString& formatName,
807 MessageFormat::getFormats(int32_t& cnt) const
819 MessageFormat* t = const_cast<MessageFormat*> (this);
849 UnicodeString MessageFormat::getArgName(int32_t partIndex) {
855 MessageFormat::getFormatNames(UErrorCode& status) {
880 MessageFormat::format(const Formattable* source,
890 // Internally creates a MessageFormat instance based on the
895 MessageFormat::format( const UnicodeString& pattern,
901 MessageFormat temp(pattern, success);
911 MessageFormat::format(const Formattable& source,
928 MessageFormat::format(const UnicodeString* argumentNames,
937 const Formattable* MessageFormat::getArgFromListByName(const Formattable* arguments,
950 MessageFormat::format(const Formattable* arguments,
970 * Separate so that it is possible to make MessageFormat Freezable.
1010 void MessageFormat::format(int32_t msgStart, const void *plNumber,
1102 MessageFormat subMsgFormat(subMsgString, fLocale, success);
1165 void MessageFormat::formatComplexSubMessage(int32_t msgStart,
1181 // JDK compatibility mode: (see JDK MessageFormat.format() API docs)
1184 // instantiate a temporary MessageFormat object and format again;
1221 MessageFormat subMsgFormat(emptyPattern, fLocale, success);
1230 UnicodeString MessageFormat::getLiteralStringUntilNextArgument(int32_t from) const {
1249 FieldPosition* MessageFormat::updateMetaData(AppendableWrapper& /*dest*/, int32_t /*prevLength*/,
1251 // Unlike in Java, there are no field attributes defined for MessageFormat. Do nothing.
1264 MessageFormat::findOtherSubMessage(int32_t partIndex) const {
1293 MessageFormat::findFirstPluralNumberArg(int32_t msgStart, const UnicodeString &argName) const {
1316 void MessageFormat::copyObjects(const MessageFormat& that, UErrorCode& ec) {
1374 MessageFormat::parse(int32_t msgStart,
1506 MessageFormat::parse(const UnicodeString& source,
1519 MessageFormat::parse(const UnicodeString& source,
1543 MessageFormat::parseObject( const UnicodeString& source,
1554 MessageFormat::autoQuoteApostrophe(const UnicodeString& pattern, UErrorCode& status) {
1587 void MessageFormat::cacheExplicitFormats(UErrorCode& status) {
1684 Format* MessageFormat::createAppropriateFormat(UnicodeString& type, UnicodeString& style,
1784 int32_t MessageFormat::findKeyword(const UnicodeString& s,
1809 MessageFormat::createIntegerFormat(const Locale& locale, UErrorCode& status) const {
1828 const NumberFormat* MessageFormat::getDefaultNumberFormat(UErrorCode& ec) const {
1830 MessageFormat* t = (MessageFormat*) this;
1849 const DateFormat* MessageFormat::getDefaultDateFormat(UErrorCode& ec) const {
1851 MessageFormat* t = (MessageFormat*) this;
1861 MessageFormat::usesNamedArguments() const {
1866 MessageFormat::getArgTypeCount() const {
1870 UBool MessageFormat::equalFormats(const void* left, const void* right) {
1875 bool MessageFormat::DummyFormat::operator==(const Format&) const {
1879 MessageFormat::DummyFormat* MessageFormat::DummyFormat::clone() const {
1883 UnicodeString& MessageFormat::DummyFormat::format(const Formattable&,
1892 UnicodeString& MessageFormat::DummyFormat::format(const Formattable&,
1902 UnicodeString& MessageFormat::DummyFormat::format(const Formattable&,
1912 void MessageFormat::DummyFormat::parseObject(const UnicodeString&,
1944 MessageFormat::PluralSelectorProvider::PluralSelectorProvider(const MessageFormat &mf, UPluralType t)
1948 MessageFormat::PluralSelectorProvider::~PluralSelectorProvider() {
1952 UnicodeString MessageFormat::PluralSelectorProvider::select(void *ctx, double number,
1957 MessageFormat::PluralSelectorProvider* t = const_cast<MessageFormat::PluralSelectorProvider*>(this);
1999 void MessageFormat::PluralSelectorProvider::reset() {