Home
last modified time | relevance | path

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

/base/global/i18n_standard/frameworks/intl/src/
Dnumber_format.cpp109 for (icu::MeasureUnit curUnit : unitArray) { in InitProperties() local
110 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() local
280 if (!strcmp(curUnit.getSubtype(), preferredUnit.c_str())) { in Format()
281 numberFormat = numberFormat.unit(curUnit); in Format()
Dmeasure_data.cpp559 for (icu::MeasureUnit curUnit : unitArray) { in Convert() local
560 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()