Home
last modified time | relevance | path

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

/external/icu4c/i18n/unicode/
Dunum.h130 typedef void* UNumberFormat; typedef
294 U_STABLE UNumberFormat* U_EXPORT2
310 unum_close(UNumberFormat* fmt);
325 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, UNumberFormat, unum_close);
339 U_STABLE UNumberFormat* U_EXPORT2
340 unum_clone(const UNumberFormat *fmt,
365 unum_format( const UNumberFormat* fmt,
394 unum_formatInt64(const UNumberFormat *fmt,
423 unum_formatDouble( const UNumberFormat* fmt,
456 unum_formatDecimal( const UNumberFormat* fmt,
[all …]
Dudat.h710 U_STABLE const UNumberFormat* U_EXPORT2
724 const UNumberFormat* numberFormatToSet);
/external/icu4c/i18n/
Dunum.cpp35 U_CAPI UNumberFormat* U_EXPORT2
120 return reinterpret_cast<UNumberFormat *>(retVal); in unum_open()
124 unum_close(UNumberFormat* fmt) in unum_close()
129 U_CAPI UNumberFormat* U_EXPORT2
130 unum_clone(const UNumberFormat *fmt, in unum_clone()
152 return (UNumberFormat*) res; in unum_clone()
156 unum_format( const UNumberFormat* fmt, in unum_format()
167 unum_formatInt64(const UNumberFormat* fmt, in unum_formatInt64()
200 unum_formatDouble( const UNumberFormat* fmt, in unum_formatDouble()
234 unum_formatDecimal(const UNumberFormat* fmt, in unum_formatDecimal()
[all …]
Dudat.cpp280 U_CAPI const UNumberFormat* U_EXPORT2
283 return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormat()
288 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()
803 UNumberFormat *format; in u_printf_scidbl_handler()
876 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()
488 UNumberFormat *format; in u_scanf_scientific_handler()
585 UNumberFormat *scientificFormat, *genericFormat; in u_scanf_scidbl_handler()
675 UNumberFormat *format; in u_scanf_integer_handler()
748 UNumberFormat *format; in u_scanf_percent_handler()
973 UNumberFormat *format; in u_scanf_spellout_handler()
/external/icu4c/test/cintltst/
Dcnmdptst.h53 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
54 static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
Dcnmdptst.c61 UNumberFormat *fmt; in TestPatterns()
127 UNumberFormat *fmt; in TestQuotes()
190 UNumberFormat *fmt; in TestExponential()
340 UNumberFormat *fmt; in TestCurrencySign()
412 UNumberFormat *currencyFmt; in TestCurrency()
459 UNumberFormat *currencyFmt; in TestCurrencyPreEuro()
529 UNumberFormat *currencyFmt; in TestCurrencyObject()
613 UNumberFormat *nnf; in TestRounding487()
637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest()
680 UNumberFormat *def; in TestDoubleAttribute()
[all …]
Dcnumtst.c111 UNumberFormat* nf; in TestInt64Parse()
172 UNumberFormat *pattern; in TestNumberFormat()
173 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
812 UNumberFormat* dec_en; in TestNumberFormat()
834 UNumberFormat *fmt; in TestNumberFormat()
935 UNumberFormat *fmt = unum_open(UNUM_DEFAULT, NULL, 0, NULL, NULL, &status); in TestNumberFormat()
981UNumberFormat* unum = unum_open( UNUM_DECIMAL /*or UNUM_DEFAULT*/, NULL, -1, NULL, NULL, &errorCod… in TestParseZero()
983UNumberFormat* unum = unum_open( UNUM_PATTERN_DECIMAL /*needs pattern*/, pat, -1, NULL, NULL, &err… in TestParseZero()
1053 UNumberFormat* unum; in TestParseCurrency()
1168 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
[all …]
Dcdattst.h51 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.c63 const UNumberFormat *numformat1, *numformat2; in TestDateFormat()
992 static UChar* myNumformat(const UNumberFormat* numfor, double d) in myNumformat()
Dcloctst.c2399 UNumberFormat *obj; in TestGetLocale()
/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()