Home
last modified time | relevance | path

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

123

/external/chromium_org/content/common/dom_storage/
Ddom_storage_map.cc39 return values_.size(); in Length()
43 if (index >= values_.size()) in Key()
58 DOMStorageValuesMap::const_iterator found = values_.find(key); in GetItem()
59 if (found == values_.end()) in GetItem()
67 DOMStorageValuesMap::const_iterator found = values_.find(key); in SetItem()
68 if (found == values_.end()) in SetItem()
83 values_[key] = base::NullableString16(value, false); in SetItem()
92 DOMStorageValuesMap::iterator found = values_.find(key); in RemoveItem()
93 if (found == values_.end()) in RemoveItem()
96 values_.erase(found); in RemoveItem()
[all …]
Ddom_storage_map.h39 void ExtractValues(DOMStorageValuesMap* map) const { *map = values_; } in ExtractValues()
55 DOMStorageValuesMap values_; variable
/external/ceres-solver/internal/ceres/
Dtriplet_sparse_matrix.cc51 values_(NULL) {} in TripletSparseMatrix()
64 values_(NULL) { in TripletSparseMatrix()
80 values_(NULL) { in TripletSparseMatrix()
120 new_values[i] = values_[i]; in Reserve()
125 values_.reset(new_values); in Reserve()
131 fill(values_.get(), values_.get() + max_num_nonzeros_, 0.0); in SetZero()
144 values_.reset(new double[max_num_nonzeros_]); in AllocateMemory()
151 values_[i] = orig.values_[i]; in CopyData()
157 y[rows_[i]] += values_[i]*x[cols_[i]]; in RightMultiply()
163 y[cols_[i]] += values_[i]*x[rows_[i]]; in LeftMultiply()
[all …]
Dcompressed_row_sparse_matrix.cc79 values_.resize(max_num_nonzeros, 0.0); in CompressedRowSparseMatrix()
97 values_.resize(m.max_num_nonzeros(), 0.0); in CompressedRowSparseMatrix()
123 values_[i] = m.values()[idx]; in CompressedRowSparseMatrix()
142 values_.resize(num_rows); in CompressedRowSparseMatrix()
147 values_[i] = diagonal[i]; in CompressedRowSparseMatrix()
158 fill(values_.begin(), values_.end(), 0); in SetZero()
168 y[r] += values_[idx] * x[cols_[idx]]; in RightMultiply()
179 y[cols_[idx]] += values_[idx] * x[r]; in LeftMultiply()
189 x[cols_[idx]] += values_[idx] * values_[idx]; in SquaredColumnNorm()
197 values_[idx] *= scale[cols_[idx]]; in ScaleColumns()
[all …]
Dblock_sparse_matrix.cc52 values_(NULL), in BlockSparseMatrix()
80 values_.reset(new double[num_nonzeros_]); in BlockSparseMatrix()
81 CHECK_NOTNULL(values_.get()); in BlockSparseMatrix()
85 fill(values_.get(), values_.get() + num_nonzeros_, 0.0); in SetZero()
101 values_.get() + cells[j].position, row_block_size, col_block_size, in RightMultiply()
121 values_.get() + cells[j].position, row_block_size, col_block_size, in LeftMultiply()
138 const MatrixRef m(values_.get() + cells[j].position, in SquaredColumnNorm()
155 MatrixRef m(values_.get() + cells[j].position, in ScaleColumns()
179 += MatrixRef(values_.get() + jac_pos, row_block_size, col_block_size); in ToDenseMatrix()
205 matrix->mutable_values()[jac_pos] = values_[jac_pos]; in ToTripletSparseMatrix()
[all …]
Dblock_random_access_dense_matrix.h83 const double* values() const { return values_.get(); } in values()
84 double* mutable_values() { return values_.get(); } in mutable_values()
89 scoped_array<double> values_; variable
Dblock_sparse_matrix.h81 virtual const double* values() const { return values_.get(); } in values()
82 virtual double* mutable_values() { return values_.get(); } in mutable_values()
92 scoped_array<double> values_; variable
Dblock_random_access_dense_matrix.cc51 values_.reset(new double[num_rows_ * num_rows_]); in BlockRandomAccessDenseMatrix()
55 cell_infos_[i].values = values_.get(); in BlockRandomAccessDenseMatrix()
83 VectorRef(values_.get(), num_rows_ * num_rows_).setZero(); in SetZero()
Dtriplet_sparse_matrix.h67 virtual const double* values() const { return values_.get(); } in values()
68 virtual double* mutable_values() { return values_.get(); } in mutable_values()
123 scoped_array<double> values_; variable
Dcompressed_row_sparse_matrix.h92 virtual const double* values() const { return &values_[0]; } in values()
93 virtual double* mutable_values() { return &values_[0]; } in mutable_values()
165 vector<double> values_; variable
/external/chromium_org/tools/gn/
Dscope.cc67 RecordMap::iterator found = values_.find(ident); in GetValue()
68 if (found != values_.end()) { in GetValue()
85 RecordMap::iterator found = values_.find(ident); in GetMutableValue()
86 if (found != values_.end()) { in GetMutableValue()
100 RecordMap::iterator found = values_.find(ident); in GetValueForcedToCurrentScope()
101 if (found != values_.end()) in GetValueForcedToCurrentScope()
116 RecordMap::const_iterator found = values_.find(ident); in GetValue()
117 if (found != values_.end()) in GetValue()
127 Record& r = values_[ident]; // Clears any existing value. in SetValue()
134 RecordMap::iterator found = values_.find(ident); in RemoveIdentifier()
[all …]
/external/chromium_org/chrome/browser/chromeos/settings/
Dstub_cros_settings_provider.cc34 if (values_.GetValue(path, &value)) in Get()
51 values_.SetValue(path, value.DeepCopy()); in DoSet()
56 values_.SetBoolean(kAccountsPrefAllowGuest, true); in SetDefaults()
57 values_.SetBoolean(kAccountsPrefAllowNewUser, true); in SetDefaults()
58 values_.SetBoolean(kAccountsPrefSupervisedUsersEnabled, true); in SetDefaults()
59 values_.SetBoolean(kAccountsPrefShowUserNamesOnSignIn, true); in SetDefaults()
60 values_.SetValue(kAccountsPrefDeviceLocalAccounts, new base::ListValue); in SetDefaults()
/external/chromium_org/remoting/host/
Din_memory_host_config.cc13 : values_(new base::DictionaryValue()) { in InMemoryHostConfig()
21 return values_->GetString(path, out_value); in GetString()
27 return values_->GetBoolean(path, out_value); in GetBoolean()
39 values_->SetString(path, in_value); in SetString()
44 values_->SetBoolean(path, in_value); in SetBoolean()
Djson_host_config.cc46 base::JSONWriter::Write(values_.get(), &data); in GetSerializedData()
60 values_.reset(dictionary); in SetSerializedData()
/external/chromium_org/components/policy/core/common/
Dregistry_dict_win.cc185 ValueMap::iterator entry = values_.find(name); in GetValue()
186 return entry != values_.end() ? entry->second : NULL; in GetValue()
190 ValueMap::const_iterator entry = values_.find(name); in GetValue()
191 return entry != values_.end() ? entry->second : NULL; in GetValue()
201 base::Value*& entry = values_[name]; in SetValue()
208 ValueMap::iterator entry = values_.find(name); in RemoveValue()
209 if (entry != values_.end()) { in RemoveValue()
211 values_.erase(entry); in RemoveValue()
217 STLDeleteValues(&values_); in ClearValues()
229 for (ValueMap::const_iterator entry(other.values_.begin()); in Merge()
[all …]
Dpreferences_mock_mac.cc8 values_.reset(CFDictionaryCreateMutable(kCFAllocatorDefault, in MockPreferences()
27 Boolean found = CFDictionaryGetValueIfPresent(values_, in CopyAppValue()
44 CFDictionarySetValue(values_, key, value); in AddTestItem()
Dregistry_dict_win.h80 const ValueMap& values() const { return values_; } in values()
84 ValueMap values_; variable
/external/chromium_org/sync/internal_api/public/base/
Dnode_ordinal_unittest.cc82 IndexedLessThan(const T* values) : values_(values) {} in IndexedLessThan()
85 return less_than_(values_[i1], values_[i2]); in operator ()()
89 const T* values_; member in syncer::__anon41755ab90111::IndexedLessThan
/external/chromium_org/ppapi/shared_impl/private/
Dppb_x509_certificate_private_shared.cc18 scoped_ptr<base::ListValue> new_values(fields.values_.DeepCopy()); in PPB_X509Certificate_Fields()
19 values_.Swap(new_values.get()); in PPB_X509Certificate_Fields()
26 bool success = values_.Set(index, value); in SetField()
34 bool success = values_.Get(index, &value); in GetFieldAsPPVar()
/external/gtest/test/
Dgtest_unittest.cc2691 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2693 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2695 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2702 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2703 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2707 values_.infinity = Floating::Infinity(); in SetUp()
2710 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2713 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2715 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2721 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/protobuf/gtest/test/
Dgtest_unittest.cc2973 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2975 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2977 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2984 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2985 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2989 values_.infinity = Floating::Infinity(); in SetUp()
2992 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2995 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2997 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
3003 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc2691 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2693 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2695 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2702 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2703 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2707 values_.infinity = Floating::Infinity(); in SetUp()
2710 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2713 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2715 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2721 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/chromium_org/chrome/installer/util/
Dregistry_key_backup.cc82 std::vector<ValueData> values_; member in RegistryKeyBackup::KeyData
222 values_.swap(values); in Initialize()
234 for (std::vector<ValueData>::const_iterator it = values_.begin(); in WriteTo()
235 it != values_.end(); ++it) { in WriteTo()
/external/chromium_org/v8/src/
Darguments.h117 v->VisitPointers(values_, values_ + kArrayLength); in IterateInstance()
120 inline Object** begin() { return values_; } in begin()
123 Object* values_[kArrayLength]; variable
/external/chromium_org/net/base/
Dnet_log_unittest.cc106 values_.push_back(dict); in OnAddEntry()
109 size_t GetNumValues() const { return values_.size(); } in GetNumValues()
110 base::DictionaryValue* GetValue(size_t index) const { return values_[index]; } in GetValue()
113 ScopedVector<base::DictionaryValue> values_; member in net::__anon8093ffca0111::LoggingObserver

123