Lines Matching refs:formatters
434 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(pluralCountUniStr);
435 if (formatters == NULL) {
436 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
437 formatters[UTMUTFMT_FULL_STYLE] = NULL;
438 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
439 countToPatterns->put(pluralCountUniStr, formatters, err);
441 uprv_free(formatters);
445 //delete formatters[style];
446 formatters[style] = messageFormat;
511 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount);
512 if( formatters == NULL || formatters[style] == NULL ) {
569 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
570 if (formatters == NULL) {
571 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
572 formatters[UTMUTFMT_FULL_STYLE] = NULL;
573 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
574 countToPatterns->put(srcPluralCount, formatters, err);
576 uprv_free(formatters);
581 //delete formatters[style];
582 formatters[style] = messageFormat;
614 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
615 if (formatters != NULL && formatters[style] != NULL) {
645 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
646 if (formatters == NULL) {
647 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
648 formatters[UTMUTFMT_FULL_STYLE] = NULL;
649 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
650 countToPatterns->put(srcPluralCount, formatters, err);
652 uprv_free(formatters);
657 //delete formatters[style];
658 formatters[style] = messageFormat;