Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValue.cpp880 static String formatNumber(double number, const char* suffix, unsigned suffixLength) in formatNumber() function
895 ALWAYS_INLINE static String formatNumber(double number, const char (&characters)[characterCount]) in formatNumber() function
897 return formatNumber(number, characters, characterCount - 1); in formatNumber()
917 text = formatNumber(m_value.num, ""); in customCSSText()
920 text = formatNumber(m_value.num, "%"); in customCSSText()
923 text = formatNumber(m_value.num, "em"); in customCSSText()
926 text = formatNumber(m_value.num, "ex"); in customCSSText()
929 text = formatNumber(m_value.num, "rem"); in customCSSText()
932 text = formatNumber(m_value.num, "ch"); in customCSSText()
935 text = formatNumber(m_value.num, "px"); in customCSSText()
[all …]
/external/chromium_org/third_party/icu/source/test/perf/perldriver/
DFormat.pm55 sub formatNumber { subroutine
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
121 formatNumber($sigdig, 100, $a, $delta) . '%';
DOutput.pm62 print HTML formatNumber(2, $mult, $mean);
75 print HTML formatNumber(2, $mult, $error);
305 …rint HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalu…
/external/icu4c/test/perf/perldriver/
DFormat.pm55 sub formatNumber { subroutine
103 formatNumber($sigdig, $MULT[$i], $a, $delta) . ' ' . $SUFF[$i];
121 formatNumber($sigdig, 100, $a, $delta) . '%';
DOutput.pm62 print HTML formatNumber(2, $mult, $mean);
75 print HTML formatNumber(2, $mult, $error);
305 …rint HTML "<td class=\"sepvalue\">".formatNumber(4, $mult, $ds->getMean)."</td><td class=\"sepvalu…
/external/icu4c/i18n/
Dmsgfmt.cpp607 int32_t formatNumber = 0; in adoptFormats() local
610 formatNumber < count && U_SUCCESS(status) && in adoptFormats()
612 setCustomArgStartFormat(partIndex, newFormats[formatNumber], status); in adoptFormats()
613 ++formatNumber; in adoptFormats()
616 for (; formatNumber < count; ++formatNumber) { in adoptFormats()
617 delete newFormats[formatNumber]; in adoptFormats()
641 int32_t formatNumber = 0; in setFormats() local
643formatNumber < count && U_SUCCESS(status) && (partIndex = nextTopLevelArgStart(partIndex)) >= 0;) { in setFormats()
645 if (newFormats[formatNumber] != NULL) { in setFormats()
646 newFormat = newFormats[formatNumber]->clone(); in setFormats()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dmsgfmt.cpp602 int32_t formatNumber = 0; in applyPattern() local
666 makeFormat(formatNumber, segments, parseError,ec); in applyPattern()
670 formatNumber++; in applyPattern()
1497 MessageFormat::makeFormat(int32_t formatNumber, in makeFormat() argument
1509 if ( (isArgNumeric==TRUE) && (formatNumber !=0) ) { in makeFormat()
1514 argumentNumber=formatNumber; in makeFormat()
1643 if (!allocateSubformats(formatNumber+1) || in makeFormat()
1654 subformats[formatNumber].format = fmt; in makeFormat()
1655 subformats[formatNumber].offset = segments[0].length(); in makeFormat()
1657 subformats[formatNumber].argName = NULL; in makeFormat()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DPhoneNumberUtilTest.java15 assertThat(PhoneNumberUtils.formatNumber("12345678901"), equalTo("12345678901-formatted")); in testFormatNumber()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPhoneNumberUtils.java11 public static java.lang.String formatNumber(java.lang.String source) { in formatNumber() method in ShadowPhoneNumberUtils
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dmsgfmt.h477 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
488 virtual void setFormat(int32_t formatNumber, const Format& format);
/external/chromium_org/chrome/browser/resources/
Dabout_memory.js13 function formatNumber(str) { function
/external/icu4c/i18n/unicode/
Dmsgfmt.h541 virtual void adoptFormat(int32_t formatNumber, Format* formatToAdopt);
552 virtual void setFormat(int32_t formatNumber, const Format& format);
/external/chromium_org/v8/src/
Di18n.js1303 function formatNumber(formatter, value) { function
1319 addBoundMethod(Intl.NumberFormat, 'format', formatNumber, 1);
2006 return formatNumber(numberFormat, this);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/
Dbackground.js6 function formatNumber(str) { function
/external/chromium-trace/trace-viewer/test_data/
Dv8.log1263 code-creation,Function,0,0x4242a6a0,300,"formatNumber v8/i18n:390",0x2343b478,