Home | History | Annotate | Download | only in i18n

Lines Matching refs:messageFormat

202             // the value is a pair of MessageFormat*
203 MessageFormat** patterns = (MessageFormat**)valueTok.pointer;
206 MessageFormat* pattern = patterns[style];
432 MessageFormat* messageFormat = new MessageFormat(pattern, getLocale(err), err);
434 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(pluralCountUniStr);
436 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
446 formatters[style] = messageFormat;
454 delete messageFormat;
511 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount);
567 MessageFormat* messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, ptLength), getLocale(err), err);
569 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
571 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
577 delete messageFormat;
582 formatters[style] = messageFormat;
585 delete messageFormat;
614 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
624 MessageFormat* messageFormat = NULL;
642 messageFormat = new MessageFormat(UnicodeString(TRUE, pattern, -1), getLocale(err), err);
645 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
647 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
653 delete messageFormat;
658 formatters[style] = messageFormat;
661 delete messageFormat;
694 const MessageFormat** value = (const MessageFormat**)valueTok.pointer;
717 const MessageFormat** value = (const MessageFormat**)valueTok.pointer;
718 MessageFormat** newVal = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
719 newVal[0] = (MessageFormat*)value[0]->clone();
720 newVal[1] = (MessageFormat*)value[1]->clone();
746 const MessageFormat** pattern1 = (const MessageFormat**)val1.pointer;
747 const MessageFormat** pattern2 = (const MessageFormat**)val2.pointer;