Home
last modified time | relevance | path

Searched refs:units_ (Results 1 – 9 of 9) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Dunits_complexconverter.cpp27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
31 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
34 MeasureUnitImpl *biggestUnit = &units_[0]->unitImpl; in ComplexUnitsConverter()
35 for (int32_t i = 1; i < units_.length(); i++) { in ComplexUnitsConverter()
36 … if (UnitsConverter::compareTwoUnits(units_[i]->unitImpl, *biggestUnit, ratesInfo, status) > 0 && in ComplexUnitsConverter()
38 biggestUnit = &units_[i]->unitImpl; in ComplexUnitsConverter()
57 this->units_ = outputUnits.extractIndividualUnitsWithIndices(status); in ComplexUnitsConverter()
58 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
66 : units_(outputUnits.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
71 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
[all …]
Dunits_complexconverter.h117 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/third_party/icu/icu4c/source/i18n/
Dunits_complexconverter.cpp27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
31 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
34 MeasureUnitImpl *biggestUnit = &units_[0]->unitImpl; in ComplexUnitsConverter()
35 for (int32_t i = 1; i < units_.length(); i++) { in ComplexUnitsConverter()
36 … if (UnitsConverter::compareTwoUnits(units_[i]->unitImpl, *biggestUnit, ratesInfo, status) > 0 && in ComplexUnitsConverter()
38 biggestUnit = &units_[i]->unitImpl; in ComplexUnitsConverter()
57 this->units_ = outputUnits.extractIndividualUnitsWithIndices(status); in ComplexUnitsConverter()
58 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
66 : units_(outputUnits.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
71 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
[all …]
Dunits_complexconverter.h117 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_complexconverter.cpp27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
31 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
34 MeasureUnitImpl *biggestUnit = &units_[0]->unitImpl; in ComplexUnitsConverter()
35 for (int32_t i = 1; i < units_.length(); i++) { in ComplexUnitsConverter()
36 … if (UnitsConverter::compareTwoUnits(units_[i]->unitImpl, *biggestUnit, ratesInfo, status) > 0 && in ComplexUnitsConverter()
38 biggestUnit = &units_[i]->unitImpl; in ComplexUnitsConverter()
57 this->units_ = outputUnits.extractIndividualUnitsWithIndices(status); in ComplexUnitsConverter()
58 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
66 : units_(outputUnits.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
71 U_ASSERT(units_.length() != 0); in ComplexUnitsConverter()
[all …]
Dunits_complexconverter.h116 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DComplexUnitsConverter.java35 public List<MeasureUnitImpl.MeasureUnitImplWithIndex> units_; field in ComplexUnitsConverter
50 this.units_ = targetUnit.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
51 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
54 this.inputUnit_ = this.units_.get(0).unitImpl; in ComplexUnitsConverter()
57 for (MeasureUnitImpl.MeasureUnitImplWithIndex unitWithIndex : this.units_) { in ComplexUnitsConverter()
97 this.units_ = outputUnits.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
98 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
109 Collections.sort(this.units_, in init()
127 for (int i = 0, n = units_.size(); i < n; i++) { in init()
129 …unitsConverters_.add(new UnitsConverter(this.inputUnit_, units_.get(i).unitImpl, conversionRates)); in init()
[all …]
/third_party/node/deps/v8/tools/
Dperf-compare.py98 self.units_ = units
104 if self.units_ != other.units_:
105 print ("Incompatible units: %s and %s" % (self.units_, other.units_))
112 if self.units_ == "score":
/third_party/mindspore/patches/
D0005-micro-for-ohos.patch17889 … batch_norm_parameter.momentum_, batch_norm_parameter.unit_, batch_norm_parameter.units_,