Home
last modified time | relevance | path

Searched refs:decimalSeparator (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
Ddigitlst.cpp416 char decimalSeparator; in getDouble() local
424 decimalSeparator = gDecimal; in getDouble()
427 if (decimalSeparator == 0) { in getDouble()
434 decimalSeparator = rep[2]; in getDouble()
472 if (decimalSeparator != '.') { in getDouble()
475 *decimalPt = decimalSeparator; in getDouble()
485 gDecimal = decimalSeparator; in getDouble()
818 char *decimalSeparator = strchr(rep, ','); in set() local
819 if (decimalSeparator != NULL) { in set()
820 *decimalSeparator = '.'; in set()
Ddecimfmt.cpp4823 UnicodeString decimalSeparator ((UChar)kPatternDecimalSeparator); in applyPatternWithoutExpandAffix() local
4837decimalSeparator. remove().append(getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol)); in applyPatternWithoutExpandAffix()
4850 int32_t decimalSepLen = decimalSeparator.length(); in applyPatternWithoutExpandAffix()
4950 } else if (pattern.compare(pos, decimalSepLen, decimalSeparator) == 0) { in applyPatternWithoutExpandAffix()
5027 !pattern.compare(pos, decimalSepLen, decimalSeparator) || in applyPatternWithoutExpandAffix()
/external/icu/icu4c/source/i18n/
Ddigitlst.cpp412 char decimalSeparator; in getDouble() local
420 decimalSeparator = gDecimal; in getDouble()
423 if (decimalSeparator == 0) { in getDouble()
430 decimalSeparator = rep[2]; in getDouble()
468 if (decimalSeparator != '.') { in getDouble()
471 *decimalPt = decimalSeparator; in getDouble()
481 gDecimal = decimalSeparator; in getDouble()
814 char *decimalSeparator = strchr(rep, ','); in set() local
815 if (decimalSeparator != NULL) { in set()
816 *decimalSeparator = '.'; in set()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DLocaleMacTest.cpp169 String decimalSeparator(const String& localeString) in decimalSeparator() function in LocaleMacTest
343 TEST_F(LocaleMacTest, decimalSeparator) in TEST_F() argument
345 EXPECT_STREQ(".", decimalSeparator("en_US").utf8().data()); in TEST_F()
346 EXPECT_STREQ(",", decimalSeparator("fr_FR").utf8().data()); in TEST_F()
353 EXPECT_STREQ(decimalSeparator("en_US").utf8().data(), decimalSeparator("foo").utf8().data()); in TEST_F()
DLocaleWinTest.cpp148 String decimalSeparator(LCID lcid) in decimalSeparator() function in LocaleWinTest
258 TEST_F(LocaleWinTest, decimalSeparator) in TEST_F() argument
260 EXPECT_STREQ(".", decimalSeparator(EnglishUS).utf8().data()); in TEST_F()
261 EXPECT_STREQ(",", decimalSeparator(FrenchFR).utf8().data()); in TEST_F()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DLocaleMac.mm315 symbols.append([formatter.get() decimalSeparator]);