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,
364 const MeasureUnit &perUnit,
Dmeasunit.h201 const MeasureUnit &unit, const MeasureUnit &perUnit);
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp752 const MeasureUnit &perUnit, in formatMeasurePerUnit() argument
760 MeasureUnit::resolveUnitPerUnit(measure.getUnit(), perUnit); in formatMeasurePerUnit()
771 perUnit, in formatMeasurePerUnit()
1157 const MeasureUnit &perUnit, in withPerUnitAndAppend() argument
1165 getFormatterOrNull(perUnit, width, MeasureFormatCacheData::PER_UNIT_INDEX); in withPerUnitAndAppend()
1179 getPluralFormatter(perUnit, width, StandardPlural::ONE, status); in withPerUnitAndAppend()
Dmeasunit.cpp1220 const MeasureUnit &unit, const MeasureUnit &perUnit) { in resolveUnitPerUnit() argument
1222 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()
1022 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
1025 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
1031 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()
1050 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
1053 getFormatterOrNull(perUnit, formatWidth, MeasureFormatData.PER_UNIT_INDEX); in withPerUnitAndAppend()
1059 String pattern = getPluralFormatter(perUnit, formatWidth, StandardPlural.ONE.ordinal()); in withPerUnitAndAppend()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java200 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
201 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java210 public static MeasureUnit resolveUnitPerUnit(MeasureUnit unit, MeasureUnit perUnit) { in resolveUnitPerUnit() argument
211 return unitPerUnitToSingleUnit.get(Pair.of(unit, perUnit)); in resolveUnitPerUnit()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java1478 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1492 perUnit, in testSimplePer()
1923 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
1924 if (unit != null && perUnit != null) { in getUnitsToPerParts()
1925 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java1479 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
1493 perUnit, in testSimplePer()
1924 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
1925 if (unit != null && perUnit != null) { in getUnitsToPerParts()
1926 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp95 const MeasureUnit &perUnit,
102 const MeasureUnit &perUnit,
1539 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1546 perUnit, in helperTestSimplePer()
1558 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1577 perUnit, in helperTestSimplePer()