Home
last modified time | relevance | path

Searched refs:curUnit (Results 1 – 2 of 2) sorted by relevance

/base/global/i18n/frameworks/intl/src/
Dnumber_format.cpp124 for (icu::MeasureUnit curUnit : unitArray) { in InitProperties() local
125 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() local
277 if (!strcmp(curUnit.getSubtype(), preferredUnit.c_str())) { in SetUnit()
278 numberFormat = numberFormat.unit(curUnit); in SetUnit()
Dmeasure_data.cpp562 for (icu::MeasureUnit curUnit : unitArray) { in Convert() local
563 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()