Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumber_rounding.cpp352 uprv_max(0, -getDisplayMagnitudeFraction(fPrecision.fUnion.fracSig.fMinFrac)), in apply()
362uprv_max(0, -getDisplayMagnitudeSignificant(value, fPrecision.fUnion.fracSig.fMinSig)), in apply()
378 roundingMag = uprv_max(roundingMag, candidate); in apply()
387 value.setFractionLength(uprv_max(0, -displayMag), INT32_MAX); in apply()
Dnumber_patternstring.cpp516 minFrac = uprv_max(1, positive.fractionNumerals); in patternInfoToProperties()
658 int minInt = uprv_max(uprv_min(properties.minimumIntegerDigits, dosMax), 0); in propertiesToPatternString()
660 int minFrac = uprv_max(uprv_min(properties.minimumFractionDigits, dosMax), 0); in propertiesToPatternString()
742 int m0 = uprv_max(groupingLength, digitsString.length() + digitsStringScale); in propertiesToPatternString()
743 m0 = (maxInt != dosMax) ? uprv_max(maxInt, m0) - 1 : m0 - 1; in propertiesToPatternString()
Dnumber_grouping.cpp83 fMinGrouping = static_cast<int16_t>(uprv_max(2, getMinGroupingForLocale(locale))); in setLocaleData()
Dnumfmt.cpp1104 fMaxIntegerDigits = uprv_max(0, uprv_min(newValue, gDefaultMaxIntegerDigits)); in setMaximumIntegerDigits()
1126 fMinIntegerDigits = uprv_max(0, uprv_min(newValue, gDefaultMinIntegerDigits)); in setMinimumIntegerDigits()
1148 fMaxFractionDigits = uprv_max(0, uprv_min(newValue, gDefaultMaxIntegerDigits)); in setMaximumFractionDigits()
1170 fMinFractionDigits = uprv_max(0, uprv_min(newValue, gDefaultMinIntegerDigits)); in setMinimumFractionDigits()
Danytrans.cpp263 pos.start = uprv_max(allStart, it.start); in handleTransliterate()
Drbt_rule.cpp461 pos.start = uprv_max(minOText, uprv_min(uprv_min(oText, pos.limit), newStart)); in matchAndReplace()
Dgregocal.cpp807 ? uprv_max(stamp_a, stamp_b) in aggregateStamp()
Dtranslit.cpp415 index.contextStart = uprv_max(newCS, originalStart); in _transliterate()
Dnumber_decimalquantity.cpp648 int32_t minP = uprv_max(0, precision - 14); in roundToMagnitude()
Drbt_pars.cpp1483 int32_t start = uprv_max(pos - LEN, 0); in syntaxError()
/external/icu/icu4c/source/common/
Dumath.cpp16 uprv_max(int32_t x, int32_t y) in uprv_max() function
Dputilimp.h348 U_INTERNAL int32_t U_EXPORT2 uprv_max(int32_t d, int32_t y);
/external/icu/icu4c/source/test/cintltst/
Dputiltst.c100 doAssert(uprv_max(4, 2), 4, "uprv_max(4, 2) failed."); in TestPUtilAPI()
/external/icu/libandroidicu/include/unicode/
Durename.h1384 #define uprv_max U_ICU_ENTRY_POINT_RENAME(uprv_max) macro
/external/icu/icu4c/source/common/unicode/
Durename.h1384 #define uprv_max U_ICU_ENTRY_POINT_RENAME(uprv_max) macro