Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h208 const MeasureUnit &perUnit,
362 const MeasureUnit &perUnit,
Dmeasunit.h200 const MeasureUnit &unit, const MeasureUnit &perUnit);
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp760 const MeasureUnit &perUnit, in formatMeasurePerUnit() argument
768 MeasureUnit::resolveUnitPerUnit(measure.getUnit(), perUnit); in formatMeasurePerUnit()
779 perUnit, in formatMeasurePerUnit()
1164 const MeasureUnit &perUnit, in withPerUnitAndAppend() argument
1171 const SimpleFormatter *perUnitFormatter = getFormatterOrNull(perUnit, width, PER_UNIT_INDEX); in withPerUnitAndAppend()
1185 getPluralFormatter(perUnit, width, StandardPlural::ONE, status); in withPerUnitAndAppend()
Dmeasunit.cpp1215 const MeasureUnit &unit, const MeasureUnit &perUnit) { in resolveUnitPerUnit() argument
1217 int32_t perUnitOffset = perUnit.getOffset(); in resolveUnitPerUnit()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java482 MeasureUnit perUnit, in formatMeasurePerUnit() argument
486 measure.getUnit(), perUnit); in formatMeasurePerUnit()
495 perUnit, in formatMeasurePerUnit()
1025 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
1028 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
1034 String pattern = getPluralFormatter(perUnit, formatWidth, StandardPlural.ONE.ordinal()); in withPerUnitAndAppend()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java500 MeasureUnit perUnit, in formatMeasurePerUnit() argument
504 measure.getUnit(), perUnit); in formatMeasurePerUnit()
513 perUnit, in formatMeasurePerUnit()
1054 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
1057 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
1063 String pattern = getPluralFormatter(perUnit, formatWidth, StandardPlural.ONE.ordinal()); in withPerUnitAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java202 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
203 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java212 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
213 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1600 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1614 perUnit, in testSimplePer()
2055 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
2056 if (unit != null && perUnit != null) { in getUnitsToPerParts()
2057 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1597 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1611 perUnit, in testSimplePer()
2052 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
2053 if (unit != null && perUnit != null) { in getUnitsToPerParts()
2054 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp98 const MeasureUnit &perUnit,
105 const MeasureUnit &perUnit,
1684 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1691 perUnit, in helperTestSimplePer()
1703 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1722 perUnit, in helperTestSimplePer()