Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Dunum.h136 typedef void* UNumberFormat; typedef
411 U_STABLE UNumberFormat* U_EXPORT2
427 unum_close(UNumberFormat* fmt);
442 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, UNumberFormat, unum_close);
456 U_STABLE UNumberFormat* U_EXPORT2
457 unum_clone(const UNumberFormat *fmt,
485 unum_format( const UNumberFormat* fmt,
517 unum_formatInt64(const UNumberFormat *fmt,
549 unum_formatDouble( const UNumberFormat* fmt,
585 unum_formatDecimal( const UNumberFormat* fmt,
[all …]
Dudat.h1223 U_STABLE const UNumberFormat* U_EXPORT2
1235 U_STABLE const UNumberFormat* U_EXPORT2
1256 UNumberFormat* numberFormatToSet,
1272 const UNumberFormat* numberFormatToSet);
1284 UNumberFormat* numberFormatToAdopt);
Dureldatefmt.h223 UNumberFormat* nfToAdopt,
/external/icu/icu4c/source/i18n/
Dunum.cpp40 U_CAPI UNumberFormat* U_EXPORT2
138 return reinterpret_cast<UNumberFormat *>(retVal); in unum_open()
142 unum_close(UNumberFormat* fmt) in unum_close()
147 U_CAPI UNumberFormat* U_EXPORT2
148 unum_clone(const UNumberFormat *fmt, in unum_clone()
170 return (UNumberFormat*) res; in unum_clone()
174 unum_format( const UNumberFormat* fmt, in unum_format()
185 unum_formatInt64(const UNumberFormat* fmt, in unum_formatInt64()
218 unum_formatDouble( const UNumberFormat* fmt, in unum_formatDouble()
252 unum_formatDecimal(const UNumberFormat* fmt, in unum_formatDecimal()
[all …]
Dudat.cpp451 U_DRAFT const UNumberFormat* U_EXPORT2
456 if (U_FAILURE(status)) return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormatForField()
457 return (const UNumberFormat*) ((SimpleDateFormat*)fmt)->getNumberFormatForField(field); in udat_getNumberFormatForField()
460 U_CAPI const UNumberFormat* U_EXPORT2
463 return (const UNumberFormat*) ((DateFormat*)fmt)->getNumberFormat(); in udat_getNumberFormat()
469 UNumberFormat* numberFormatToSet, in udat_adoptNumberFormatForFields()
483 const UNumberFormat* numberFormatToSet) in udat_setNumberFormat()
490 UNumberFormat* numberFormatToAdopt) in udat_adoptNumberFormat()
Dreldatefmt.cpp1021 UNumberFormat* nfToAdopt, in ureldatefmt_open()
/external/icu/icu4c/source/io/
Dlocbund.cpp35 static UNumberFormat *gPosixNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
49 static inline UNumberFormat * copyInvariantFormatter(ULocaleBundle *result, UNumberFormatStyle styl… in copyInvariantFormatter()
55 UNumberFormat *formatAlias = unum_open(style, NULL, 0, "en_US_POSIX", NULL, &status); in copyInvariantFormatter()
159 U_CAPI UNumberFormat *
162 UNumberFormat *formatAlias = NULL; in u_locbund_getNumberFormat()
Dlocbund.h35 UNumberFormat *fNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT];
77 U_CAPI UNumberFormat *
Duprntf_p.c124 u_printf_set_sign(UNumberFormat *format, in u_printf_set_sign()
163 u_printf_reset_sign(UNumberFormat *format, in u_printf_reset_sign()
280 UNumberFormat *format; in u_printf_double_handler()
356 UNumberFormat *format; in u_printf_integer_handler()
491 UNumberFormat *format; in u_printf_uinteger_handler()
560 UNumberFormat *format; in u_printf_scientific_handler()
680 UNumberFormat *format; in u_printf_percent_handler()
805 UNumberFormat *format; in u_printf_scidbl_handler()
878 UNumberFormat *format; in u_printf_spellout_handler()
Duscanf_p.c341 UNumberFormat *format, in u_scanf_skip_leading_positive_sign()
425 UNumberFormat *format; in u_scanf_double_handler()
490 UNumberFormat *format; in u_scanf_scientific_handler()
587 UNumberFormat *scientificFormat, *genericFormat; in u_scanf_scidbl_handler()
677 UNumberFormat *format; in u_scanf_integer_handler()
750 UNumberFormat *format; in u_scanf_percent_handler()
974 UNumberFormat *format; in u_scanf_spellout_handler()
Dufile.c356 U_CAPI const UNumberFormat* U_EXPORT2 u_fgetNumberFormat(UFILE *file) in u_fgetNumberFormat()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp265 UNumberFormat *fFmt;
283 virtual UNumberFormat* initFmt() { in initFmt()
348 virtual UNumberFormat* initFmt() { in initFmt()
349 UNumberFormat *fmt = NumTest::initFmt(); in initFmt()
376 virtual UNumberFormat* initFmt() { in initFmt()
377 UNumberFormat *fmt = NumTest::initFmt(); in initFmt()
393 UNumberFormat *fFmt;
411 virtual UNumberFormat* initFmt() { in initFmt()
478 UNumberFormat *fFmt;
496 virtual UNumberFormat* initFmt() { in initFmt()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.h56 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
57 static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
Dcnumtst.c111 UNumberFormat* nf; in TestInt64Parse()
173 UNumberFormat *pattern; in TestNumberFormat()
174 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
813 UNumberFormat* dec_en; in TestNumberFormat()
835 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()
1054 UNumberFormat* unum; in TestParseCurrency()
1166 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
[all …]
Dcnmdptst.c64 UNumberFormat *fmt; in TestPatterns()
130 UNumberFormat *fmt; in TestQuotes()
193 UNumberFormat *fmt; in TestExponential()
343 UNumberFormat *fmt; in TestCurrencySign()
415 UNumberFormat *currencyFmt; in TestCurrency()
462 UNumberFormat *currencyFmt; in TestCurrencyPreEuro()
532 UNumberFormat *currencyFmt; in TestCurrencyObject()
616 UNumberFormat *nnf; in TestRounding487()
640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest()
683 UNumberFormat *def; in TestDoubleAttribute()
[all …]
Dcdattst.h54 static UChar* myNumformat(const UNumberFormat* numfor, double d);
Dcurrtest.c162 UNumberFormat *fmt = unum_open(UNUM_CURRENCY, NULL, 0, "hu_HU", NULL, &status); in TestFractionDigitOverride()
199 UNumberFormat* parser; in TestPrefixSuffix()
Dcdattst.c74 const UNumberFormat *numformat1, *numformat2; in TestDateFormat()
75 UNumberFormat *adoptNF; in TestDateFormat()
1187 static UChar* myNumformat(const UNumberFormat* numfor, double d) in myNumformat()
1624 const UNumberFormat* getter_result; in TestOverrideNumberFormat()
1637 UNumberFormat* overrideFmt; in TestOverrideNumberFormat()
1650 UNumberFormat* overrideFmt; in TestOverrideNumberFormat()
1661 UNumberFormat* overrideFmt2; in TestOverrideNumberFormat()
1676 UNumberFormat* singleOverrideFmt; in TestOverrideNumberFormat()
Dcrelativedateformattest.c148 UNumberFormat* nfToAdopt = NULL; in TestRelDateFmt()
Dcloctst.c2547 UNumberFormat *obj; in TestGetLocale()
/external/icu/icu4c/source/samples/numfmt/
Dcapi.c23 UNumberFormat *fmt; in capi()
/external/icu/icu4c/source/samples/cal/
Dcal.c431 UNumberFormat *nfmt; in print_month()
548 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.cpp7128 UNumberFormat* fmt = unum_open(UNUM_PATTERN_DECIMAL,pattern,1,NULL,NULL,&status); in Test9087()