Home
last modified time | relevance | path

Searched refs:values_ (Results 1 – 25 of 71) 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 …]
/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.cc78 values_.resize(max_num_nonzeros, 0.0); in CompressedRowSparseMatrix()
96 values_.resize(m.max_num_nonzeros(), 0.0); in CompressedRowSparseMatrix()
122 values_[i] = m.values()[idx]; in CompressedRowSparseMatrix()
141 values_.resize(num_rows); in CompressedRowSparseMatrix()
146 values_[i] = diagonal[i]; in CompressedRowSparseMatrix()
157 fill(values_.begin(), values_.end(), 0); in SetZero()
167 y[r] += values_[idx] * x[cols_[idx]]; in RightMultiply()
178 y[cols_[idx]] += values_[idx] * x[r]; in LeftMultiply()
188 x[cols_[idx]] += values_[idx] * values_[idx]; in SquaredColumnNorm()
196 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_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()
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
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()
136 vector<double> values_; variable
/external/chromium_org/tools/gn/
Dscope.cc56 RecordMap::iterator found = values_.find(ident); in GetValue()
57 if (found != values_.end()) { in GetValue()
73 RecordMap::iterator found = values_.find(ident); in GetValueForcedToCurrentScope()
74 if (found != values_.end()) in GetValueForcedToCurrentScope()
89 RecordMap::const_iterator found = values_.find(ident); in GetValue()
90 if (found != values_.end()) in GetValue()
100 Record& r = values_[ident]; // Clears any existing value. in SetValue()
123 RecordMap::iterator found = values_.find(ident); in MarkUsed()
124 if (found == values_.end()) { in MarkUsed()
132 RecordMap::iterator found = values_.find(ident); in MarkUnused()
[all …]
/external/v8/src/
Darguments.h94 values_[2] = self; in CustomArguments()
95 values_[1] = holder; in CustomArguments()
96 values_[0] = data; in CustomArguments()
101 for (size_t i = 0; i < ARRAY_SIZE(values_); i++) { in CustomArguments()
102 values_[i] = reinterpret_cast<Object*>(kZapValue); in CustomArguments()
108 Object** end() { return values_ + ARRAY_SIZE(values_) - 1; } in end()
110 Object* values_[3];
/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(kAccountsPrefShowUserNamesOnSignIn, true); in SetDefaults()
59 values_.SetValue(kAccountsPrefDeviceLocalAccounts, new base::ListValue); in SetDefaults()
/external/openfst/src/include/fst/
Dtuple-weight.h50 values_[i] = w.values_[i]; in TupleWeight()
56 values_[iter - begin] = *iter; in TupleWeight()
61 values_[i] = w; in TupleWeight()
85 values_[i].Read(strm); in Read()
91 values_[i].Write(strm); in Write()
97 values_[i] = w.values_[i];
104 member = member && values_[i].Member(); in Member()
111 hash = 5 * hash + values_[i].Hash(); in Hash()
118 w.values_[i] = values_[i].Quantize(delta);
125 w.values_[i] = values_[i].Reverse(); in Reverse()
[all …]
/external/chromium_org/chrome_frame/
Dregistry_list_preferences_holder.cc21 values_.push_back(string_list.Name()); in Init()
28 std::vector<string16>::const_iterator iter(values_.begin()); in ListMatches()
29 for (; iter != values_.end(); ++iter) { in ListMatches()
39 values_.push_back(string); in AddStringForTesting()
43 values_.clear(); in ResetForTesting()
/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()
59 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 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()
/external/chromium/chrome/browser/
Dpreferences_mock_mac.cc8 values_.reset(CFDictionaryCreateMutable(kCFAllocatorDefault, in MockPreferences()
27 Boolean found = CFDictionaryGetValueIfPresent(values_, in CopyAppValue()
44 CFDictionarySetValue(values_, key, value); in AddTestItem()
/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::__anon7f40cf3f0111::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/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.cc2560 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2562 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2564 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2571 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2572 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2576 values_.infinity = Floating::Infinity(); in SetUp()
2579 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2582 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2584 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2590 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc2722 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2724 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2726 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2733 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2734 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2738 values_.infinity = Floating::Infinity(); in SetUp()
2741 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2744 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2746 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2752 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]
/external/gtest/test/
Dgtest_unittest.cc2722 values_.close_to_positive_zero = Floating::ReinterpretBits( in SetUp()
2724 values_.close_to_negative_zero = -Floating::ReinterpretBits( in SetUp()
2726 values_.further_from_negative_zero = -Floating::ReinterpretBits( in SetUp()
2733 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps); in SetUp()
2734 values_.further_from_one = Floating::ReinterpretBits( in SetUp()
2738 values_.infinity = Floating::Infinity(); in SetUp()
2741 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()
2744 values_.close_to_infinity = Floating::ReinterpretBits( in SetUp()
2746 values_.further_from_infinity = Floating::ReinterpretBits( in SetUp()
2752 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask in SetUp()
[all …]

123