Searched refs:isCurrency (Results 1 – 7 of 7) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | number_formatimpl.cpp | 173 bool isCurrency = utils::unitIsCurrency(macros.unit); in macrosToMicroGenerator() local 177 bool isCldrUnit = !isCurrency && !isNoUnit; in macrosToMicroGenerator() 182 if (isCurrency) { in macrosToMicroGenerator() 223 if (isCurrency) { in macrosToMicroGenerator() 246 } else if (!isCurrency || unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator() 277 } else if (isCurrency) { in macrosToMicroGenerator() 331 fMicros.useCurrency = isCurrency; in macrosToMicroGenerator() 378 } else if (isCurrency && unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator() 396 CompactType compactType = (isCurrency && unitWidth != UNUM_UNIT_WIDTH_FULL_NAME) in macrosToMicroGenerator()
|
D | measfmt.cpp | 187 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() function 956 if (isCurrency(amtUnit)) { in formatMeasure()
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberFormatterImpl.java | 181 boolean isCurrency = unitIsCurrency(macros.unit); in macrosToMicroGenerator() 185 boolean isCldrUnit = !isCurrency && !isNoUnit; in macrosToMicroGenerator() 189 Currency currency = isCurrency ? (Currency) macros.unit : DEFAULT_CURRENCY; in macrosToMicroGenerator() 216 if (isCurrency) { in macrosToMicroGenerator() 231 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 259 } else if (isCurrency) { in macrosToMicroGenerator() 311 micros.useCurrency = isCurrency; in macrosToMicroGenerator() 349 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberFormatterImpl.java | 180 boolean isCurrency = unitIsCurrency(macros.unit); in macrosToMicroGenerator() 184 boolean isCldrUnit = !isCurrency && !isNoUnit; in macrosToMicroGenerator() 188 Currency currency = isCurrency ? (Currency) macros.unit : DEFAULT_CURRENCY; in macrosToMicroGenerator() 215 if (isCurrency) { in macrosToMicroGenerator() 230 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator() 258 } else if (isCurrency) { in macrosToMicroGenerator() 310 micros.useCurrency = isCurrency; in macrosToMicroGenerator() 348 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 966 final boolean isCurrency = !parts.contains("units"); in formatCountValue() 1005 if (isCurrency && phase == 0) { in formatCountValue() 1024 … resultItem = formatCurrency(value, type, unitType, isPattern, isCurrency, count, example); in formatCountValue() 1036 … resultItem = formatCurrency(value, type, currency, isPattern, isCurrency, count, example); in formatCountValue() 1058 … ExampleType type, String unitType, final boolean isPattern, final boolean isCurrency, Count count, in formatCurrency() argument 1069 unitName = getUnitName(unitType, isCurrency, count); in formatCurrency() 1070 … unitPattern = type != ExampleType.ENGLISH ? value : getUnitPattern(unitType, isCurrency, count); in formatCurrency() 1072 unitPattern = getUnitPattern(unitType, isCurrency, count); in formatCurrency() 1073 … unitName = type != ExampleType.ENGLISH ? value : getUnitName(unitType, isCurrency, count); in formatCurrency() 1110 private String getUnitPattern(String unitType, final boolean isCurrency, Count count) { in getUnitPattern() argument [all …]
|
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
D | JDBCResultSetMetaData.java | 163 public boolean isCurrency(int column) throws java.sql.SQLException { in isCurrency() method in JDBCResultSetMetaData
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ICUServiceBuilder.java | 823 private String getPattern(String key1, int isCurrency) { 826 if (isCurrency == CURRENCY)
|