Searched refs:curUnit (Results 1 – 2 of 2) sorted by relevance
124 for (icu::MeasureUnit curUnit : unitArray) { in InitProperties() local125 if (!strcmp(curUnit.getSubtype(), unit.c_str())) { in InitProperties()126 numberFormat = numberFormat.unit(curUnit); in InitProperties()127 unitType = curUnit.getType(); in InitProperties()276 for (icu::MeasureUnit curUnit : unitArray) { in SetUnit() local277 if (!strcmp(curUnit.getSubtype(), preferredUnit.c_str())) { in SetUnit()278 numberFormat = numberFormat.unit(curUnit); in SetUnit()
562 for (icu::MeasureUnit curUnit : unitArray) { in Convert() local563 if (!strcmp(curUnit.getSubtype(), fromUnit.c_str())) { in Convert()564 fromUnitType = curUnit.getType(); in Convert()566 if (!strcmp(curUnit.getSubtype(), toUnit.c_str())) { in Convert()567 toUnitType = curUnit.getType(); in Convert()