Home
last modified time | relevance | path

Searched refs:Measure (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/icu/icu4c/source/i18n/
Dmeasure.cpp24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
26 Measure::Measure() : unit(nullptr) {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure
37 Measure::Measure(const Measure& other) : in Measure() function in Measure
42 Measure& Measure::operator=(const Measure& other) { in operator =()
55 Measure *Measure::clone() const { in clone()
56 return new Measure(*this); in clone()
59 Measure::~Measure() { in ~Measure()
63 UBool Measure::operator==(const UObject& other) const { in operator ==()
70 const Measure &m = static_cast<const Measure&>(other); in operator ==()
Dtmutamt.cpp22 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
29 : Measure(Formattable(amount), in TimeUnitAmount()
36 : Measure(other) in TimeUnitAmount()
43 Measure::operator=(other); in operator =()
50 return Measure::operator==(other); in operator ==()
Dcurramt.cpp24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
33 Measure(other) { in CurrencyAmount()
37 Measure::operator=(other); in operator =()
/third_party/node/deps/icu-small/source/i18n/
Dmeasure.cpp24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
26 Measure::Measure() : unit(nullptr) {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure
37 Measure::Measure(const Measure& other) : in Measure() function in Measure
42 Measure& Measure::operator=(const Measure& other) { in operator =()
55 Measure *Measure::clone() const { in clone()
56 return new Measure(*this); in clone()
59 Measure::~Measure() { in ~Measure()
63 bool Measure::operator==(const UObject& other) const { in operator ==()
70 const Measure &m = static_cast<const Measure&>(other); in operator ==()
Dtmutamt.cpp22 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
29 : Measure(Formattable(amount), in TimeUnitAmount()
36 : Measure(other) in TimeUnitAmount()
43 Measure::operator=(other); in operator =()
50 return Measure::operator==(other); in operator ==()
/third_party/skia/third_party/externals/icu/source/i18n/
Dmeasure.cpp24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
26 Measure::Measure() : unit(nullptr) {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure
37 Measure::Measure(const Measure& other) : in Measure() function in Measure
42 Measure& Measure::operator=(const Measure& other) { in operator =()
55 Measure *Measure::clone() const { in clone()
56 return new Measure(*this); in clone()
59 Measure::~Measure() { in ~Measure()
63 UBool Measure::operator==(const UObject& other) const { in operator ==()
70 const Measure &m = static_cast<const Measure&>(other); in operator ==()
Dtmutamt.cpp22 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
29 : Measure(Formattable(amount), in TimeUnitAmount()
36 : Measure(other) in TimeUnitAmount()
43 Measure::operator=(other); in operator =()
50 return Measure::operator==(other); in operator ==()
Dcurramt.cpp24 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
29 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
33 Measure(other) { in CurrencyAmount()
37 Measure::operator=(other); in operator =()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dmeasure.cpp24 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
26 Measure::Measure() {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure
37 Measure::Measure(const Measure& other) : in Measure() function in Measure
42 Measure& Measure::operator=(const Measure& other) { in operator =()
51 UObject *Measure::clone() const { in clone()
52 return new Measure(*this); in clone()
55 Measure::~Measure() { in ~Measure()
59 UBool Measure::operator==(const UObject& other) const { in operator ==()
66 const Measure &m = static_cast<const Measure&>(other); in operator ==()
Dtmutamt.cpp22 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
29 : Measure(Formattable(amount), in TimeUnitAmount()
36 : Measure(other) in TimeUnitAmount()
43 Measure::operator=(other); in operator =()
50 return Measure::operator==(other); in operator ==()
/third_party/icu/icu4c/source/i18n/unicode/
Dmeasure.h45 class U_I18N_API Measure: public UObject {
57 Measure(const Formattable& number, MeasureUnit* adoptedUnit,
64 Measure(const Measure& other);
70 Measure& operator=(const Measure& other);
77 virtual Measure* clone() const;
83 virtual ~Measure();
137 Measure();
152 inline const Formattable& Measure::getNumber() const { in getNumber()
156 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dmeasure.h45 class U_I18N_API Measure: public UObject {
57 Measure(const Formattable& number, MeasureUnit* adoptedUnit,
64 Measure(const Measure& other);
70 Measure& operator=(const Measure& other);
77 virtual Measure* clone() const;
83 virtual ~Measure();
137 Measure();
152 inline const Formattable& Measure::getNumber() const { in getNumber()
156 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dmeasure.h45 class U_I18N_API Measure: public UObject {
57 Measure(const Formattable& number, MeasureUnit* adoptedUnit,
64 Measure(const Measure& other);
70 Measure& operator=(const Measure& other);
77 virtual Measure* clone() const;
83 virtual ~Measure();
137 Measure();
152 inline const Formattable& Measure::getNumber() const { in getNumber()
156 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dmeasure.h43 class U_I18N_API Measure: public UObject {
55 Measure(const Formattable& number, MeasureUnit* adoptedUnit,
62 Measure(const Measure& other);
68 Measure& operator=(const Measure& other);
81 virtual ~Measure();
135 Measure();
150 inline const Formattable& Measure::getNumber() const { in getNumber()
154 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DUnitsTest.java25 import com.ibm.icu.util.Measure;
47 Measure[] expected;
51 … TestCase(String input, String output, BigDecimal value, Measure[] expected, double accuracy) {
60 List<Measure> measures = converter.convert(value, null).measures;
64 for (Measure measure : measures) {
87 … new Measure[] {new Measure(1, MeasureUnit.FOOT), new Measure(11.9988, MeasureUnit.INCH)},
96 … new Measure[] {new Measure(2, MeasureUnit.FOOT), new Measure(0, MeasureUnit.INCH)}, 0),
102 new Measure[] {new Measure(1, MeasureUnit.FOOT),
103 new Measure(BigDecimal.valueOf(12.0).subtract(
122 new Measure[] {new Measure(2, MeasureUnit.LIGHT_YEAR),
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitThreadTest.java14 import com.ibm.icu.util.Measure;
39 final Measure[] arg;
44 NumericMeasureThread(Measure[] arg, String expected) { in NumericMeasureThread()
70 NumericMeasureThread t1 = new NumericMeasureThread(new Measure[] { in NumericRaceTest()
71 new Measure(3, MeasureUnit.MINUTE), in NumericRaceTest()
72 new Measure(4, MeasureUnit.SECOND) in NumericRaceTest()
74 NumericMeasureThread t2 = new NumericMeasureThread(new Measure[] { in NumericRaceTest()
75 new Measure(5, MeasureUnit.MINUTE), in NumericRaceTest()
76 new Measure(6, MeasureUnit.SECOND) in NumericRaceTest()
DMeasureUnitTest.java50 import com.ibm.icu.util.Measure;
2088 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs()
2090 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs()
2098 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs()
2099 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs()
2104 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
2105 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
2112 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
2113 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
2119 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DMeasureUnitThreadTest.java15 import ohos.global.icu.util.Measure;
42 final Measure[] arg;
47 NumericMeasureThread(Measure[] arg, String expected) { in NumericMeasureThread()
73 NumericMeasureThread t1 = new NumericMeasureThread(new Measure[] { in NumericRaceTest()
74 new Measure(3, MeasureUnit.MINUTE), in NumericRaceTest()
75 new Measure(4, MeasureUnit.SECOND) in NumericRaceTest()
77 NumericMeasureThread t2 = new NumericMeasureThread(new Measure[] { in NumericRaceTest()
78 new Measure(5, MeasureUnit.MINUTE), in NumericRaceTest()
79 new Measure(6, MeasureUnit.SECOND) in NumericRaceTest()
DMeasureUnitTest.java50 import ohos.global.icu.util.Measure;
1694 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs()
1696 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs()
1704 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs()
1705 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs()
1710 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
1711 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
1718 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
1719 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
1725 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasure.java33 public class Measure { class
44 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure
62 if (!(obj instanceof Measure)) { in equals()
65 Measure m = (Measure) obj; in equals()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DMeasure.java33 public class Measure { class
43 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure
60 if (!(obj instanceof Measure)) { in equals()
63 Measure m = (Measure) obj; in equals()
/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp554 Measure expected[2]; in testComplexUnitsConverter()
564 {Measure(1, MeasureUnit::createFoot(status), status), in testComplexUnitsConverter()
565 Measure(11.9988, MeasureUnit::createInch(status), status)}, in testComplexUnitsConverter()
574 {Measure(2, MeasureUnit::createFoot(status), status), in testComplexUnitsConverter()
575 Measure(0, MeasureUnit::createInch(status), status)}, in testComplexUnitsConverter()
584 {Measure(1, MeasureUnit::createFoot(status), status), in testComplexUnitsConverter()
586 Measure(12 - 36 * DBL_EPSILON, MeasureUnit::createInch(status), status)}, in testComplexUnitsConverter()
604 {Measure(2, MeasureUnit::createLightYear(status), status), in testComplexUnitsConverter()
605 Measure(0, MeasureUnit::createMeter(status), status)}, in testComplexUnitsConverter()
614 {Measure(1, MeasureUnit::createLightYear(status), status), in testComplexUnitsConverter()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dranden_benchmarks.cc127 void Measure(const char* name, const FuncInput (&inputs)[N]) { in Measure() function
153 Measure<AbsorbFn<RandenHwAes>>("Absorb (HwAes)", inputs); in RunAll()
155 Measure<AbsorbFn<RandenSlow>>("Absorb (Slow)", inputs); in RunAll()
158 Measure<GenerateFn<RandenHwAes>>("Generate (HwAes)", inputs); in RunAll()
160 Measure<GenerateFn<RandenSlow>>("Generate (Slow)", inputs); in RunAll()
165 Measure<Engine<uint64_t>>("randen_engine<uint64_t>", inputs1); in RunAll()
166 Measure<Engine<uint32_t>>("randen_engine<uint32_t>", inputs1); in RunAll()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DMeasureFormat.java53 import ohos.global.icu.util.Measure;
298 Measure[] measures = new Measure[coll.size()]; in format()
301 if (!(o instanceof Measure)) { in format()
304 measures[idx++] = (Measure) o; in format()
307 } else if (obj instanceof Measure[]) { in format()
308 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
309 } else if (obj instanceof Measure) { in format()
310 FormattedStringBuilder result = formatMeasure((Measure) obj); in format()
333 public Measure parseObject(String source, ParsePosition pos) { in parseObject()
348 public final String formatMeasures(Measure... measures) { in formatMeasures()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java52 import com.ibm.icu.util.Measure;
314 Measure[] measures = new Measure[coll.size()]; in format()
317 if (!(o instanceof Measure)) { in format()
320 measures[idx++] = (Measure) o; in format()
323 } else if (obj instanceof Measure[]) { in format()
324 formatMeasuresInternal(toAppendTo, fpos, (Measure[]) obj); in format()
325 } else if (obj instanceof Measure) { in format()
326 FormattedStringBuilder result = formatMeasure((Measure) obj); in format()
349 public Measure parseObject(String source, ParsePosition pos) { in parseObject()
365 public final String formatMeasures(Measure... measures) { in formatMeasures()
[all …]

12345