Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/i18n/unicode/
Dunum.h137 typedef void* UNumberFormat; typedef
417 U_STABLE UNumberFormat* U_EXPORT2
433 unum_close(UNumberFormat* fmt);
448 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, UNumberFormat, unum_close);
462 U_STABLE UNumberFormat* U_EXPORT2
463 unum_clone(const UNumberFormat *fmt,
491 unum_format( const UNumberFormat* fmt,
523 unum_formatInt64(const UNumberFormat *fmt,
555 unum_formatDouble( const UNumberFormat* fmt,
606 unum_formatDoubleForFields(const UNumberFormat* format,
[all …]
Dudat.h1221 U_CAPI const UNumberFormat* U_EXPORT2
1233 U_CAPI const UNumberFormat* U_EXPORT2
1254 UNumberFormat* numberFormatToSet,
1270 const UNumberFormat* numberFormatToSet);
1282 UNumberFormat* numberFormatToAdopt);
Dupluralrules.h172 const UNumberFormat *fmt,
Dureldatefmt.h219 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()
251 unum_formatDoubleForFields(const UNumberFormat* format, in unum_formatDoubleForFields()
[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()
Dupluralrules.cpp62 const UNumberFormat *fmt, in uplrules_selectWithFormat()
/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.cpp124 u_printf_set_sign(UNumberFormat *format, in u_printf_set_sign()
163 u_printf_reset_sign(UNumberFormat *format, in u_printf_reset_sign()
285 UNumberFormat *format; in u_printf_double_handler()
361 UNumberFormat *format; in u_printf_integer_handler()
498 UNumberFormat *format; in u_printf_uinteger_handler()
568 UNumberFormat *format; in u_printf_scientific_handler()
688 UNumberFormat *format; in u_printf_percent_handler()
815 UNumberFormat *format; in u_printf_scidbl_handler()
891 UNumberFormat *format; in u_printf_spellout_handler()
Duscanf_p.cpp341 UNumberFormat *format, in u_scanf_skip_leading_positive_sign()
437 UNumberFormat *format; in u_scanf_double_handler()
505 UNumberFormat *format; in u_scanf_scientific_handler()
605 UNumberFormat *scientificFormat, *genericFormat; in u_scanf_scidbl_handler()
698 UNumberFormat *format; in u_scanf_integer_handler()
774 UNumberFormat *format; in u_scanf_percent_handler()
1007 UNumberFormat *format; in u_scanf_spellout_handler()
Dufile.cpp337 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/
Dcnumtst.c115 UNumberFormat* nf; in TestInt64Parse()
177 UNumberFormat *pattern; in TestNumberFormat()
178 UNumberFormat *def, *fr, *cur_def, *cur_fr, *per_def, *per_fr, in TestNumberFormat()
817 UNumberFormat* dec_en; in TestNumberFormat()
839 UNumberFormat *fmt; in TestNumberFormat()
939 UNumberFormat *fmt = unum_open(UNUM_DEFAULT, NULL, 0, NULL, NULL, &status); in TestNumberFormat()
985UNumberFormat* unum = unum_open( UNUM_DECIMAL /*or UNUM_DEFAULT*/, NULL, -1, NULL, NULL, &errorCod… in TestParseZero()
987UNumberFormat* unum = unum_open( UNUM_PATTERN_DECIMAL /*needs pattern*/, pat, -1, NULL, NULL, &err… in TestParseZero()
1058 UNumberFormat* unum; in TestParseCurrency()
1172 UNumberFormat *nf = unum_open(UNUM_SPELLOUT, NULL, 0, testPtr->locale, NULL, &status); in TestSpelloutNumberParse()
[all …]
Dcnmdptst.h56 static void roundingTest(UNumberFormat*, double, int32_t, const char*);
57 static void roundingTest2(UNumberFormat*, double, int32_t, const char*);
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()
Dcpluralrulestest.c79 UNumberFormat* unumfmt; in TestPluralRules()
Dcrelativedateformattest.c148 UNumberFormat* nfToAdopt = NULL; in TestRelDateFmt()
/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/libtextclassifier/util/utf8/
Dunilib-icu.cc25 UNumberFormat* format_alias = in ParseInt32()

12