Home
last modified time | relevance | path

Searched refs:formatNumber (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/test/perf/perldriver/
DFormat.pm59 sub formatNumber { subroutine
107 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
125 formatNumber($sigdig, 100, $a, $delta) . '%';
DOutput.pm66 print HTML formatNumber(2, $mult, $mean);
79 print HTML formatNumber(2, $mult, $error);
309 …rint HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalu…
/external/icu/icu4j/perf-tests/perldriver/
DFormat.pm57 sub formatNumber { subroutine
105 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
123 formatNumber($sigdig, 100, $a, $delta) . '%';
DOutput.pm64 print HTML formatNumber(2, $mult, $mean);
77 print HTML formatNumber(2, $mult, $error);
307 …rint HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalu…
/external/icu/icu4j/perf-tests/
Ddecimalformatperf.pl385 sub formatNumber { subroutine
432 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
450 formatNumber($sigdig, 100, $a, $delta) . ' %';
Ddateformatperf.pl390 sub formatNumber { subroutine
437 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
455 formatNumber($sigdig, 100, $a, $delta) . ' %';
Ducharacterperf.pl387 sub formatNumber { subroutine
434 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
452 formatNumber($sigdig, 100, $a, $delta) . ' %';
Dunicodesetperf.pl377 sub formatNumber { subroutine
424 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
442 formatNumber($sigdig, 100, $a, $delta) . ' %';
Dnormperf.pl440 sub formatNumber { subroutine
487 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
505 formatNumber($sigdig, 100, $a, $delta) . ' %';
Dconverterperf.pl404 sub formatNumber { subroutine
451 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
469 formatNumber($sigdig, 100, $a, $delta) . ' %';
/external/icu/icu4c/source/i18n/
Dmsgfmt.cpp623 int32_t formatNumber = 0; in adoptFormats() local
626 formatNumber < count && U_SUCCESS(status) && in adoptFormats()
628 setCustomArgStartFormat(partIndex, newFormats[formatNumber], status); in adoptFormats()
629 ++formatNumber; in adoptFormats()
632 for (; formatNumber < count; ++formatNumber) { in adoptFormats()
633 delete newFormats[formatNumber]; in adoptFormats()
657 int32_t formatNumber = 0; in setFormats() local
659formatNumber < count && U_SUCCESS(status) && (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in setFormats()
661 if (newFormats[formatNumber] != NULL) { in setFormats()
662 newFormat = newFormats[formatNumber]->clone(); in setFormats()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dmsgfmt.h563 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
574 virtual void setFormat(int32_t formatNumber, const Format& format);
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPicker.java208 private String formatNumber(int value) { in formatNumber() method in NumberPicker
239 mText.setText(formatNumber(mCurrent)); in updateView()
/external/icu/libicu/cts_headers/unicode/
Dmsgfmt.h563 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
574 virtual void setFormat(int32_t formatNumber, const Format& format);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessageFormat.java687 int formatNumber = 0; in setFormats() local
689 formatNumber < newFormats.length && in setFormats()
691 setCustomArgStartFormat(partIndex, newFormats[formatNumber]); in setFormats()
692 ++formatNumber; in setFormats()
781 int formatNumber = 0; in setFormat() local
783 if (formatNumber == formatElementIndex) { in setFormat()
787 ++formatNumber; in setFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessageFormat.java645 int formatNumber = 0; in setFormats() local
647 formatNumber < newFormats.length && in setFormats()
649 setCustomArgStartFormat(partIndex, newFormats[formatNumber]); in setFormats()
650 ++formatNumber; in setFormats()
736 int formatNumber = 0; in setFormat() local
738 if (formatNumber == formatElementIndex) { in setFormat()
742 ++formatNumber; in setFormat()
/external/cldr/tools/java/org/unicode/cldr/tool/
DConvertLanguageData.java489 + "\t\"" + formatNumber(popData.getPopulation(), 0, false) + "\"" in checkBasicData()
706 + "\t" + formatNumber(a, 0, false) + "\t=>\t" + formatNumber(new_a, 0, false)); in showDiff()
866 return getExcelQuote(formatNumber(countryGdp, 0, false)); in getCountryGdpString()
874 return getExcelQuote(formatNumber(countryPopulation, 0, false)); in getCountryPopulationString()
889 : formatNumber(languagePopulation, 3, false)); in getLanguagePopulationString()
961 + " gdp=\"" + formatNumber(countryGDP, 4, true) + "\"" in writeTerritoryLanguageData()
963 + " population=\"" + formatNumber(countryPopulation, 6, true) + "\">"); in writeTerritoryLanguageData()
2116 public static String formatNumber(double original, int roundDigits, boolean xml) { in formatNumber() method in ConvertLanguageData
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABDbUtil.java130 String formattedNumber = formatNumber(contactNumber); in validateAndSyncFromContactsDb()
403 public static String formatNumber(String mdn) { in formatNumber() method in EABDbUtil
DEABService.java971 String formattedNumber = EABDbUtil.formatNumber(phoneNumber); in handlePhoneNumberInsertion()
1008 String newFormattedNumber = EABDbUtil.formatNumber(newPhoneNumber); in handlePhoneNumberChanged()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1578 String example = formatNumber(df, sampleAmount); in handleCurrencyFormat()
1579 example = addExampleResult(formatNumber(df, -sampleAmount), example); in handleCurrencyFormat()
1625 String example = formatNumber(numberFormat, sampleNum1); in handleDecimalFormat()
1626 example = addExampleResult(formatNumber(numberFormat, sampleNum2), example); in handleDecimalFormat()
1628 example = addExampleResult(formatNumber(numberFormat, -sampleNum2), example); in handleDecimalFormat()
1656 return formatNumber(numberFormat, numberSample); in formatCountDecimal()
1659 private String formatNumber(DecimalFormat format, double value) { in formatNumber() method in ExampleGenerator