Home
last modified time | relevance | path

Searched refs:perUnit (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h205 const MeasureUnit &perUnit,
347 const MeasureUnit &perUnit,
Dmeasunit.h199 const MeasureUnit &unit, const MeasureUnit &perUnit);
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp714 const MeasureUnit &perUnit, in formatMeasurePerUnit() argument
722 MeasureUnit::resolveUnitPerUnit(measure.getUnit(), perUnit); in formatMeasurePerUnit()
733 perUnit, in formatMeasurePerUnit()
1101 const MeasureUnit &perUnit, in withPerUnitAndAppend() argument
1109 getFormatterOrNull(perUnit, width, MeasureFormatCacheData::PER_UNIT_INDEX); in withPerUnitAndAppend()
1123 getPluralFormatter(perUnit, width, StandardPlural::ONE, status); in withPerUnitAndAppend()
Dmeasunit.cpp1168 const MeasureUnit &unit, const MeasureUnit &perUnit) { in resolveUnitPerUnit() argument
1170 int32_t perUnitOffset = perUnit.getOffset(); in resolveUnitPerUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java498 MeasureUnit perUnit, in formatMeasurePerUnit() argument
502 measure.getUnit(), perUnit); in formatMeasurePerUnit()
511 perUnit, in formatMeasurePerUnit()
996 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
999 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
1005 String pattern = getPluralFormatter(perUnit, formatWidth, StandardPlural.ONE.ordinal()); in withPerUnitAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java480 MeasureUnit perUnit, in formatMeasurePerUnit() argument
484 measure.getUnit(), perUnit); in formatMeasurePerUnit()
493 perUnit, in formatMeasurePerUnit()
969 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
972 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
978 String pattern = getPluralFormatter(perUnit, formatWidth, StandardPlural.ONE.ordinal()); in withPerUnitAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java195 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
196 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java205 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
206 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp88 const MeasureUnit &perUnit,
95 const MeasureUnit &perUnit,
1233 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1240 perUnit, in helperTestSimplePer()
1252 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1271 perUnit, in helperTestSimplePer()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1076 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1090 perUnit, in testSimplePer()
1405 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
1406 if (unit != null && perUnit != null) { in getUnitsToPerParts()
1407 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1080 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1094 perUnit, in testSimplePer()
1409 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
1410 if (unit != null && perUnit != null) { in getUnitsToPerParts()
1411 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()