Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/i18n/
Dmeasure.cpp22 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Measure) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
24 Measure::Measure() {} in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
26 Measure::Measure(const Formattable& _number, MeasureUnit* adoptedUnit, in Measure() function in Measure
35 Measure::Measure(const Measure& other) : in Measure() function in Measure
40 Measure& Measure::operator=(const Measure& other) { in operator =()
49 UObject *Measure::clone() const { in clone()
50 return new Measure(*this); in clone()
53 Measure::~Measure() { in ~Measure()
57 UBool Measure::operator==(const UObject& other) const { in operator ==()
64 const Measure &m = static_cast<const Measure&>(other); in operator ==()
Dtmutamt.cpp20 : Measure(number, TimeUnit::createInstance(timeUnitField, status), status) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
27 : Measure(Formattable(amount), in TimeUnitAmount()
34 : Measure(other) in TimeUnitAmount()
41 Measure::operator=(other); in operator =()
48 return Measure::operator==(other); in operator ==()
Dcurramt.cpp22 Measure(amount, new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
27 Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) { in CurrencyAmount()
31 Measure(other) { in CurrencyAmount()
35 Measure::operator=(other); in operator =()
Dfmtable.cpp55 return *((const Measure*) a) == *((const Measure*) b); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
61 return ((const Measure*) a)->clone(); in objectClone()
66 return dynamic_cast<const Measure*>(a) != NULL; in instanceOfMeasure()
431 return ((const Measure*) fValue.fObject)-> in getLong()
482 return ((const Measure*) fValue.fObject)-> in getInt64()
512 return ((const Measure*) fValue.fObject)-> in getDouble()
/external/icu/icu4c/source/i18n/unicode/
Dmeasure.h41 class U_I18N_API Measure: public UObject {
53 Measure(const Formattable& number, MeasureUnit* adoptedUnit,
60 Measure(const Measure& other);
66 Measure& operator=(const Measure& other);
79 virtual ~Measure();
133 Measure();
148 inline const Formattable& Measure::getNumber() const { in getNumber()
152 inline const MeasureUnit& Measure::getUnit() const { in getUnit()
Dmeasfmt.h73 class Measure; variable
183 const Measure *measures,
204 const Measure &measure,
352 const Measure &measure,
359 const Measure *measures,
/external/icu/icu4c/source/test/intltest/
Dmeasfmttest.cpp28 const Measure *measures;
68 const Measure *measures,
75 const Measure *measures,
108 const Measure *measures,
696 Measure measureC(23, MeasureUnit::createCelsius(status), status); in TestExamplesInDocs()
697 Measure measureF(70, MeasureUnit::createFahrenheit(status), status); in TestExamplesInDocs()
698 Measure feetAndInches[] = { in TestExamplesInDocs()
699 Measure(70, MeasureUnit::createFoot(status), status), in TestExamplesInDocs()
700 Measure(5.3, MeasureUnit::createInch(status), status)}; in TestExamplesInDocs()
701 Measure footAndInch[] = { in TestExamplesInDocs()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java35 import com.ibm.icu.util.Measure;
685 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs()
687 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs()
695 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs()
696 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs()
701 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
702 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
709 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
710 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
716 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs()
[all …]
DPluralRangesTest.java19 import com.ibm.icu.util.Measure;
105 actual = mf.formatMeasureRange(new Measure(low, unit), new Measure(high, unit)); in TestFormatting()
DTimeUnitTest.java18 import com.ibm.icu.util.Measure;
411 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestStandInForMeasureFormat()
418 new Measure(70, MeasureUnit.FOOT), in TestStandInForMeasureFormat()
419 new Measure(5.3, MeasureUnit.INCH))); in TestStandInForMeasureFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java36 import android.icu.util.Measure;
689 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestExamplesInDocs()
691 Measure measureF = new Measure(70, MeasureUnit.FAHRENHEIT); in TestExamplesInDocs()
699 new Measure(70, MeasureUnit.FOOT), in TestExamplesInDocs()
700 new Measure(5.3, MeasureUnit.INCH))); in TestExamplesInDocs()
705 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
706 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
713 new Measure(1, MeasureUnit.FOOT), in TestExamplesInDocs()
714 new Measure(1, MeasureUnit.INCH))); in TestExamplesInDocs()
720 new Measure(1, MeasureUnit.INCH), in TestExamplesInDocs()
[all …]
DPluralRangesTest.java20 import android.icu.util.Measure;
109 actual = mf.formatMeasureRange(new Measure(low, unit), new Measure(high, unit)); in TestFormatting()
DTimeUnitTest.java19 import android.icu.util.Measure;
415 Measure measure = new Measure(23, MeasureUnit.CELSIUS); in TestStandInForMeasureFormat()
422 new Measure(70, MeasureUnit.FOOT), in TestStandInForMeasureFormat()
423 new Measure(5.3, MeasureUnit.INCH))); in TestStandInForMeasureFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasure.java31 public class Measure { class
42 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure
59 if (!(obj instanceof Measure)) { in equals()
62 Measure m = (Measure) obj; in equals()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasure.java31 public class Measure { class
41 public Measure(Number number, MeasureUnit unit) { in Measure() method in Measure
57 if (!(obj instanceof Measure)) { in equals()
60 Measure m = (Measure) obj; in equals()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java43 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 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, (Measure[]) obj)); in format()
325 } else if (obj instanceof Measure){ in format()
326 … toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); in format()
345 public Measure parseObject(String source, ParsePosition pos) { in parseObject()
362 public final String formatMeasures(Measure... measures) { in formatMeasures()
[all …]
DCurrencyFormat.java18 import com.ibm.icu.util.Measure;
88 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java44 import android.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 toAppendTo.append(formatMeasures(new StringBuilder(), fpos, (Measure[]) obj)); in format()
309 } else if (obj instanceof Measure){ in format()
310 … toAppendTo.append(formatMeasure((Measure) obj, numberFormat, new StringBuilder(), fpos)); in format()
328 public Measure parseObject(String source, ParsePosition pos) { in parseObject()
344 public final String formatMeasures(Measure... measures) { in formatMeasures()
[all …]
DCurrencyFormat.java19 import android.icu.util.Measure;
89 StringBuilder appendTo, FieldPosition fieldPosition, Measure... measures) { in formatMeasures()
/external/autotest/client/site_tests/hardware_StorageTrim/
Dcontrol7 PURPOSE = 'Measure write performance before and after trim. (for SSD)'
14 Measure write performance. Trim all the disk. Measure write performance.
Dcontrol.mmc7 PURPOSE = 'Measure write performance before and after trim. (for eMMC)'
14 Measure write performance. Trim all the disk. Measure write performance.
/external/v8/benchmarks/
Dbase.js202 function Measure(data) { class
218 Measure(null);
221 Measure(data);
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/
Dcontrol.vp97 PURPOSE = 'Measure the memory usages of video playback'
16 Measure the memory usage in different cases:
Dcontrol.vp87 PURPOSE = 'Measure the memory usages of video playback'
16 Measure the memory usage in different cases:
Dcontrol.h2647 PURPOSE = 'Measure the memory usages of video playback'
16 Measure the memory usage in different cases:

1234