• Home
  • Raw
  • Download

Lines Matching refs:formatters

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