Searched refs:curUnit (Results 1 – 2 of 2) sorted by relevance
109 for (icu::MeasureUnit curUnit : unitArray) { in InitProperties() local110 if (!strcmp(curUnit.getSubtype(), unit.c_str())) { in InitProperties()111 numberFormat = numberFormat.unit(curUnit); in InitProperties()112 unitType = curUnit.getType(); in InitProperties()279 for (icu::MeasureUnit curUnit : unitArray) { in Format() local280 if (!strcmp(curUnit.getSubtype(), preferredUnit.c_str())) { in Format()281 numberFormat = numberFormat.unit(curUnit); in Format()
559 for (icu::MeasureUnit curUnit : unitArray) { in Convert() local560 if (!strcmp(curUnit.getSubtype(), fromUnit.c_str())) { in Convert()561 fromUnitType = curUnit.getType(); in Convert()563 if (!strcmp(curUnit.getSubtype(), toUnit.c_str())) { in Convert()564 toUnitType = curUnit.getType(); in Convert()