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
398 U_STABLE UNumberFormat* U_EXPORT2
414 unum_close(UNumberFormat* fmt);
429 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, UNumberFormat, unum_close);
443 U_STABLE UNumberFormat* U_EXPORT2
444 unum_clone(const UNumberFormat *fmt,
472 unum_format( const UNumberFormat* fmt,
504 unum_formatInt64(const UNumberFormat *fmt,
536 unum_formatDouble( const UNumberFormat* fmt,
572 unum_formatDecimal( const UNumberFormat* fmt,
[all …]
Dudat.h1207 U_STABLE const UNumberFormat* U_EXPORT2
1219 U_STABLE const UNumberFormat* U_EXPORT2
1240 UNumberFormat* numberFormatToSet,
1256 const UNumberFormat* numberFormatToSet);
1268 UNumberFormat* numberFormatToAdopt);
/external/icu/icu4c/source/i18n/
Dunum.cpp38 U_CAPI UNumberFormat* U_EXPORT2
136 return reinterpret_cast<UNumberFormat *>(retVal); in unum_open()
140 unum_close(UNumberFormat* fmt) in unum_close()
145 U_CAPI UNumberFormat* U_EXPORT2
146 unum_clone(const UNumberFormat *fmt, in unum_clone()
168 return (UNumberFormat*) res; in unum_clone()
172 unum_format( const UNumberFormat* fmt, in unum_format()
183 unum_formatInt64(const UNumberFormat* fmt, in unum_formatInt64()
216 unum_formatDouble( const UNumberFormat* fmt, in unum_formatDouble()
250 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.c354 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*);
Dcnumtst.c109 UNumberFormat* nf; in TestInt64Parse()
171 UNumberFormat *pattern; in TestNumberFormat()
172 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
811 UNumberFormat* dec_en; in TestNumberFormat()
833 UNumberFormat *fmt; in TestNumberFormat()
933 UNumberFormat *fmt = unum_open(UNUM_DEFAULT, NULL, 0, NULL, NULL, &status); in TestNumberFormat()
979UNumberFormat* unum = unum_open( UNUM_DECIMAL /*or UNUM_DEFAULT*/, NULL, -1, NULL, NULL, &errorCod… in TestParseZero()
981UNumberFormat* unum = unum_open( UNUM_PATTERN_DECIMAL /*needs pattern*/, pat, -1, NULL, NULL, &err… in TestParseZero()
1051 UNumberFormat* unum; in TestParseCurrency()
1163 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
[all …]
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 …]
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()
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()
Dcloctst.c2542 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.h473 U_STABLE const UNumberFormat* U_EXPORT2 u_fgetNumberFormat(UFILE *f);
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7126 UNumberFormat* fmt = unum_open(UNUM_PATTERN_DECIMAL,pattern,1,NULL,NULL,&status); in Test9087()