Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/unicode/
Dmeasfmt.h205 const MeasureUnit &perUnit,
345 const MeasureUnit &perUnit,
Dmeasunit.h191 const MeasureUnit &unit, const MeasureUnit &perUnit);
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp594 const MeasureUnit &perUnit, in formatMeasurePerUnit() argument
602 MeasureUnit::resolveUnitPerUnit(measure.getUnit(), perUnit); in formatMeasurePerUnit()
613 perUnit, in formatMeasurePerUnit()
992 const MeasureUnit &perUnit, in withPerUnitAndAppend() argument
1000 perUnit.getIndex(), widthToIndex(width)); in withPerUnitAndAppend()
1015 perUnit.getIndex(), widthToIndex(width), status); in withPerUnitAndAppend()
Dmeasunit.cpp1116 const MeasureUnit &unit, const MeasureUnit &perUnit) { in resolveUnitPerUnit() argument
1118 int32_t perUnitOffset = perUnit.getOffset(); in resolveUnitPerUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java506 MeasureUnit perUnit, in formatMeasurePerUnit() argument
510 measure.getUnit(), perUnit); in formatMeasurePerUnit()
519 perUnit, in formatMeasurePerUnit()
849 CharSequence formatted, MeasureUnit perUnit, StringBuilder appendTo) { in withPerUnitAndAppend() argument
852 unitToStyleToPerUnitPattern.get(perUnit); in withPerUnitAndAppend()
859 …Map<FormatWidth, QuantityFormatter> styleToCountToFormat = unitToStyleToCountToFormat.get(perUnit); in withPerUnitAndAppend()
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp85 const MeasureUnit &perUnit,
92 const MeasureUnit &perUnit,
964 const MeasureUnit &perUnit, in helperTestSimplePer() argument
971 perUnit, in helperTestSimplePer()
983 const MeasureUnit &perUnit, in helperTestSimplePer() argument
1002 perUnit, in helperTestSimplePer()
/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java800 MeasureUnit perUnit = (MeasureUnit) row[2]; in testSimplePer() local
814 perUnit, in testSimplePer()
1120 MeasureUnit perUnit = namesToUnits.get(perStrings.second); in getUnitsToPerParts() local
1121 if (unit != null && perUnit != null) { in getUnitsToPerParts()
1122 unitsToPerUnits.put(entry.getKey(), Pair.of(unit, perUnit)); in getUnitsToPerParts()