Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DMeasureUnitImpl.java153 SingleUnitImpl oldUnit = null; in appendSingleUnit() local
156 oldUnit = candidate; in appendSingleUnit()
161 if (oldUnit != null) { in appendSingleUnit()
164 oldUnit.setDimensionality(oldUnit.getDimensionality() + singleUnit.getDimensionality()); in appendSingleUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DMeasureUnitImpl.java149 SingleUnitImpl oldUnit = null; in appendSingleUnit() local
152 oldUnit = candidate; in appendSingleUnit()
157 if (oldUnit != null) { in appendSingleUnit()
160 oldUnit.setDimensionality(oldUnit.getDimensionality() + singleUnit.getDimensionality()); in appendSingleUnit()
/external/icu/icu4c/source/i18n/
Dmeasunit_extra.cpp740 SingleUnitImpl* oldUnit = nullptr; in appendImpl() local
744 oldUnit = candidate; in appendImpl()
747 if (oldUnit) { in appendImpl()
750 oldUnit->dimensionality += unit.dimensionality; in appendImpl()
759 return (oldUnit == nullptr); in appendImpl()