Home
last modified time | relevance | path

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

/external/cronet/third_party/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.h117 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/external/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
/external/marisa-trie/lib/marisa/grimoire/vector/
Dbit-vector.h20 : units_(), size_(0), num_1s_(0), ranks_(), select0s_(), select1s_() {} in BitVector()
25 units_.shrink(); in build()
26 temp.units_.swap(units_); in build()
53 if (size_ == (MARISA_WORD_SIZE * units_.size())) { in push_back()
54 units_.resize(units_.size() + (64 / MARISA_WORD_SIZE), 0); in push_back()
57 units_[size_ / MARISA_WORD_SIZE] |= in push_back()
66 return (units_[i / MARISA_WORD_SIZE]
94 return units_.total_size() + ranks_.total_size() in total_size()
98 return units_.io_size() + (sizeof(UInt32) * 2) + ranks_.io_size() in io_size()
106 units_.swap(rhs.units_); in swap()
[all …]
Dflat-vector.h18 FlatVector() : units_(), value_size_(0), mask_(0), size_(0) {} in FlatVector()
48 return (UInt32)(units_[unit_id] >> unit_offset) & mask_;
50 return (UInt32)((units_[unit_id] >> unit_offset)
51 | (units_[unit_id + 1] << (MARISA_WORD_SIZE - unit_offset))) & mask_;
69 return units_.total_size(); in total_size()
72 return units_.io_size() + (sizeof(UInt32) * 2) + sizeof(UInt64); in io_size()
79 units_.swap(rhs.units_); in swap()
86 Vector<Unit> units_;
113 units_.resize(num_units); in build_()
115 units_.back() = 0; in build_()
[all …]
Dbit-vector.cc384 offset += PopCount::count(units_[i / 64] & ((1ULL << (i % 64)) - 1)); in rank1()
447 return select_bit(i, unit_id * 64, ~units_[unit_id]); in select0()
509 return select_bit(i, unit_id * 64, units_[unit_id]); in select1()
551 offset += PopCount::count(units_[(i / 32) - 1]); in rank1()
553 offset += PopCount::count(units_[i / 32] & ((1U << (i % 32)) - 1)); in rank1()
617 return select_bit(i, unit_id * 32, ~units_[unit_id], ~units_[unit_id + 1]); in select0()
619 UInt32 unit = ~units_[unit_id]; in select0()
624 unit = ~units_[unit_id]; in select0()
708 return select_bit(i, unit_id * 32, units_[unit_id], units_[unit_id + 1]); in select1()
710 UInt32 unit = units_[unit_id]; in select1()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DComplexUnitsConverter.java37 public List<MeasureUnitImpl.MeasureUnitImplWithIndex> units_; field in ComplexUnitsConverter
52 this.units_ = targetUnit.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
53 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
56 this.inputUnit_ = this.units_.get(0).unitImpl; in ComplexUnitsConverter()
59 for (MeasureUnitImpl.MeasureUnitImplWithIndex unitWithIndex : this.units_) { in ComplexUnitsConverter()
99 this.units_ = outputUnits.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
100 assert (!this.units_.isEmpty()); in ComplexUnitsConverter()
111 Collections.sort(this.units_, in init()
129 for (int i = 0, n = units_.size(); i < n; i++) { in init()
131 …unitsConverters_.add(new UnitsConverter(this.inputUnit_, units_.get(i).unitImpl, conversionRates)); in init()
[all …]
/external/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 …]
/external/tensorflow/tensorflow/lite/kernels/
Dunidirectional_sequence_rnn_test.cc180 units_(units), in UnidirectionalRNNOpModel()
196 {units_, input_size_}, in UnidirectionalRNNOpModel()
197 {units_, units_}, in UnidirectionalRNNOpModel()
198 {units_}, in UnidirectionalRNNOpModel()
202 {units_, input_size_}, in UnidirectionalRNNOpModel()
203 {units_, units_}, in UnidirectionalRNNOpModel()
204 {units_}, in UnidirectionalRNNOpModel()
205 {batches_, units_}}); in UnidirectionalRNNOpModel()
230 int num_units() { return units_; } in num_units()
244 int units_; member in tflite::__anona0a7fc2c0111::UnidirectionalRNNOpModel
Dbasic_rnn_test.cc177 : batches_(batches), units_(units), input_size_(size) { in RNNOpModel()
189 {units_, input_size_}, // weights tensor in RNNOpModel()
190 {units_, units_}, // recurrent weights tensor in RNNOpModel()
191 {units_}, // bias tensor in RNNOpModel()
192 {batches_, units_}}); // hidden state tensor in RNNOpModel()
216 int num_units() { return units_; } in num_units()
228 int units_; member in tflite::__anon2c82b85c0111::RNNOpModel
Dsvdf_test.cc137 units_(units), in BaseSVDFOpModel()
155 {units_ * rank, input_size_}, // weights_feature tensor in BaseSVDFOpModel()
156 {units_ * rank, memory_size_}, // weights_time tensor in BaseSVDFOpModel()
157 {units_}, // bias tensor in BaseSVDFOpModel()
181 int num_units() { return units_; } in num_units()
193 int units_; member in tflite::__anon10ad49200111::BaseSVDFOpModel
473 units_(units), in IntegerSVDFOpModel()
530 int units_; member in tflite::__anon10ad49200111::IntegerSVDFOpModel
Dfully_connected_test.cc148 units_(units),
166 {units_, input_size_},
177 {units_, input_size_},
192 {units_, input_size_},
197 AddInput({input.type, {units_, input_size_}, input.min, input.max});
204 bias_ = AddInput({TensorType_FLOAT32, {units_}});
217 TensorData bias{bias_type, {units_}, 0, 0, 0, 0, true,
222 TensorData bias{bias_type, {units_}, 0, 0, bias_scale};
245 int num_units() { return units_; } in num_units()
255 int units_; member in tflite::__anon1e118d2b0111::BaseFullyConnectedOpModel
[all …]
Dbatch_matmul_test.cc396 : units_(units), batches_(batches) {
428 int num_units() { return units_; } in num_units()
438 int units_; member in tflite::__anon94d4a8fe0111::HybridBatchMatMulOpModel
922 : units_(units), batches_(batches) {
931 {input_size_, units_},
970 int units_; member in tflite::__anon94d4a8fe0111::QuantizedBatchMatMulOpModel
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dmatmul_test.cc29 : batches_(batches), units_(units) { in FullyConnectedOpModel()
38 AddInput({input.type, {units_, input_size_}, input.min, input.max}); in FullyConnectedOpModel()
44 TensorData bias{TensorType_INT32, {units_}, 0, 0, bias_scale}; in FullyConnectedOpModel()
102 int units_; member in tflite::FullyConnectedOpModel
/external/icu/libicu/cts_headers/
Dunits_complexconverter.h117 MaybeStackVector<MeasureUnitImplWithIndex> units_; variable
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_signed_quantization_test.cc73 : batches_(batches), units_(units) {
84 TensorData bias{TensorType_FLOAT32, {units_}};
118 int num_units() { return units_; } in num_units()
128 int units_; member in tflite::__anon59489a3b0111::HybridFullyConnectedOpModel
Dnnapi_delegate_test.cc2815 : batches_(batches), units_(units), input_size_(size) { in RNNOpModel()
2827 {units_, input_size_}, // weights tensor in RNNOpModel()
2828 {units_, units_}, // recurrent weights tensor in RNNOpModel()
2829 {units_}, // bias tensor in RNNOpModel()
2830 {batches_, units_} // hidden state tensor in RNNOpModel()
2855 int num_units() { return units_; } in num_units()
2867 int units_; member in tflite::__anon4fbea17c0111::RNNOpModel
3001 units_(units), in BaseSVDFOpModel()
3020 {units_ * rank, input_size_}, // weights_feature tensor in BaseSVDFOpModel()
3021 {units_ * rank, memory_size_}, // weights_time tensor in BaseSVDFOpModel()
[all …]
/external/ImageMagick/Magick++/lib/
DDrawable.cpp357 Magick::DrawableClipUnits::DrawableClipUnits(const ClipPathUnits units_) in DrawableClipUnits() argument
359 _units = units_; in DrawableClipUnits()
372 void Magick::DrawableClipUnits::units(const ClipPathUnits units_) in units() argument
374 _units = units_; in units()
/external/ImageMagick/Magick++/lib/Magick++/
DDrawable.h517 DrawableClipUnits(const ClipPathUnits units_);
524 void units(const ClipPathUnits units_);
/external/cldr/docs/ldml/
Dtr35-info.md1014 … as length, or more complex ‘derived’ units that are built up from _base units_. The `<unitQuantit…
Dtr35-general.md1335 Units may be used in composed sequences (aka _mixed units_), such as **5° 30′** for 5 degrees 30 mi…
2863 Each section below is only applicable if the language has more than one value _for units_: for exam…