Home | History | Annotate | Download | only in i18n

Lines Matching defs:messageFormat

227             MessageFormat* pattern = ((MessageFormat**)countToPattern->get(count))[fStyle];
270 // the value is a pair of MessageFormat*
271 MessageFormat** patterns = (MessageFormat**)valueTok.pointer;
274 MessageFormat* pattern = patterns[style];
510 MessageFormat* messageFormat = new MessageFormat(pattern, fLocale, err);
513 messageFormat->setFormat(0, *fNumberFormat);
515 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(pluralCountUniStr);
517 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
527 formatters[style] = messageFormat;
535 delete messageFormat;
592 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount);
648 MessageFormat* messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, ptLength), fLocale, err);
651 messageFormat->setFormat(0, *fNumberFormat);
653 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
655 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
661 delete messageFormat;
666 formatters[style] = messageFormat;
669 delete messageFormat;
698 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
708 MessageFormat* messageFormat = NULL;
726 messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, -1), fLocale, err);
729 if (fNumberFormat != NULL && messageFormat != NULL) {
730 messageFormat->setFormat(0, *fNumberFormat);
732 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
734 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
740 delete messageFormat;
745 formatters[style] = messageFormat;
748 delete messageFormat;
781 MessageFormat** pattern = (MessageFormat**)keyTok.pointer;
797 const MessageFormat** value = (const MessageFormat**)valueTok.pointer;
820 const MessageFormat** value = (const MessageFormat**)valueTok.pointer;
821 MessageFormat** newVal = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
822 newVal[0] = (MessageFormat*)value[0]->clone();
823 newVal[1] = (MessageFormat*)value[1]->clone();
849 const MessageFormat** pattern1 = (const MessageFormat**)val1.pointer;
850 const MessageFormat** pattern2 = (const MessageFormat**)val2.pointer;