Home
last modified time | relevance | path

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

/system/update_engine/common/
Dfake_prefs.cc94 return values_.find(key) != values_.end(); in Exists()
98 if (values_.find(key) == values_.end()) in Delete()
100 values_.erase(std::string{key}); in Delete()
127 for (const auto& pr : values_) in GetSubKeys()
146 auto it = values_.find(key); in CheckKeyType()
147 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType()
156 values_[str_key].type = PrefConsts<T>::type; in SetValue()
157 values_[str_key].value.*(PrefConsts<T>::member) = std::move(value); in SetValue()
169 auto it = values_.find(key); in GetValue()
170 if (it == values_.end()) in GetValue()
Dprefs.cc336 auto it = values_.find(key); in GetKey()
337 if (it == values_.end()) in GetKey()
352 std::lower_bound(begin(values_), end(values_), ns, lower_comp); in GetSubKeys()
353 auto upper_it = std::upper_bound(lower_it, end(values_), ns, upper_comp); in GetSubKeys()
361 values_[std::string{key}] = value; in SetKey()
366 return values_.find(key) != values_.end(); in KeyExists()
370 auto it = values_.find(key); in DeleteKey()
371 if (it != values_.end()) in DeleteKey()
372 values_.erase(it); in DeleteKey()
Dfake_prefs.h112 std::map<std::string, PrefTypeValue, std::less<>> values_; variable
Dprefs.h194 std::map<std::string, std::string, std::less<>> values_;
/system/nfc/utils/
Dconfig.cc119 values_.emplace(key, value); in addConfig()
155 return values_.count(key) != 0; in hasKey()
159 auto search = values_.find(key); in getValue()
160 CHECK(search != values_.end()); in getValue()
176 bool ConfigFile::isEmpty() { return values_.empty(); } in isEmpty()
177 void ConfigFile::clear() { values_.clear(); } in clear()
/system/nfc/utils/include/
Dconfig.h62 std::map<std::string, ConfigValue> values_; variable
/system/tools/aidl/
Daidl_const_expressions.cpp704 value_strings.reserve(values_.size()); in ValueString()
707 for (const auto& value : values_) { in ValueString()
725 if (values_.size() != static_cast<size_t>(size)) { in ValueString()
727 << values_.size() << " elements"; in ValueString()
792 for (const auto& v : values_) is_valid_ &= v->CheckValid(); in CheckValid()
823 for (const auto& value : values_) { in evaluate()
1237 values_(std::move(*values)), in AidlConstantValue()
Daidl_language.h648 for (const auto& v : values_) {
708 for (const auto& v : values_) {
714 size_t Size() const { return values_.size(); }
715 const AidlConstantValue& ValueAt(size_t index) const { return *values_.at(index); }
732 const vector<unique_ptr<AidlConstantValue>> values_; // if type_ == ARRAY