Home
last modified time | relevance | path

Searched refs:unitType (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java769 … private String getFormattedUnit(String unitType, UnitLength unitWidth, FixedDecimal unitAmount) { in getFormattedUnit() argument
771 return getFormattedUnit(unitType, unitWidth, unitAmount, numberFormat.format(unitAmount)); in getFormattedUnit()
774 private String getFormattedUnit(String unitType, UnitLength unitWidth, double unitAmount) { in getFormattedUnit() argument
775 return getFormattedUnit(unitType, unitWidth, new FixedDecimal(unitAmount)); in getFormattedUnit()
778 …private String getFormattedUnit(String unitType, UnitLength unitWidth, FixedDecimal unitAmount, St… in getFormattedUnit() argument
782 return format(getValueFromFormat(pathFormat, unitType, form), formattedUnitAmount); in getFormattedUnit()
961 String unitType = parts.getAttributeValue(-2, "type"); in formatCountValue() local
962 if (unitType == null) { in formatCountValue()
963 unitType = "USD"; // sample for currency pattern in formatCountValue()
991 DecimalFormat currencyFormat = icuServiceBuilder.getCurrencyFormat(unitType); in formatCountValue()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DlinkValidate.cpp472 void TIntermediate::mergeImplicitArraySizes(TType& type, const TType& unitType) in mergeImplicitArraySizes() argument
475 if (unitType.isUnsizedArray()) { in mergeImplicitArraySizes()
476 type.updateImplicitArraySize(unitType.getImplicitArraySize()); in mergeImplicitArraySizes()
477 if (unitType.isArrayVariablyIndexed()) in mergeImplicitArraySizes()
479 } else if (unitType.isSizedArray()) in mergeImplicitArraySizes()
480 type.changeOuterArraySize(unitType.getOuterArraySize()); in mergeImplicitArraySizes()
484 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes()
488 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java268 String unitType = key.toString(); in put() local
272 internalGetInstance(unitType, unitName); in put()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java276 String unitType = key.toString(); in put() local
280 internalGetInstance(unitType, unitName); in put()