Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Dunum.h134 typedef void* UNumberFormat; typedef
372 U_STABLE UNumberFormat* U_EXPORT2
388 unum_close(UNumberFormat* fmt);
403 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, UNumberFormat, unum_close);
417 U_STABLE UNumberFormat* U_EXPORT2
418 unum_clone(const UNumberFormat *fmt,
446 unum_format( const UNumberFormat* fmt,
478 unum_formatInt64(const UNumberFormat *fmt,
510 unum_formatDouble( const UNumberFormat* fmt,
546 unum_formatDecimal( const UNumberFormat* fmt,
[all …]
Dudat.h1195 U_STABLE const UNumberFormat* U_EXPORT2
1208 U_DRAFT const UNumberFormat* U_EXPORT2
1229 UNumberFormat* numberFormatToSet,
1247 const UNumberFormat* numberFormatToSet);
1261 UNumberFormat* numberFormatToAdopt);
/external/icu/icu4c/source/i18n/
Dunum.cpp37 U_CAPI UNumberFormat* U_EXPORT2
126 return reinterpret_cast<UNumberFormat *>(retVal); in unum_open()
130 unum_close(UNumberFormat* fmt) in unum_close()
135 U_CAPI UNumberFormat* U_EXPORT2
136 unum_clone(const UNumberFormat *fmt, in unum_clone()
158 return (UNumberFormat*) res; in unum_clone()
162 unum_format( const UNumberFormat* fmt, in unum_format()
173 unum_formatInt64(const UNumberFormat* fmt, in unum_formatInt64()
206 unum_formatDouble( const UNumberFormat* fmt, in unum_formatDouble()
240 unum_formatDecimal(const UNumberFormat* fmt, in unum_formatDecimal()
[all …]
Dudat.cpp449 U_DRAFT const UNumberFormat* U_EXPORT2
454 if (U_FAILURE(status)) return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormatForField()
455 return (const UNumberFormat*) ((SimpleDateFormat*)fmt)->getNumberFormatForField(field); in udat_getNumberFormatForField()
458 U_CAPI const UNumberFormat* U_EXPORT2
461 return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormat()
467 UNumberFormat* numberFormatToSet, in udat_adoptNumberFormatForFields()
481 const UNumberFormat* numberFormatToSet) in udat_setNumberFormat()
488 UNumberFormat* numberFormatToAdopt) in udat_adoptNumberFormat()
/external/icu/icu4c/source/io/
Dlocbund.cpp33 static UNumberFormat *gPosixNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
47 static inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle styl… in copyInvariantFormatter()
53 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter()
157 U_CAPI UNumberFormat *
160 UNumberFormat *formatAlias = NULL; in u_locbund_getNumberFormat()
Dlocbund.h33 UNumberFormat *fNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
75 U_CAPI 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()
972 UNumberFormat *format; in u_scanf_spellout_handler()
Dufile.c342 U_CAPI const UNumberFormat* U_EXPORT2 u_fgetNumberFormat(UFILE *file) in u_fgetNumberFormat()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp260 UNumberFormat *fFmt;
278 virtual UNumberFormat* initFmt() { in initFmt()
343 virtual UNumberFormat* initFmt() { in initFmt()
344 UNumberFormat *fmt = NumTest::initFmt(); in initFmt()
371 virtual UNumberFormat* initFmt() { in initFmt()
372 UNumberFormat *fmt = NumTest::initFmt(); in initFmt()
388 UNumberFormat *fFmt;
406 virtual UNumberFormat* initFmt() { in initFmt()
473 UNumberFormat *fFmt;
491 virtual UNumberFormat* initFmt() { in initFmt()
[all …]
/external/icu/icu4c/source/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.c107 UNumberFormat* nf; in TestInt64Parse()
169 UNumberFormat *pattern; in TestNumberFormat()
170 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
809 UNumberFormat* dec_en; in TestNumberFormat()
831 UNumberFormat *fmt; in TestNumberFormat()
931 UNumberFormat *fmt = unum_open(UNUM_DEFAULT, NULL, 0, NULL, NULL, &status); in TestNumberFormat()
977UNumberFormat* unum = unum_open( UNUM_DECIMAL /*or UNUM_DEFAULT*/, NULL, -1, NULL, NULL, &errorCod… in TestParseZero()
979UNumberFormat* unum = unum_open( UNUM_PATTERN_DECIMAL /*needs pattern*/, pat, -1, NULL, NULL, &err… in TestParseZero()
1049 UNumberFormat* unum; in TestParseCurrency()
1161 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.c74 const UNumberFormat *numformat1, *numformat2; in TestDateFormat()
75 UNumberFormat *adoptNF; in TestDateFormat()
1183 static UChar* myNumformat(const UNumberFormat* numfor, double d) in myNumformat()
1620 const UNumberFormat* getter_result; in TestOverrideNumberFormat()
1633 UNumberFormat* overrideFmt; in TestOverrideNumberFormat()
1646 UNumberFormat* overrideFmt; in TestOverrideNumberFormat()
1657 UNumberFormat* overrideFmt2; in TestOverrideNumberFormat()
1672 UNumberFormat* singleOverrideFmt; in TestOverrideNumberFormat()
Dcloctst.c2494 UNumberFormat *obj; in TestGetLocale()
/external/icu/icu4c/source/samples/numfmt/
Dcapi.c19 UNumberFormat *fmt; in capi()
/external/icu/icu4c/source/samples/cal/
Dcal.c427 UNumberFormat *nfmt; in print_month()
544 UNumberFormat *nfmt; in print_year()
/external/icu/icu4c/source/io/unicode/
Dustdio.h475 U_STABLE const UNumberFormat* U_EXPORT2 u_fgetNumberFormat(UFILE *f);
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp6682 UNumberFormat* fmt = unum_open(UNUM_PATTERN_DECIMAL,pattern,1,NULL,NULL,&status); in Test9087()