Lines Matching refs:formatters
433 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(pluralCountUniStr);
434 if (formatters == NULL) {
435 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
436 formatters[UTMUTFMT_FULL_STYLE] = NULL;
437 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
438 countToPatterns->put(pluralCountUniStr, formatters, err);
440 uprv_free(formatters);
444 //delete formatters[style];
445 formatters[style] = messageFormat;
510 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(*pluralCount);
511 if( formatters == NULL || formatters[style] == NULL ) {
568 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
569 if (formatters == NULL) {
570 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
571 formatters[UTMUTFMT_FULL_STYLE] = NULL;
572 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
573 countToPatterns->put(srcPluralCount, formatters, err);
575 uprv_free(formatters);
580 //delete formatters[style];
581 formatters[style] = messageFormat;
613 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
614 if (formatters != NULL && formatters[style] != NULL) {
644 MessageFormat** formatters = (MessageFormat**)countToPatterns->get(srcPluralCount);
645 if (formatters == NULL) {
646 formatters = (MessageFormat**)uprv_malloc(UTMUTFMT_FORMAT_STYLE_COUNT*sizeof(MessageFormat*));
647 formatters[UTMUTFMT_FULL_STYLE] = NULL;
648 formatters[UTMUTFMT_ABBREVIATED_STYLE] = NULL;
649 countToPatterns->put(srcPluralCount, formatters, err);
651 uprv_free(formatters);
656 //delete formatters[style];
657 formatters[style] = messageFormat;