Home
last modified time | relevance | path

Searched refs:UNumberFormat (Results 1 – 18 of 18) sorted by relevance

/external/icu4c/i18n/unicode/
Dunum.h129 typedef void* UNumberFormat; typedef
234 U_STABLE UNumberFormat* U_EXPORT2
250 unum_close(UNumberFormat* fmt);
260 U_STABLE UNumberFormat* U_EXPORT2
261 unum_clone(const UNumberFormat *fmt,
286 unum_format( const UNumberFormat* fmt,
315 unum_formatInt64(const UNumberFormat *fmt,
344 unum_formatDouble( const UNumberFormat* fmt,
373 unum_formatDoubleCurrency(const UNumberFormat* fmt,
399 unum_parse( const UNumberFormat* fmt,
[all …]
Dudat.h594 U_STABLE const UNumberFormat* U_EXPORT2
608 const UNumberFormat* numberFormatToSet);
/external/icu4c/i18n/
Dunum.cpp34 U_CAPI UNumberFormat* U_EXPORT2
48 UNumberFormat *retVal = 0; in unum_open()
53 retVal = (UNumberFormat*)NumberFormat::createInstance(*status); in unum_open()
55 retVal = (UNumberFormat*)NumberFormat::createInstance(Locale(locale), in unum_open()
61 retVal = (UNumberFormat*)NumberFormat::createCurrencyInstance(*status); in unum_open()
63 retVal = (UNumberFormat*)NumberFormat::createCurrencyInstance(Locale(locale), in unum_open()
69 retVal = (UNumberFormat*)NumberFormat::createPercentInstance(*status); in unum_open()
71 retVal = (UNumberFormat*)NumberFormat::createPercentInstance(Locale(locale), in unum_open()
77 retVal = (UNumberFormat*)NumberFormat::createScientificInstance(*status); in unum_open()
79 retVal = (UNumberFormat*)NumberFormat::createScientificInstance(Locale(locale), in unum_open()
[all …]
Dudat.cpp223 U_CAPI const UNumberFormat* U_EXPORT2
226 return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormat()
231 const UNumberFormat* numberFormatToSet) in udat_setNumberFormat()
/external/icu4c/io/
Dlocbund.c33 static UNumberFormat *gPosixNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
48 static U_INLINE UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle st… in copyInvariantFormatter()
55 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter()
161 UNumberFormat*
164 UNumberFormat *formatAlias = NULL; in u_locbund_getNumberFormat()
Dlocbund.h33 UNumberFormat *fNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
75 UNumberFormat*
Duprntf_p.c122 u_printf_set_sign(UNumberFormat *format, in u_printf_set_sign()
161 u_printf_reset_sign(UNumberFormat *format, in u_printf_reset_sign()
278 UNumberFormat *format; in u_printf_double_handler()
354 UNumberFormat *format; in u_printf_integer_handler()
489 UNumberFormat *format; in u_printf_uinteger_handler()
558 UNumberFormat *format; in u_printf_scientific_handler()
678 UNumberFormat *format; in u_printf_percent_handler()
827 UNumberFormat *format = u_locbund_getNumberFormat(formatBundle, UNUM_DECIMAL); in u_printf_scidbl_handler()
870 UNumberFormat *format; in u_printf_spellout_handler()
Duscanf_p.c339 UNumberFormat *format, in u_scanf_skip_leading_positive_sign()
423 UNumberFormat *format; in u_scanf_double_handler()
486 UNumberFormat *format; in u_scanf_scientific_handler()
549 UNumberFormat *scientificFormat, *genericFormat; in u_scanf_scidbl_handler()
639 UNumberFormat *format; in u_scanf_integer_handler()
712 UNumberFormat *format; in u_scanf_percent_handler()
937 UNumberFormat *format; in u_scanf_spellout_handler()
/external/icu4c/test/cintltst/
Dcnmdptst.c59 UNumberFormat *fmt; in TestPatterns()
125 UNumberFormat *fmt; in TestQuotes()
188 UNumberFormat *fmt; in TestExponential()
338 UNumberFormat *fmt; in TestCurrencySign()
410 UNumberFormat *currencyFmt; in TestCurrency()
457 UNumberFormat *currencyFmt; in TestCurrencyPreEuro()
527 UNumberFormat *currencyFmt; in TestCurrencyObject()
611 UNumberFormat *nnf; in TestRounding487()
635 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest()
678 UNumberFormat *def; in TestDoubleAttribute()
[all …]
Dcnmdptst.h53 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
54 static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
Dcnumtst.c117 UNumberFormat *pattern; in TestNumberFormat()
118 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
771 UNumberFormat* fmt; in TestSignificantDigits()
813 UNumberFormat *pattern; in TestNumberFormatPadding()
924 UNumberFormat *fmt; in TestInt64Format()
1042 static void test_fmt(UNumberFormat* fmt, UBool isDecimal) { in test_fmt()
1186 UNumberFormat *format; in TestNonExistentCurrency()
1214 UNumberFormat *formats[5]; in TestRBNFFormat()
1322 UNumberFormat *cur; in TestCurrencyRegression()
1364 UNumberFormat *nf = unum_open(UNUM_CURRENCY, NULL, 0, "en_US", NULL, &status); in TestTextAttributeCrash()
Dcdattst.h50 static UChar* myNumformat(const UNumberFormat* numfor, double d);
Dcurrtest.c159 UNumberFormat *fmt = unum_open(UNUM_CURRENCY, NULL, 0, "hu_HU", NULL, &status); in TestFractionDigitOverride()
196 UNumberFormat* parser; in TestPrefixSuffix()
Dcdattst.c60 const UNumberFormat *numformat1, *numformat2; in TestDateFormat()
831 static UChar* myNumformat(const UNumberFormat* numfor, double d) in myNumformat()
Dcloctst.c2198 UNumberFormat *obj; in TestGetLocale()
/external/icu4c/test/intltest/
Dnmfmapts.cpp313 UNumberFormat* uf3 = unum_open(UNUM_CURRENCY, NULL, 0, SRC_LOC.getName(),NULL, &status); in testRegistration()
314 UNumberFormat* uf4 = unum_open(UNUM_DEFAULT, NULL, 0, SRC_LOC.getName(), NULL, &status); in testRegistration()
323 UNumberFormat* uf5 = unum_open(UNUM_CURRENCY, NULL, 0, SRC_LOC.getName(),NULL, &status); in testRegistration()
/external/icu4c/samples/numfmt/
Dcapi.c19 UNumberFormat *fmt; in capi()
/external/icu4c/samples/cal/
Dcal.c427 UNumberFormat *nfmt; in print_month()
544 UNumberFormat *nfmt; in print_year()