Lines Matching defs:formatters
515 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(pluralCountUniStr);
516 if (formatters == NULL) {
517 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
518 formatters[UTMUTFMT_FULL_STYLE] = NULL;
519 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
520 countToPatterns->put(pluralCountUniStr, formatters, err);
522 uprv_free(formatters);
526 //delete formatters[style];
527 formatters[style] = messageFormat;
592 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount);
593 if( formatters == NULL || formatters[style] == NULL ) {
653 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
654 if (formatters == NULL) {
655 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
656 formatters[UTMUTFMT_FULL_STYLE] = NULL;
657 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
658 countToPatterns->put(srcPluralCount, formatters, err);
660 uprv_free(formatters);
665 //delete formatters[style];
666 formatters[style] = messageFormat;
698 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
699 if (formatters != NULL && formatters[style] != NULL) {
732 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
733 if (formatters == NULL) {
734 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
735 formatters[UTMUTFMT_FULL_STYLE] = NULL;
736 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
737 countToPatterns->put(srcPluralCount, formatters, err);
739 uprv_free(formatters);
744 //delete formatters[style];
745 formatters[style] = messageFormat;