Home
last modified time | relevance | path

Searched refs:values_ (Results 1 – 25 of 65) sorted by relevance

123

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dhash_map.hpp71 return values_.begin(); in begin()
77 return values_.begin(); in begin()
83 return values_.end(); in end()
89 return values_.end(); in end()
95 return values_.empty(); in empty()
105 if (it == values_.end()) in find()
106 return values_.end(); in find()
116 return values_.end(); in find()
126 if (it == values_.end()) in find()
137 return values_.end(); in find()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Darray.h105 : sizes_(sizes.begin(), sizes.end()), values_(new T[num_elements()]) {
117 values_[idx] = it2;
136 values_[idx] = static_cast<T>(it1);
155 values_[idx] = static_cast<T>(it2);
171 values_[idx] = it3;
195 values_[idx] = static_cast<T>(it3);
214 values_[idx] = it4;
242 values_[idx] = static_cast<T>(it4);
252 : sizes_(other.sizes_), values_(new T[num_elements()]) {
253 std::copy(&other.values_[0], &other.values_[0] + num_elements(),
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dccp_pass.cpp47 values_[instr->result_id()] = kVaryingSSAId; in MarkInstructionVarying()
63 auto it = values_.find(phi_arg_id); in VisitPhi()
64 if (it != values_.end()) { in VisitPhi()
101 values_[phi->result_id()] = meet_val_id; in VisitPhi()
113 auto it = values_.find(rhs_id); in VisitAssignment()
114 if (it != values_.end()) { in VisitAssignment()
118 values_[instr->result_id()] = it->second; in VisitAssignment()
132 auto it = values_.find(id); in VisitAssignment()
133 if (it == values_.end() || IsVaryingValue(it->second)) { in VisitAssignment()
145 values_[instr->result_id()] = folded_inst->result_id(); in VisitAssignment()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dccp_pass.cpp47 values_[instr->result_id()] = kVaryingSSAId; in MarkInstructionVarying()
63 auto it = values_.find(phi_arg_id); in VisitPhi()
64 if (it != values_.end()) { in VisitPhi()
101 values_[phi->result_id()] = meet_val_id; in VisitPhi()
113 auto it = values_.find(rhs_id); in VisitAssignment()
114 if (it != values_.end()) { in VisitAssignment()
118 values_[instr->result_id()] = it->second; in VisitAssignment()
132 auto it = values_.find(id); in VisitAssignment()
133 if (it == values_.end() || IsVaryingValue(it->second)) { in VisitAssignment()
145 values_[instr->result_id()] = folded_inst->result_id(); in VisitAssignment()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Dbasic_resolver_iterator.hpp82 iter.values_.reset(new values_type); in create()
94 iter.values_->push_back( in create()
110 iter.values_.reset(new values_type); in create()
111 iter.values_->push_back( in create()
126 iter.values_.reset(new values_type); in create()
129 iter.values_->push_back( in create()
182 if (++index_ == values_->size()) in increment()
185 values_.reset(); in increment()
192 if (!values_ && !other.values_) in equal()
194 if (values_ != other.values_) in equal()
[all …]
/external/tensorflow/tensorflow/core/kernels/data/
Doptional_ops.h43 OptionalVariant() : values_(nullptr) {} in OptionalVariant()
48 values_ = std::make_shared<std::vector<Tensor>>(std::move(values)); in OptionalVariant()
51 OptionalVariant(const OptionalVariant& other) : values_(other.values_) {} in OptionalVariant()
54 bool has_value() const { return values_ != nullptr; } in has_value()
58 DCHECK(values_) << "Tried to get values from an empty OptionalVariant"; in get_values()
59 return *values_; in get_values()
66 data->set_metadata(values_ != nullptr); in Encode()
67 if (values_ != nullptr) { in Encode()
68 for (const auto& t : *values_) { in Encode()
83 values_ = std::make_shared<std::vector<Tensor>>(data.tensors()); in Decode()
[all …]
/external/v8/src/
Didentity-map.cc27 DeleteArray(values_); in Clear()
29 values_ = nullptr; in Clear()
82 if (deleted_value != nullptr) *deleted_value = values_[index]; in DeleteIndex()
86 values_[index] = nullptr; in DeleteIndex()
112 DCHECK_NULL(values_[index]); in DeleteIndex()
114 std::swap(values_[index], values_[next_index]); in DeleteIndex()
164 values_ = NewPointerArray(capacity_); in GetEntry()
165 memset(values_, 0, sizeof(void*) * capacity_); in GetEntry()
170 return &values_[index]; in GetEntry()
183 return index >= 0 ? &values_[index] : nullptr; in FindEntry()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dmap_data_view.h26 values_(data ? data->values.Get() : nullptr, context) {} in MapDataView()
29 DCHECK_EQ(keys_.is_null(), values_.is_null()); in is_null()
34 DCHECK_EQ(keys_.size(), values_.size()); in size()
47 ArrayDataView<V>& values() { return values_; } in values()
48 const ArrayDataView<V>& values() const { return values_; } in values()
52 return internal::Deserialize<ArrayDataView<V>>(values_.data_, output, in ReadValues()
53 values_.context_); in ReadValues()
58 ArrayDataView<V> values_; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_value.h186 : values_(values.begin(), values.end()) { in HloValueSet()
196 const std::vector<const HloValue*>& values() const { return values_; } in values()
203 void Clear() { values_.clear(); } in Clear()
208 CHECK_EQ(values_.size(), 1); in GetUniqueValue()
209 return *values_[0]; in GetUniqueValue()
213 if (values_.size() != other.values_.size()) return false;
214 for (size_t i = 0; i < values_.size(); ++i) {
215 if (values_[i]->id() != other.values_[i]->id()) {
231 std::vector<const HloValue*> values_; variable
Dhlo_value.cc212 absl::c_sort(values_, HloValue::IdLessThan); in SortAndUniquifyValues()
213 values_.erase(std::unique(values_.begin(), values_.end(), HloValue::IdEqual), in SortAndUniquifyValues()
214 values_.end()); in SortAndUniquifyValues()
220 absl::StrJoin(values_, ", ", [](string* result, const HloValue* value) { in ToString()
229 union_set.values_.push_back(value); in AssignUnionOf()
241 auto it = std::lower_bound(values_.begin(), values_.end(), value, in AddValue()
243 if (it == values_.end() || (*it)->id() != value->id()) { in AddValue()
244 values_.insert(it, value); in AddValue()
Dhlo_buffer.h88 : id_(id), values_(values.begin(), values.end()) {} in HloBuffer()
94 const std::vector<const HloValue*>& values() const { return values_; } in values()
99 CHECK_EQ(values_.size(), 1); in GetUniqueValue()
100 return *values_[0]; in GetUniqueValue()
116 const std::vector<const HloValue*> values_; variable
Dhlo_buffer.cc40 DCHECK(values_ == other.values_); in operator ==()
47 for (const HloValue* value : values_) { in ComputePositions()
61 absl::StrJoin(values_, ", ", [](string* result, const HloValue* value) { in ToString()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp38 values_.clear(); in TearDown()
59 for (const auto& it : values_) { in GetValues()
66 std::map<uint32_t, uint32_t> values_; member in spvtools::opt::__anon6c6435070111::PropagatorTest
116 values_[lhs_id] = val; in TEST_F()
183 values_[instr->result_id()] = val; in TEST_F()
191 auto it = values_.find(phi_arg_id); in TEST_F()
192 if (it != values_.end()) { in TEST_F()
195 values_[instr->result_id()] = it->second; in TEST_F()
212 EXPECT_EQ(values_[phi_instr->result_id()], 4u); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dpropagator_test.cpp38 values_.clear(); in TearDown()
59 for (const auto& it : values_) { in GetValues()
66 std::map<uint32_t, uint32_t> values_; member in spvtools::opt::__anon01e52acd0111::PropagatorTest
116 values_[lhs_id] = val; in TEST_F()
183 values_[instr->result_id()] = val; in TEST_F()
191 auto it = values_.find(phi_arg_id); in TEST_F()
192 if (it != values_.end()) { in TEST_F()
195 values_[instr->result_id()] = it->second; in TEST_F()
212 EXPECT_EQ(values_[phi_instr->result_id()], 4u); in TEST_F()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/
Dexample.h35 values_.emplace_back(feature_idx, value); in Add()
38 void Clear() { values_.clear(); } in Clear()
40 void Reserve(const int32 size) { values_.reserve(size); } in Reserve()
44 std::find_if(values_.begin(), values_.end(),
49 if (value_iter == values_.end()) {
56 std::vector<std::pair<int32, T>> values_;
/external/drm_hwcomposer/
Ddrmproperty.cpp47 values_.push_back(p->values[i]); in Init()
77 if (values_.size() == 0) in value()
109 if (values_.size() < 1) in range_min()
112 return std::make_tuple(0, values_[0]); in range_min()
118 if (values_.size() < 2) in range_max()
121 return std::make_tuple(0, values_[1]); in range_max()
/external/tensorflow/tensorflow/core/kernels/
Dgpu_device_array.h51 values_ = data_.inline_values; in Init()
62 values_ = reinterpret_cast<ValueType*>( in Init()
68 DCHECK(values_); // ensure Init was called. in Set()
70 *(values_ + index) = val; in Set()
107 ValueType* values_ = nullptr; variable
Dinitializable_lookup_table.h170 : keys_(keys), values_(values), valid_(true), status_(Status::OK()) { in KeyValueTensorIterator()
172 if (!key_shape.IsSameSize(values_->shape())) { in KeyValueTensorIterator()
176 key_shape.DebugString(), " vs ", values_->shape().DebugString()); in KeyValueTensorIterator()
194 const Tensor& values() const override { return *values_; } in values()
206 const Tensor* values_; // Doesn't own it. variable
Dsparse_cross_op.cc56 : values_(values), in SparseTensorColumn()
71 const Tensor& values_; member in tensorflow::__anon9a95f3020111::SparseTensorColumn
80 if (DT_STRING == values_.dtype()) in Feature()
81 return Fingerprint64(values_.vec<string>().data()[start + n]); in Feature()
82 return values_.vec<int64>().data()[start + n]; in Feature()
89 if (DT_STRING == values_.dtype()) in Feature()
90 return values_.vec<string>().data()[start + n]; in Feature()
91 return std::to_string(values_.vec<int64>().data()[start + n]); in Feature()
98 return values_.vec<string>().data()[start + n]; in Feature()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs518 values_ = other.values_.Clone(); in ListValue()
529 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> values_ = new pb… field in Google.Protobuf.WellKnownTypes.ListValue
534 get { return values_; }
548 if(!values_.Equals(other.values_)) return false; in Equals()
554 hash ^= values_.GetHashCode(); in GetHashCode()
563 values_.WriteTo(output, _repeated_values_codec); in WriteTo()
568 size += values_.CalculateSize(_repeated_values_codec); in CalculateSize()
576 values_.Add(other.values_); in MergeFrom()
587 values_.AddEntriesFrom(input, _repeated_values_codec); in MergeFrom()
/external/tensorflow/tensorflow/compiler/jit/
Dcreate_xla_launch_op.cc44 : current_index_(0), values_(values) {} in SinglePassSearch()
52 while (current_index_ < values_->size() && in ScanForValue()
53 (*values_)[current_index_] <= value) { in ScanForValue()
54 if ((*values_)[current_index_] == value) { in ScanForValue()
65 const std::vector<int>* values_; member in tensorflow::__anonef1d8f220111::SinglePassSearch
/external/tensorflow/tensorflow/lite/kernels/
Dtopk_v2.cc91 values_ = values; in start_collecting()
123 const T* values_ = nullptr; member in tflite::ops::builtin::topk_v2::__anonb35a0bd70111::TopContainer
126 if (values_[b] < values_[a]) { in compare_fun()
128 } else if (values_[b] > values_[a]) { in compare_fun()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc2836 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2838 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2840 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2847 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2848 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2852 values_.infinity = Floating::Infinity(); in SetUp()
2855 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2858 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2860 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2866 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/libprotobuf-mutator/src/
Dmutator_test.cc237 values_.push_back(i); in ReducedTestMutator()
238 values_.push_back(-i); in ReducedTestMutator()
240 values_.push_back(-1.0); in ReducedTestMutator()
241 values_.push_back(0.0); in ReducedTestMutator()
242 values_.push_back(1.0); in ReducedTestMutator()
264 return values_[std::uniform_int_distribution<uint8_t>( in GetRandomValue()
265 0, values_.size() - 1)(*random())]; in GetRandomValue()
268 std::vector<float> values_; member in protobuf_mutator::ReducedTestMutator
/external/v8/src/ast/
Dcontext-slot-cache.cc30 Value result(values_[index]); in Lookup()
51 values_[index] = in Update()
74 Value result(values_[index]); in ValidateEntry()

123