Home
last modified time | relevance | path

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

/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/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.h116 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/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.h116 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DComplexUnitsConverter.java32 private List<MeasureUnitImpl.MeasureUnitImplWithIndex> units_; field in ComplexUnitsConverter
47 this.units_ = targetUnit.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
48 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
51 this.inputUnit_ = this.units_.get(0).unitImpl; in ComplexUnitsConverter()
54 for (MeasureUnitImpl.MeasureUnitImplWithIndex unitWithIndex : this.units_) { in ComplexUnitsConverter()
94 this.units_ = outputUnits.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
95 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
106 Collections.sort(this.units_, in init()
124 for (int i = 0, n = units_.size(); i < n; i++) { in init()
126 …unitsConverters_.add(new UnitsConverter(this.inputUnit_, units_.get(i).unitImpl, conversionRates)); in init()
[all …]
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Dbatchnorm_int8_coder.cc31 batchnorm_param_->units_ = 1; in Prepare()
33 batchnorm_param_->units_ *= input_shapes[i]; in Prepare()
38 batchnorm_param_->unit_ = batchnorm_param_->units_; in Prepare()
40 batchnorm_param_->unit_ = UP_DIV(batchnorm_param_->units_, kMaxThreadNumSupported); in Prepare()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dbatchnorm_parameter.h27 int units_; member
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dbatchnorm_int8.cc176 batchnorm_param_->units_ = 1; in Init()
178 batchnorm_param_->units_ *= input_shapes[i]; in Init()
186 …batchnorm_param_->unit_ = UP_DIV(batchnorm_param_->units_, batchnorm_param_->op_parameter_.thread_… in Init()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dbatchnorm_int8.c24 int unit_end = MSMIN((task_id + 1) * param->unit_, param->units_); in BatchNormInt8()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/serializers/nnacl_serializer/
Dnnacl_fp32_serializer.cc42 … batch_norm_parameter.momentum_, batch_norm_parameter.unit_, batch_norm_parameter.units_, in CodeStruct()
Dnnacl_int8_serializer.cc138 … batchnorm_parameter.momentum_, batchnorm_parameter.unit_, batchnorm_parameter.units_, in CodeStruct()