Home
last modified time | relevance | path

Searched refs:patternKey (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_utils.cpp35 doGetPattern(UResourceBundle* res, const char* nsName, const char* patternKey, UErrorCode& publicSt… in doGetPattern() argument
42 key.append(patternKey, publicStatus); in doGetPattern()
54 const char* patternKey; in getPatternForStyle() local
57 patternKey = "decimalFormat"; in getPatternForStyle()
60 patternKey = "currencyFormat"; in getPatternForStyle()
63 patternKey = "accountingFormat"; in getPatternForStyle()
66 patternKey = "percentFormat"; in getPatternForStyle()
69 patternKey = "scientificFormat"; in getPatternForStyle()
72 patternKey = "decimalFormat"; // silence compiler error in getPatternForStyle()
81 pattern = doGetPattern(res.getAlias(), nsName, patternKey, status, localStatus); in getPatternForStyle()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java1590 String patternKey = null; in getPatternForStyleAndNumberingSystem() local
1595 patternKey = "decimalFormat"; in getPatternForStyleAndNumberingSystem()
1599 patternKey = (cfKeyValue != null && cfKeyValue.equals("account")) ? in getPatternForStyleAndNumberingSystem()
1605 patternKey = "currencyFormat"; in getPatternForStyleAndNumberingSystem()
1608 patternKey = "percentFormat"; in getPatternForStyleAndNumberingSystem()
1611 patternKey = "scientificFormat"; in getPatternForStyleAndNumberingSystem()
1614 patternKey = "accountingFormat"; in getPatternForStyleAndNumberingSystem()
1618 patternKey = "decimalFormat"; in getPatternForStyleAndNumberingSystem()
1626 "NumberElements/" + nsName + "/patterns/" + patternKey); in getPatternForStyleAndNumberingSystem()
1628 result = rb.getStringWithFallback("NumberElements/latn/patterns/" + patternKey); in getPatternForStyleAndNumberingSystem()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java1438 String patternKey = null; in getPatternForStyleAndNumberingSystem() local
1443 patternKey = "decimalFormat"; in getPatternForStyleAndNumberingSystem()
1447 patternKey = (cfKeyValue != null && cfKeyValue.equals("account")) ? in getPatternForStyleAndNumberingSystem()
1453 patternKey = "currencyFormat"; in getPatternForStyleAndNumberingSystem()
1456 patternKey = "percentFormat"; in getPatternForStyleAndNumberingSystem()
1459 patternKey = "scientificFormat"; in getPatternForStyleAndNumberingSystem()
1462 patternKey = "accountingFormat"; in getPatternForStyleAndNumberingSystem()
1466 patternKey = "decimalFormat"; in getPatternForStyleAndNumberingSystem()
1474 "NumberElements/" + nsName + "/patterns/" + patternKey); in getPatternForStyleAndNumberingSystem()
1476 result = rb.getStringWithFallback("NumberElements/latn/patterns/" + patternKey); in getPatternForStyleAndNumberingSystem()