Home
last modified time | relevance | path

Searched refs:measureUnit (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp236 LocalPointer<MeasureUnit> measureUnit; in TestCompatible53() local
237 measureUnit.adoptInstead(MeasureUnit::createGForce(status)); in TestCompatible53()
238 measureUnit.adoptInstead(MeasureUnit::createArcMinute(status)); in TestCompatible53()
239 measureUnit.adoptInstead(MeasureUnit::createArcSecond(status)); in TestCompatible53()
240 measureUnit.adoptInstead(MeasureUnit::createDegree(status)); in TestCompatible53()
241 measureUnit.adoptInstead(MeasureUnit::createAcre(status)); in TestCompatible53()
242 measureUnit.adoptInstead(MeasureUnit::createHectare(status)); in TestCompatible53()
243 measureUnit.adoptInstead(MeasureUnit::createSquareFoot(status)); in TestCompatible53()
244 measureUnit.adoptInstead(MeasureUnit::createSquareKilometer(status)); in TestCompatible53()
245 measureUnit.adoptInstead(MeasureUnit::createSquareMeter(status)); in TestCompatible53()
[all …]
/third_party/icu/icu4c/source/i18n/
Dmeasunit_impl.h48 static SingleUnitImpl forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status);
198 static inline const MeasureUnitImpl *get(const MeasureUnit &measureUnit) { in get() argument
199 return measureUnit.fImpl; in get()
221 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status);
231 const MeasureUnit& measureUnit, UErrorCode& status);
Dmeasunit_extra.cpp878 SingleUnitImpl SingleUnitImpl::forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnit() argument
880 const MeasureUnitImpl& impl = MeasureUnitImpl::forMeasureUnit(measureUnit, temp, status); in forMeasureUnit()
967 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status) { in forMeasureUnit() argument
968 if (measureUnit.fImpl) { in forMeasureUnit()
969 return *measureUnit.fImpl; in forMeasureUnit()
971 memory = Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnit()
977 const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnitMaybeCopy() argument
978 if (measureUnit.fImpl) { in forMeasureUnitMaybeCopy()
979 return measureUnit.fImpl->copy(status); in forMeasureUnitMaybeCopy()
981 return Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnitMaybeCopy()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasunit_impl.h48 static SingleUnitImpl forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status);
198 static inline const MeasureUnitImpl *get(const MeasureUnit &measureUnit) { in get() argument
199 return measureUnit.fImpl; in get()
221 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status);
231 const MeasureUnit& measureUnit, UErrorCode& status);
Dmeasunit_extra.cpp878 SingleUnitImpl SingleUnitImpl::forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnit() argument
880 const MeasureUnitImpl& impl = MeasureUnitImpl::forMeasureUnit(measureUnit, temp, status); in forMeasureUnit()
967 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status) { in forMeasureUnit() argument
968 if (measureUnit.fImpl) { in forMeasureUnit()
969 return *measureUnit.fImpl; in forMeasureUnit()
971 memory = Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnit()
977 const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnitMaybeCopy() argument
978 if (measureUnit.fImpl) { in forMeasureUnitMaybeCopy()
979 return measureUnit.fImpl->copy(status); in forMeasureUnitMaybeCopy()
981 return Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnitMaybeCopy()
/third_party/node/deps/icu-small/source/i18n/
Dmeasunit_impl.h49 static SingleUnitImpl forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status);
225 static inline const MeasureUnitImpl *get(const MeasureUnit &measureUnit) { in get() argument
226 return measureUnit.fImpl; in get()
248 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status);
258 const MeasureUnit& measureUnit, UErrorCode& status);
Dmeasunit_extra.cpp917 SingleUnitImpl SingleUnitImpl::forMeasureUnit(const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnit() argument
919 const MeasureUnitImpl& impl = MeasureUnitImpl::forMeasureUnit(measureUnit, temp, status); in forMeasureUnit()
1006 const MeasureUnit& measureUnit, MeasureUnitImpl& memory, UErrorCode& status) { in forMeasureUnit() argument
1007 if (measureUnit.fImpl) { in forMeasureUnit()
1008 return *measureUnit.fImpl; in forMeasureUnit()
1010 memory = Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnit()
1016 const MeasureUnit& measureUnit, UErrorCode& status) { in forMeasureUnitMaybeCopy() argument
1017 if (measureUnit.fImpl) { in forMeasureUnitMaybeCopy()
1018 return measureUnit.fImpl->copy(status); in forMeasureUnitMaybeCopy()
1020 return Parser::from(measureUnit.getIdentifier(), status).parse(status); in forMeasureUnitMaybeCopy()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DConversionRates.java52 public UnitsConverter.Factor getFactorToBase(MeasureUnitImpl measureUnit) { in getFactorToBase() argument
55 measureUnit.getSingleUnits()) { in getFactorToBase()
80 public MeasureUnitImpl extractCompoundBaseUnit(MeasureUnitImpl measureUnit) { in extractCompoundBaseUnit() argument
81 ArrayList<SingleUnitImpl> baseUnits = this.extractBaseUnits(measureUnit); in extractCompoundBaseUnit()
DSingleUnitImpl.java53 MeasureUnitImpl measureUnit = new MeasureUnitImpl(this); in build() local
54 return measureUnit.build(); in build()
DUnitsData.java70 public String getCategory(MeasureUnitImpl measureUnit) { in getCategory() argument
72 = this.getConversionRates().extractCompoundBaseUnit(measureUnit); in getCategory()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dcurrunit.h70 CurrencyUnit(const MeasureUnit& measureUnit, UErrorCode &ec);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dcurrunit.h84 CurrencyUnit(const MeasureUnit& measureUnit, UErrorCode &ec);
/third_party/icu/icu4c/source/i18n/unicode/
Dcurrunit.h84 CurrencyUnit(const MeasureUnit& measureUnit, UErrorCode &ec);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dcurrunit.h84 CurrencyUnit(const MeasureUnit& measureUnit, UErrorCode &ec);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java551 MeasureUnitImpl measureUnit = getCopyOfMeasureUnitImpl(); in reciprocal() local
552 measureUnit.takeReciprocal(); in reciprocal()
553 return measureUnit.build(); in reciprocal()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_skeletons.h224 void generateMeasureUnitOption(const MeasureUnit& measureUnit, UnicodeString& sb, UErrorCode& statu…
Dnumber_skeletons.cpp940 void blueprint_helpers::generateMeasureUnitOption(const MeasureUnit& measureUnit, UnicodeString& sb, in generateMeasureUnitOption() argument
943 sb.append(UnicodeString(measureUnit.getType(), -1, US_INV)); in generateMeasureUnitOption()
945 sb.append(UnicodeString(measureUnit.getSubtype(), -1, US_INV)); in generateMeasureUnitOption()