Home
last modified time | relevance | path

Searched refs:formatAlias (Results 1 – 2 of 2) sorted by relevance

/external/icu4c/io/
Dlocbund.c55 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter() local
60 gPosixNumberFormat[style-1] = formatAlias; in copyInvariantFormatter()
164 UNumberFormat *formatAlias = NULL; in u_locbund_getNumberFormat() local
166 formatAlias = bundle->fNumberFormat[style-1]; in u_locbund_getNumberFormat()
167 if (formatAlias == NULL) { in u_locbund_getNumberFormat()
169 formatAlias = copyInvariantFormatter(bundle, style); in u_locbund_getNumberFormat()
173 formatAlias = unum_open(style, NULL, 0, bundle->fLocale, NULL, &status); in u_locbund_getNumberFormat()
175 unum_close(formatAlias); in u_locbund_getNumberFormat()
176 formatAlias = NULL; in u_locbund_getNumberFormat()
179 bundle->fNumberFormat[style-1] = formatAlias; in u_locbund_getNumberFormat()
[all …]
/external/icu4c/i18n/
Dmsgfmt.cpp634 NumberFormat& formatAlias = *(NumberFormat*)fmt; in toPattern() local
642 if (formatAlias != *defaultTemplate) { in toPattern()
644 if (formatAlias == *currencyTemplate) { in toPattern()
647 else if (formatAlias == *percentTemplate) { in toPattern()
650 else if (formatAlias == *integerTemplate) { in toPattern()
665 DateFormat& formatAlias = *(DateFormat*)fmt; in toPattern() local
677 if (formatAlias == *defaultDateTemplate) { in toPattern()
680 else if (formatAlias == *shortDateTemplate) { in toPattern()
685 else if (formatAlias == *defaultDateTemplate) { in toPattern()
690 else if (formatAlias == *longDateTemplate) { in toPattern()
[all …]