Home
last modified time | relevance | path

Searched refs:isCurrency (Results 1 - 8 of 8) sorted by relevance

/third_party/icu/icu4c/source/i18n/
H A Dnumber_formatimpl.cpp136 bool isCurrency = utils::unitIsCurrency(macros.unit); in macrosToMicroGenerator() local
147 if (isCurrency) { in macrosToMicroGenerator()
160 bool isCldrUnit = !isCurrency in macrosToMicroGenerator()
196 if (isCurrency) { in macrosToMicroGenerator()
209 if (isCurrency && fMicros.symbols->getCurrencyPattern() != nullptr) { in macrosToMicroGenerator()
218 } else if (!isCurrency || unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator()
277 } else if (isCurrency) { in macrosToMicroGenerator()
332 fMicros.useCurrency = isCurrency; in macrosToMicroGenerator()
358 !isCompactNotation || isCurrency == macros.affixProvider->hasCurrencySign()) in macrosToMicroGenerator()
428 } else if (isCurrency in macrosToMicroGenerator()
[all...]
H A Dmeasfmt.cpp175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() function
685 if (isCurrency(amtUnit)) { in formatMeasure()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_formatimpl.cpp136 bool isCurrency = utils::unitIsCurrency(macros.unit); in macrosToMicroGenerator() local
147 if (isCurrency) { in macrosToMicroGenerator()
160 bool isCldrUnit = !isCurrency in macrosToMicroGenerator()
196 if (isCurrency) { in macrosToMicroGenerator()
209 if (isCurrency && fMicros.simple.symbols->getCurrencyPattern() != nullptr) { in macrosToMicroGenerator()
218 } else if (!isCurrency || unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator()
277 } else if (isCurrency) { in macrosToMicroGenerator()
332 fMicros.simple.useCurrency = isCurrency; in macrosToMicroGenerator()
358 !isCompactNotation || isCurrency == macros.affixProvider->hasCurrencySign()) in macrosToMicroGenerator()
428 } else if (isCurrency in macrosToMicroGenerator()
[all...]
H A Dmeasfmt.cpp175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() function
685 if (isCurrency(amtUnit)) { in formatMeasure()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberFormatterImpl.java190 boolean isCurrency = unitIsCurrency(macros.unit); in macrosToMicroGenerator()
199 Currency currency = isCurrency ? (Currency) macros.unit : DEFAULT_CURRENCY; in macrosToMicroGenerator()
210 boolean isCldrUnit = !isCurrency in macrosToMicroGenerator()
239 if (isCurrency) { in macrosToMicroGenerator()
247 if (isCurrency && micros.symbols.getCurrencyPattern() != null) { in macrosToMicroGenerator()
256 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
296 } else if (isCurrency) { in macrosToMicroGenerator()
352 micros.useCurrency = isCurrency; in macrosToMicroGenerator()
368 !isCompactNotation || isCurrency == macros.affixProvider.hasCurrencySign())) in macrosToMicroGenerator()
445 } else if (isCurrency in macrosToMicroGenerator()
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_formatimpl.cpp136 bool isCurrency = utils::unitIsCurrency(macros.unit); in macrosToMicroGenerator() local
147 if (isCurrency) { in macrosToMicroGenerator()
160 bool isCldrUnit = !isCurrency in macrosToMicroGenerator()
196 if (isCurrency) { in macrosToMicroGenerator()
209 if (isCurrency && fMicros.symbols->getCurrencyPattern() != nullptr) { in macrosToMicroGenerator()
218 } else if (!isCurrency || unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator()
277 } else if (isCurrency) { in macrosToMicroGenerator()
332 fMicros.useCurrency = isCurrency; in macrosToMicroGenerator()
420 } else if (isCurrency && unitWidth == UNUM_UNIT_WIDTH_FULL_NAME) { in macrosToMicroGenerator()
437 CompactType compactType = (isCurrency in macrosToMicroGenerator()
[all...]
H A Dmeasfmt.cpp175 static UBool isCurrency(const MeasureUnit &unit) { in isCurrency() function
685 if (isCurrency(amtUnit)) { in formatMeasure()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DNumberFormatterImpl.java184 boolean isCurrency = unitIsCurrency(macros.unit); in macrosToMicroGenerator()
191 Currency currency = isCurrency ? (Currency) macros.unit : DEFAULT_CURRENCY; in macrosToMicroGenerator()
196 boolean isCldrUnit = !isCurrency && !isNoUnit && in macrosToMicroGenerator()
215 if (isCurrency) { in macrosToMicroGenerator()
223 if (isCurrency && micros.symbols.getCurrencyPattern() != null) { in macrosToMicroGenerator()
232 } else if (!isCurrency || unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()
260 } else if (isCurrency) { in macrosToMicroGenerator()
313 micros.useCurrency = isCurrency; in macrosToMicroGenerator()
350 } else if (isCurrency && unitWidth == UnitWidth.FULL_NAME) { in macrosToMicroGenerator()

Completed in 9 milliseconds